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
57 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 ...
coldmind's user avatar
  • 101
1 vote
0 answers
25 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 ...
Emmett Palaima's user avatar
0 votes
0 answers
50 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 ...
Emmett Palaima's user avatar
0 votes
1 answer
51 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: ...
Baz's user avatar
  • 275
0 votes
0 answers
66 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-...
Gabriel Golfetti's user avatar
1 vote
2 answers
201 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 ...
Isaac's user avatar
  • 111
3 votes
2 answers
88 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
0 votes
0 answers
54 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 ...
Caleb Allen's user avatar
1 vote
1 answer
141 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 ...
ard's user avatar
  • 11
1 vote
2 answers
180 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 ...
Mellow's user avatar
  • 111
3 votes
1 answer
68 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
1 vote
0 answers
62 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 ...
BigChungus443's user avatar
0 votes
1 answer
185 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&...
BigChungus443's user avatar
1 vote
1 answer
75 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?
DSP_CS's user avatar
  • 1,790
0 votes
1 answer
49 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 ...
mavavilj's user avatar
  • 1,394
5 votes
2 answers
312 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
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 ...
Tobi's user avatar
  • 109
1 vote
0 answers
249 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 ...
Jackson Kaplan's user avatar
2 votes
0 answers
186 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/...
panthyon's user avatar
  • 1,123
2 votes
3 answers
281 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 ...
Cleonis's user avatar
  • 121
3 votes
0 answers
316 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
4 votes
1 answer
238 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
0 votes
1 answer
212 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 ...
Tariq's user avatar
  • 11
1 vote
1 answer
84 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 ...
makkarpov's user avatar
  • 111
0 votes
3 answers
158 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 ...
HyperToken's user avatar
0 votes
1 answer
98 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 ...
Ayush Goel's user avatar
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
0 votes
1 answer
513 views

Resampling pitch shifter

I’m trying to build a very basic resampling pitch shifter which reads samples from disk. I only want to change -+6 semitones without keeping the original sample length. I already have all the classes ...
David912's user avatar
  • 103
3 votes
2 answers
160 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
0 votes
0 answers
2k views

Python: How to generate log-frequency spectrogram from an audio?

I want to make a log-frequency spectrogram out of this audio. Later, I need this spectrogram for pitch sequence analysis. This is a sample sequence I want to achieve: ...
Dionisius Pratama's user avatar
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
1 vote
1 answer
99 views

Produce musical signal from instantaneous frequency

I'm implementing the Yin Algorithm in Python so as to extract the pitch of my voice when whistling or humming. My goal is to produce the Gate (Envelop Control) and CV (Pitch Control) signals which can ...
Baz's user avatar
  • 275
2 votes
3 answers
145 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....
Baz's user avatar
  • 275
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
0 votes
1 answer
56 views

Why does toning up a piano make it sound similar to that a string instrument

I have a .wav file of a piano being played at 220 hertz. When I tone this up to 880 hertz, it begins to sound "stringy". However, if I were to use the piano plugin in fl studio and play it ...
D.Ye's user avatar
  • 3
1 vote
0 answers
49 views

Pitch correction using Fast Foruier Transform [duplicate]

I am very new to digital signal processing and I have a project about audio programming. For the project, I wanted to try to make an Auto-tune like effect. I started by experimenting on the signal ...
Gorkem Yesiltas's user avatar
0 votes
1 answer
147 views

How to difference a loud sound (playing notes), from a soft noise in spectrum. (Pitch detection with bass)

I'm trying a program that outputs the bass line that you are playing. I have some arrays from a big one with the sound in time domain, that are splited (Hann window). Later, I do the FFT, then I get ...
Meliodas's user avatar
3 votes
3 answers
202 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,790
0 votes
1 answer
261 views

The Zero-Crossing rate threshold for a voiced/unvoiced decision

I've implemented a function that calculates the zero-crossing rate for a given signal. I've used this same function to calculate the pitch. To differentiate voiced signals from unvoiced with reference ...
Anass Naqqad's user avatar
3 votes
3 answers
218 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
1 vote
2 answers
938 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: ...
cdummie's user avatar
  • 197
0 votes
1 answer
318 views

Pitch Detection in the Browser

Does anybody know a good library that does pitch detection in the browser? Anything in Javascript or Webassembly would suffice. My target is mainly singing voices. I already tried pitchfinder, but for ...
Teresa Siegmantel's user avatar
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 ...
Stijn Frishert's user avatar
2 votes
1 answer
971 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
1 vote
0 answers
219 views

How to find the Pitch of a utterance using narrowband spectrogram

Can anyone tell me how to find the pitch of an utterance from it's narrow band spectrogram? I am pretty new to the speech processing domain so any help is appreciated. P.S. I need methods to estimate ...
Sounak Ray's user avatar
-1 votes
3 answers
188 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 ...
user avatar
2 votes
2 answers
706 views

Understanding Pitch Detection with Autocorrelation Methods

I've been reading through A Smarter Way to Find Pitch, describing its pitch detection algorithm using autocorrelation. I've been having trouble understanding the accuracy claims. It says: MPM runs ...
Joel Tecson's user avatar
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
3 answers
350 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