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
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
13 votes
2 answers
12k views

Converting a pitch bend (MIDI) value to a "normal" pitch value

I am trying an offline LPC analysis and synthesis using the rt_lpc (real-time LPC) implementation as given here. There are some functions within the program that can be used for an offline LPC ...
Sriram's user avatar
  • 568
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
11 votes
2 answers
4k views

Real-Time Human Pitch Detection

I'm trying to implement a singing game that will analise raw mic input and tell the player how good is he singing. That needs to be done in real-time. I've come across a lot of threads asking the ...
Felipe Lira'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
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
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
9 votes
1 answer
1k views

Discrete Fourier transform - finding the fundamental quickly?

First, I appologize because I'm a software developper and it's been a very long time I didn't dive into pure mathematics, so my question might seem dumb. I hope not. The context is pitch recognition ...
Dinaiz's user avatar
  • 373
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
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
5 votes
3 answers
466 views

Extraction of non-sinusiodal repetition rates

I have an auto-correlation function that was generated from a signal, and I am trying to extract its 'repetition rate' in order to calculate the dominant frequency of the pulse, but I am not exactly ...
Spacey's user avatar
  • 9,667
5 votes
2 answers
403 views

What is the uHz-rotator algorithm?

According to this page, the Baudline software tool implements ...the uHz-rotator algorithm that operates in the complex domain to calculate an extremely accurate estimate of the frequency. ...
Davorin's user avatar
  • 153
5 votes
1 answer
2k views

The Bode frequency shifter

Anyone know if the Bode frequency shifter has been studied somewhere. I just used an audio plug-in called EchoBode from SonicCharge and this is claimed to use a frequency (pitch) shifting algorithm ...
mavavilj's user avatar
  • 1,404
5 votes
4 answers
15k views

Note Recognition Software

I'm wondering if anyone knows of any open source solutions to note recognition. I'm planning on building a program for online sheet music, which recognizes your notes, and tries to tell you what you ...
user avatar
5 votes
2 answers
411 views

Finding the pitch value of a note

I am trying to implement a karaoke scoring algorithm and, for a particular song, have the note information (done by a professional) that indicates what note occurs in which part of the lyric. When ...
Sriram's user avatar
  • 568
5 votes
2 answers
395 views

What *is* pitch-shift?

As I understand it, pitch-shifting (without changing speed) and time-scaling (without changing pitch) are two sides of the same coin, because if we can do one we can get the other through resampling ...
orlp's user avatar
  • 151
5 votes
1 answer
2k views

Improving an auto-correlation based guitar pitch detector

I've seen many questions on this forum regarding pitch detection for musical instruments (commonly guitar), and spent a while reading through the answers to create a basic implementation of auto-...
Sevag's user avatar
  • 105
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
5 votes
2 answers
516 views

how can I calculate pitch deviation in a large collection of audio files?

I am making a software model of an existing digital synthesiser and I have made audio recordings of single notes with particular parameter settings. I made a program in C++ which sends a MIDI sysex ...
olilarkin's user avatar
  • 151
4 votes
3 answers
2k views

Are there libraries for extraction of sound wave features?

I am looking help for my project for which I need C++ (or any other language) libraries useful for extraction of sound wave features like frequency, loudness, pitch and orientation. Using these ...
Ahtisham Tahir's user avatar
4 votes
2 answers
931 views

differences in fundamental frequency/pitch between music and speech

