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
0 votes
0 answers
6 views

Which other non-trained pitch detection algorithm is similar to PYIN in accuracy?

Which other non-trained pitch detection algorithm is similar to PYIN in accuracy? PYIN worked great for me, but all the code is GPL licenced or unavailable, so I am looking for an alternative? Trained ...
1 vote
1 answer
44 views

Is pitch detection precision dynamic across pitch range?

Please verify my understanding that pitch detection precision is dynamic across a pitch range, whereas relatively higher pitches can be measured to increasingly higher precision, and vice versa. Based ...
3 votes
2 answers
169 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 ...
2 votes
1 answer
201 views

Change pitch of voice

I am programming a voice changer (in c++). I need only to change the pitch of the voice. Unfortunately, I absolutely lack theoretical knowledge and hence I could not find information on the Internet :(...
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 ...
2 votes
0 answers
106 views

Detecting the piano notes using python

I am trying to build a small application that is very similar to simply piano, where I am trying to detect the piano notes, my program will be listening and when a key gets pressed it will estimate ...
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 ...
0 votes
1 answer
53 views

Deciphering the (pre-Viterbi) HMM in Probabilistic YIN (pYIN)?

I'm having slight difficulties in inferring all the details of the HMM part in Probabilistic YIN (http://eecs.qmul.ac.uk/~simond/pub/2014/MauchDixon-PYIN-ICASSP2014.pdf) in order to understand the ...
0 votes
0 answers
75 views

Real time variable speed audio playback with interpolation

I'm trying to correctly implement the real-time variable speed playback of my buffer, to achieve the pitch shifting. I don't need to stretch to preserve the original length. Buffer is calculated with ...
1 vote
0 answers
32 views

Loss of Resolution When Shifting Up With FFT / Phase Vocoder Pitch Shifter (Compared to Shifting Down)

I am working on a project writing a realtime FFT / phase vocoder based pitch shifting algorithm in C++. In development, I notice that shifting down has much better audible pitch tracking and ...
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, ...
0 votes
0 answers
92 views

Phase Vocoder Pitch Shift Phase Artifacts (Embedded C++)

I'm working on a phase vocoder pitch shifter running in C++ on an embedded microcontroller platform. I've successfully written the phase vocoder using the optimized FFT library, and it appears to be ...
0 votes
1 answer
74 views

Pitch tracking and phase

I wish to control a simple pitch tracker using my voice. So far I have experimented with fft and yin. I am extracting the frequency and amplitude in real time. I then feed these into: ...
0 votes
0 answers
78 views

Help with real-time TD-PSOLA - sounds very very bad

So I have a pretty robust and fast pitch tracker I've been working on based on this thesis. I want to use it for real-time pitch shifting. However, one of the simplest algorithms for formant-...
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). ...
1 vote
2 answers
257 views

Algorithms for real time multi-pitch guitar detection

I've been looking for info on this topic for a while and I came across several algorithms that may be suitable for this purpose. Specifically I'm interested in getting a frequency representation like ...
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 ...
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 ...
0 votes
0 answers
71 views

Phase vocoder has crackling artifact

I built a phase vocoder in JavaScript based on this paper. It works great, except for a crackling artifact that is present in the rebuilt signal. I recorded this clip if you want to hear what it ...
1 vote
1 answer
162 views

How is the Goertzel algorithm useful when it lacks information about relative magnitudes?

I am trying to understand how the Goertzel algorithm can be useful. I know it provides efficient evaluation of individual terms of a DFT, and I read that it can be used for pitch detection by ...
1 vote
2 answers
224 views

Why is pitch detection an ongoing research field if it's solved by mel spectograms?

I'm relatively new to DSP so excuse my ignorance but I was hoping to have an audio related question I had answered. If we're able to decompose audio into frequencies (e.g. mel spectogram) why is there ...
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 ...
1 vote
0 answers
71 views

Pitch successfully changes with Phase Vocoder, but there's an issue

I've been working on a phase vocoder program. The goal is to change the pitch of a recording of my voice. While doing research on how to change pitch, I came across this from a paper on phase vocoders ...
0 votes
1 answer
238 views

How to change fundamental frequency with DFT?

I'm working on a voice changer. My plan is to make it so that it can change your voice in various different ways, but right now I'm just trying to make it change your voice to "chipmunk voice&...
1 vote
2 answers
984 views

Pitch detection using Cepstrum in matlab

I am trying to detect the pitch of a given sound signal, so for that purpose, I wanted to find the Cepstrum of a that signal. This is my code in MATLAB: ...
1 vote
1 answer
125 views

