Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [pitch]

Pitch of an audio signal representing a musical note, measured in units of octave and relative to a pitch standard such as A440, is the base-2 logarithm of the frequency ratio of the fundamental frequency of the note to the frequency of the pitch standard.

9
votes
2answers
2k views

How to deal with low fundamental when using AMDF for pitch extraction?

I am using the Average Magnitude Difference Function to estimate the fundamental frequency of a quasi-periodic audio signal. The AMDF is defined as $$ D_n = \frac{1}{N-n}\sum_{k=n}^{N-1}|S_k - S_{k-n}...
9
votes
1answer
2k views

What is an AMDF?

The wikipedia page for Average Magnitude Difference Function/Formula (AMDF) appears to be empty. What is an AMDF? What are AMDF's properties? What are AMDF's strengths and weaknesses, as compared ...
1
vote
3answers
6k views

Polyphonic detection/Mulit-pitch detection/Chord recognition

I build application witch will be transform piano sound to musical notes. I found some pitch detection algorithms with implementations (mainly based on autocorrelation or fft), but chord recognition, ...
8
votes
2answers
1k views

Fast pitch recognition

I need to detect pitch (measure signal frequency) while the musicians play music, giving a warning if they are out of tune, but music happens to be a bit too fast for FFT (Fast Fourier Transform). ...
8
votes
5answers
3k views

Piano pitch detection

I'm working on a piano tuning program and part of it requires real-time pitch detection. Here is the scheme I have so far which works to some degree but could probably use some refinement. I'm ...
1
vote
2answers
2k views

What is the difference between pitch detection and Onset detection?

According to wikipedia Onset detection: Onset refers to the beginning of a musical note or other sound, in which the amplitude rises from zero to an initial peak. It is related to (but ...
6
votes
3answers
3k views

How to change speed of audio samples without changing pitch? [duplicate]

This question may be more appropriate on music stack exchange but since sound is a branch of physics and this is more of a technical question relating to sound waves than a musical question I asked it ...
0
votes
1answer
225 views

Quantifying the energy of a voiced frame

What should the energy, pitch frequency, and zero crossing rate of a voice/unvoiced/silence frame in signal be? My professor said that it is experimental, but I do not have any idea what the factors ...
0
votes
2answers
106 views

Pitch detection of two following music notes (C0 and C0#)

Hi signal processing community, currently I am working on a pitch detection tool which should work on audio input files (or later also instrumental or voice from microphone) to say which music note ...
11
votes
4answers
12k views

Can you increase frequency resolution of FFT without increasing window size?

I'd like to use STFT for multipitch analysis. I realise detecting the partials existing in the signal is just the beginning. Still I have problem with it. Let's say I have signal sampled with 'CD' ...
10
votes
2answers
4k views

Harmonic Product Spectrum limitations in pitch detection

I've made a pitch detection algorithm using HPS and I'm facing a problem. I'm a beginner with signal processing and this site helped me before, so I though I should ask. For higher pitches ( ...
3
votes
5answers
2k views

Pitch Detection: avoiding frequency doubling / halving

I am working on a tuning app. I have so far tried 3 different libraries with a number of different algorithms. However, when I compare to other tuner apps, I seem to be getting frequency doubling on ...
5
votes
1answer
5k views

YIN Pitch detection Algortithm ( how do I improve my results )

I am using YIN algorithm in a school project of mine which uses pitch detection on guitar sound. I when I play a note I get random frequencies at the beginning until they stabilize. I am thinking ...
1
vote
3answers
956 views

How to add pitch-shifted version of signal to itself?

I want to write an algorithm to add pitch-shifted version of audio signal to itself (like Electro-Harmonix POG does). And I need to do it in realtime. How to implement it? My guess is: break signal ...
3
votes
1answer
689 views

What is the difference between PSOLA and TDHS time-scaling or pitch-shifting?

What is the difference (if any) between PSOLA (Pitch Synchronous Overlap and Add) and TDHS (time domain harmonic scaling) time-pitch modification algorithms?
2
votes
3answers
811 views

Guitar pitch detection with autocorrelation

This link provides code for an autocorrelation-based pitch detection algorithm but says: Cons: Not as accurate, doesn't work for inharmonic things like musical instruments, this implementation has ...
1
vote
3answers
622 views

Synthesizing harmonic tones with Karplus Strong

I'm building my own MIDI synth. I have to create a decent sounding tone for every note on the piano keyboard (A-1 through C7, or MIDI 21 through 21+88=109) I've been using a basic ring resonator, ...
0
votes
1answer
655 views

Guitar pitch detection [duplicate]

I try to develop a guitar game in android platform. And I need to do the real-time pitch detection of guitar chord. I will get the input from the microphone, and then analyze the input (the input ...
0
votes
2answers
257 views

In Search of Voice Activity Detection Algorithms - What happens to the frequency or pitch or speech features as speaker moves away from microphone

Actually i am in search of a Voice Activity Detection Algorithm which could distinguish between voice and non-voice Roughly speaking it must not detect even a bullet sound,even a foot stepping and ...