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.

Filter by
Sorted by
Tagged with
13 votes
2 answers
5k 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}...
firion's user avatar
  • 299
13 votes
1 answer
5k 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 ...
hotpaw2's user avatar
  • 35.2k
9 votes
2 answers
2k 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). ...
18446744073709551615's user avatar
5 votes
5 answers
9k 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, ...
rbrisuda's user avatar
  • 171
3 votes
3 answers
2k views

Resampling and removing high frequency noise?

I am currently working on a simple sampler that will allow me to load in a wav file and use my MIDI keyboard to play the loaded wav sample at the frequency according to the note played. Now I need ...
djex's user avatar
  • 51
2 votes
2 answers
4k 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 ...
concept3d's user avatar
  • 125
0 votes
2 answers
551 views

pitch extraction for speech

I am building an LPC analysis tool, and am at the point of needing to do pitch period analysis. I was initially interested in using the Gold & Rabiner algorithm for this, and got a hold of a ...
patrick's user avatar
  • 53
9 votes
5 answers
4k 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 ...
DrTodd13's user avatar
6 votes
3 answers
10k 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 ...
Murey Tasroc's user avatar
4 votes
1 answer
1k 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?
hotpaw2's user avatar
  • 35.2k
1 vote
2 answers
441 views

What's a simple way to shift the pitch?

Basically I want to perform an FFT to find the frequencies of the sound, then stretch the frequencies (for example a stretch by 2 means copy the value of the fourier coefficient X(n) to X(n/2) then ...
user7439's user avatar
0 votes
2 answers
755 views

Best method to do piano key pitch detection?

For example, when playing piano, at the same time, print out the key notes by analyzing the signal of piano sound. How to do some pre-processing to remove the noise? When calculate with FFT, noise ...
new_comer_forever's user avatar
0 votes
1 answer
297 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 ...
drizzle's user avatar
  • 13
0 votes
2 answers
283 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 ...
MusicMagician's user avatar
14 votes
4 answers
17k 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' ...
nuoritoveri's user avatar
10 votes
2 answers
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 ( ...
Rad'Val's user avatar
  • 443
8 votes
1 answer
6k 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 ...
Ajit's user avatar
  • 183
3 votes
3 answers
239 views

What is difference between frequency and pitch?in nutshell and simple words?

Although both are some how directly related Such that when one increases,the other one also increases I have read different Google results but couldn't understand . I want to know what is exact ...
DSP_CS's user avatar
  • 1,850
3 votes
1 answer
1k views

Pitch detection, YIN, pYIN

So here is the "seminal" YIN paper: Cheveigne A, Kawahara H. - YIN, a fundamental frequency estimator for speech and music and the new, improved probabilistic YIN: Mauch M, Dixon S. - ...
robert bristow-johnson's user avatar
3 votes
5 answers
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 ...
Adamski's user avatar
  • 133
1 vote
3 answers
860 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, ...
P i's user avatar
  • 1,319
1 vote
3 answers
1k 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 ...
serge1peshcoff's user avatar
1 vote
1 answer
1k views

how to create a harmonic mask from fundamental frequency?

Using an algorithm that gives the fundamental frequency across time, example https://www.mathworks.com/help/audio/ref/pitch.html (or some other one?) how would I then use that, to create a harmonic ...
Dan's user avatar
  • 70
1 vote
1 answer
4k views

YIN pitch estimation algoritm-simplified explanation [closed]

can someone please explain the steps of YIN pitch detection algorithm in a simple way "especially the last 3 steps". here is the research paper of YIN algorithm http://audition.ens.fr/adc/pdf/...
KamelK's user avatar
  • 21
0 votes
2 answers
280 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 ...
kakeh's user avatar
  • 365