Relation of pitch to frequency?only with fundamental frequency or also with harmonics?

How is pitch related to frequency.? If there is a pitch for a fundamental frequency, will that pitch be same for harmonics?
1 vote
1 answer
86 views

What is the "chirped response FIR filter"?

In Pitch synchronous split-band LPC (PS-SBLPC) vocoder the authors describe an algorithm to identify pitch cycle boundaries. In "Pitch cycle detection" section, this sentence describes ...
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 ...
0 votes
1 answer
392 views

Pitch detection algorithms "give up" after very little

I'm sorry if pitch detection has become a stale topic here, but I'm really interested if anyone has any advice on this topic. I'm looking for the best pitch detection algorithm for stringed ...
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. - ...
2 votes
1 answer
559 views

What are F0 counters in Speech signals? What is represented by F0?

I can't find any dedicated definition for Frequency F0 counters. Can anyone tell me what does F0 exactly mean, I am confused about that.
-1 votes
2 answers
267 views

What Is the Meaning of the Term "Frequency Response'' When We Design a Pitch Detector

This is from Klapuri 2003. What is the "frequency response" and why do we model is as multiplied with the vibrating system we want to get the frequency from?
2 votes
1 answer
2k views

Are there any signal processing libraries that implement TD-PSOLA?

For such a popular and old algorithm, I've had surprisingly little luck finding implementations. I've got it working in MATLAB, but am curious if any other languages have libraries containing it (...
0 votes
1 answer
655 views

Half of fundamental frequency in Fourier transform

I understand why there are peaks in integer multiples of the fundamental in the Fourier transform. But why is there often a peak in half the fundamental? I am testing for the guitar specifically. I ...
2 votes
1 answer
59 views

Implementation of CUSUM to segment stable parts in a pitch contour

I've got the pitch contour of a person singing several different frequencies after each other (octave errors cleaned up). I'd like to segment the stable parts from the transitionary ones (gliding up ...
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 ...
5 votes
2 answers
391 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 ...
-1 votes
3 answers
192 views

How to compute key of a song?

I'm looking for a precise way to compute the key of a song. BPM would be cool too. Analog is ok. I tried to approach it from the DFT angle, but got stuck and can't really put a finger on what's the ...
0 votes
1 answer
237 views

Periodic signal detection algorithms?

I am currently working on pulsar signal periodicity detection. Most of the literature which i studied used traditional FFT (Fast Fourier Transform) or (Epoch Folding) techniques to find the ...
0 votes
0 answers
23 views

What's the state of the art way to detect / change audio pitch? [duplicate]

Detecting pitch: It seems that selecting the modal frequency in the frequency spectrum is too simple an algorithm for reliable results. For detecting, and changing, the pitch of a note, what are the ...
1 vote
0 answers
284 views

Confusion regarding STFT phase vocoder-based pitch shifting

I'm currently working on a phase vocoder implementation based on the Short-Time Fourier Transform; it's heavily based on the models described here and here. I have successfully completed the analysis ...
2 votes
0 answers
196 views

Introducing Feedback to Miller Puckette's Time-Domain Pitch Shifting Algorithm without Discontinuities

I've implemented Miller Puckette's time-domain pitch shifting algorithm (http://msp.ucsd.edu/techniques/v0.11/book-html/node125.html) in PureData's help files in C++ (my code here: https://github.com/...
2 votes
3 answers
324 views

Software implementation of pitch correction

I have a question about the physics of pitch correction of sound. My background is physics, I'm mostly active on physics.stackexchange. (Check out my profile.) The background of my question: Before ...
3 votes
0 answers
337 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 ...
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 ...
2 votes
3 answers
146 views

Obtain Envelope and Pitch curves of my Singing Voice

I wish, in real time, to hum into a mic and produce via dsp the envelope and pitch of what I am humming, before outputting these two signals to my analog synth. This synth takes a gate and a cv signal....
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 ...
0 votes
3 answers
169 views

Why, for a musical instrument, the first harmonic has more power than the fundamental and last longer?

In analyzing the audio recording of a string instrument, I am struggling with pitch estimation. I am using the pYIN algorithm and every pitch estimation I'm obtaining is off by one octave. I assume ...
0 votes
1 answer
102 views

FFT behaving weirdly for frequencies below 100Hz

I've written a simple program to take an audio file, and calculate the most prominent frequency for every 0.1s interval. My audio file has a sampling rate of 48000, and am taking datapoint windows of ...
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 ...