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
20 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 ...
Rich Rath's user avatar
0 votes
0 answers
43 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 ...
3izmanique's user avatar
1 vote
1 answer
72 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 ...
Parduz's user avatar
  • 111
0 votes
0 answers
11 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 ...
mavavilj's user avatar
  • 1,414
1 vote
1 answer
45 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 ...
bazz's user avatar
  • 154
2 votes
1 answer
245 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 :(...
ONamaeWa's user avatar
2 votes
0 answers
161 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 ...
Sanju Reddy's user avatar
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
0 votes
0 answers
83 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
36 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
123 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
100 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
92 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
316 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
  • 113
3 votes
2 answers
103 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
80 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
176 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
256 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
85 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
79 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
280 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
151 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,900
0 votes
1 answer
65 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,414
5 votes
2 answers
430 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
303 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
212 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,133
2 votes
3 answers
336 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
359 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
284 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
262 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
90 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
175 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
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 ...
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
620 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
176 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
  • 618
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
103 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
149 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
59 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
169 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
257 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,900
0 votes
1 answer
291 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
246 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
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: ...
cdummie's user avatar
  • 197
0 votes
1 answer
369 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