Skip to main content

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
1 answer
80 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 ...
1 vote
0 answers
60 views

Real-time Polyphonic Pitch Shifting - Time vs Frequency Domain Methods

I've been researching pitch-shifting algorithms both in the time and frequency domains with the aim of implementing a real-time polyphonic pitch shifter with minimal artifacts and latency (the goal is ...
1 vote
1 answer
51 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 ...
2 votes
0 answers
69 views

A filter to remove f0 and lower harmonics from the signal

I'm studying the perception of vowel formants (resonances of the vocal tract) and need to create stimuli where the signal below the first (lowest) formant is removed. I have some synthesised vowels ...
3 votes
2 answers
192 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 ...
0 votes
0 answers
23 views

frame size and hop size mismatch with aubio pitch detection algo

I am writing a script that detects the pitch of a short file as part of a larger project. I want to detect using an external call to sox and using the crepe, aubio, and librosa libraries. Aubio is ...
0 votes
0 answers
87 views

Pitch shifting effects on formants

I am doing a project for uni where i try to change the precieved gender of an audio using dsp techniques on matlab i started with pitch and am trying to move to formants now but i am not sure i fully ...
1 vote
1 answer
86 views

How to get the original sample pitch knowing how the sample is interpolated at a given pitch?

I'm trying to "reverse engineering" a sample-based synth from the 90's (an Ensoniq SQ1, which uses a OTIS chip for the samples; if you're interested you can find the manual of both on the ...
0 votes
0 answers
14 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 ...
2 votes
1 answer
309 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
2k 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
209 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
0 answers
91 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
37 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
167 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
136 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
106 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
403 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
110 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
90 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
223 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
302 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
92 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
92 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
335 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
1k 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
171 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
93 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
597 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
395 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
2k 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
603 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
268 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
714 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
62 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
651 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
485 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
199 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
305 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
24 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
318 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
231 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
365 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
391 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
300 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 ...