I am developping a program, that extracts very expressive frames from a video (meaning: frames, which could summarize a video) for a university seminar. One of my ideas was, to analyze the audio data (...
Anita's user avatar
  • 41
4 votes
2 answers
4k views

Finding pitch from a wideband spectrogram

We can use the narrowband spectrogram for finding the pitch of an utterance. But is it possible to find the pitch using the wideband spectrogram? If so, how would that be done?
Sriram's user avatar
  • 568
4 votes
3 answers
2k views

Is PSOLA or WSOLA better for vocal stretching/retuning?

I'm looking to implement a time-domain pitch modification algorithm such as PSOLA (Pitch Synchronous Overlap and Add) or WSOLA (Waveform Similarity Overlap and Add). At the moment I'm using PSOLA, but ...
MysteryPancake's user avatar
4 votes
3 answers
8k views

Calculating the fundamental frequency using Autocorrelation often gives half the expected value

I'm currently writing a mobile app which needs to analyse musical notes and find the fundamental frequency to determine the pitch. To do this I'm reading in audio data, taking an FFT, taking the auto-...
PyroPez's user avatar
  • 67
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
4 votes
1 answer
263 views

Audio Processing - How to create a spectral pitch display?

I want to create an application that analyzes human voice pitch, but spectrograms are very noisy. However, in Adobe Audition, there is a feature called the spectral pitch display, and it successfully ...
Hykilpikonna's user avatar
4 votes
2 answers
2k views

Thoretically, what makes multi-pitch detection so difficult?

For multi-pitch detection, I mean for example pressing several piano keys at the same time. For signal pitch detection (pressing one key at a time), after FFT, mostly the frequency with the largest ...
new_comer_forever's user avatar
3 votes
3 answers
2k 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 ...
pavlos163's user avatar
  • 213
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
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
3 votes
2 answers
1k views

What is a "pitch period"?

The term pitch period appears in the book Speech and Language Processing by Daniel Jurafsy: As we just said, a pitch-synchronous algorithm is one in which we do something at each pitch period or ...
benjaminchanming's user avatar
3 votes
2 answers
191 views

Two generated tones creates a side tone - how to avoid the side tone

I'm trying to create two tones at different frequencies. So I have one tone at 15000 Hz and one at 15400 Hz using Audacity. The problem i'm running into is there is a third tone created at a much ...
user2610470's user avatar
3 votes
3 answers
240 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
2 answers
99 views

Comparing realtime guitar sound input to a .wav file

I am currently working on a guitar training progam that compares guitar input from a guitar to a song as you play, to give a score of how well you're playing. The reference song is converted from MIDI ...
xmi's user avatar
  • 31
3 votes
3 answers
241 views

pitch detection: which is the most robust way to distinguish voiced from unvoiced audio

I am trying to write a voice/whistle driven synth but I am struggling with pitch detection. As a premise I must say I am quite skilled and experienced at dsp coding plus I have pretty read almost ...
elena's user avatar
  • 331
3 votes
1 answer
1k views

Problem using pitch shifting with TD-PSOLA and formant preservation

I tried out this implementation of TD-PSOLA (https://github.com/sannawag/TD-PSOLA) and even though I know how the algorithm works, I can't understand why I get NO audible differences in the output ...
Rama Feichu's user avatar
3 votes
1 answer
2k views

pitch vs playback rate

Let's say I have an audio sample, whose pitch is known to be C4 (don't wanna go in detail here, let's say I just sampled a tuned piano playing the C4 key). The rules of the game are: I can only ...
janesconference's user avatar
3 votes
1 answer
76 views

Analysis of PSOLA

I'm reading the original paper on PSOLA (Pitch-Synchronous Overlap-Add), and am struggling with equation (2), in which the authors analysed the effect of a simple pitch-and-time-scale modification on ...
Tim Mak's user avatar
  • 225
3 votes
2 answers
1k views

Implementing a pitch shifter

I am trying to implement a pitch shifter similar to this one, in MATLAB for quick prototyping. My goal is to do the reverse, but I assume it is similar. The implementation details are missing. So I am ...
Andrew Au's user avatar
  • 141
3 votes
3 answers
357 views

How can I convert audio to a series of notes using pitch detection?

I have a good pitch detection system set up, and I would like to return a series of notes given an array of audio samples. My current approach is as follows: I have a moving window across the audio ...
nagasgura's user avatar
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
2 answers
1k views

How does Songify work?

Does anyone know how does the "Songify" app algorithm work? There are 2 inputs: speech (or amateur singing), and underlying music. Somehow the speech is altered and mixed into the music. Which DSP ...
Danijel's user avatar
  • 492
3 votes
2 answers
540 views

How to prevent Octave Jumping in ACF of Speech Signal?

I'm working with speech signals and my aim is to estimate the fundamental frequency $\ F_0$ of this signal often called as "pitch". The main idea is taking small blocks of the speech signal such ...
kubicwerke's user avatar
3 votes
3 answers
643 views

Why is pitch detection necessary in pitch correction?

I am trying to understand the process of changing the pitch of a signal. After performing the FFT on a windowed signal, we have the frequency information for the signal. Why can we not simply change ...
clairecc's user avatar
3 votes
0 answers
339 views

How timbre shifting is done?

I've recently came across two programs - Morphvox, VCSdiamond that are able to preform pitch shift, but also timbre shift. As far as I know the timbre is nothing but the amplitude of the harmonics in ...
Dannynis's user avatar
3 votes
2 answers
170 views

How to determine if certain notes exist within polyphonic music?

Given a segment of audio, if you were to calculate the histogram of frequency amplitudes for all standard musical note frequencies present in the audio, how would you check to see if 2-3 specific ...
Cerin's user avatar
  • 598
2 votes
2 answers
1k views

do digital equalizers use Fourier transforms?

I’ve been reading up on approaches to pitch shifting, and have found some common approaches use fourier transforms to achieve a change of pitch. I’m curious, is fourier transform technology used in ...
Bruce Simonson's user avatar
2 votes
3 answers
143 views

Binary classifier for a small range of the audio spectrum

I am trying to detect a pitch in a narrow range of the audio spectrum with minimal samples. This corresponds to the rattling of certain mechanical systems. For example, the hum of an engine. To do ...
Mikhail's user avatar
  • 528
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