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.
152
questions
2
votes
2answers
81 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 ...
0
votes
0answers
36 views
Establish instantaneous amplitude of signal
I'm using the YIN algorithm to establish the pitch of my humming / whistling voice.
This is a time domain algorithm and gives me the instantaneous frequency as a function of time ($f(t)$). I now wish ...
1
vote
1answer
73 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 ...
1
vote
2answers
55 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....
1
vote
2answers
109 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
1answer
38 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 ...
1
vote
0answers
45 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 ...
0
votes
1answer
56 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 ...
2
votes
3answers
100 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 ...
0
votes
1answer
66 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 ...
3
votes
3answers
127 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 ...
1
vote
1answer
271 views
Pitch detection using Cepstrum in matlab
What i am trying to do is to detect the pitch of a given sound signal, so for that purpose, i wanted to find cepstrum of a given signal.
This is my code in MATLAB:
...
0
votes
1answer
98 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 ...
1
vote
0answers
25 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 ...
2
votes
1answer
322 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 ...
1
vote
0answers
71 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 ...
0
votes
1answer
102 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 ...
2
votes
2answers
297 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 ...
2
votes
3answers
664 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 ...
2
votes
3answers
201 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 ...
2
votes
0answers
420 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. - PYIN: A ...
0
votes
2answers
82 views
Technique to detect pitch after analysing only one pitch period?
does anyone know if there is a technic to estimate the pitch of a given signal by analysing only one pitch period.
I'm asking because I read about a program called AudioMotors.
https://lesound.io/...
0
votes
1answer
423 views
Note detection in an audio file.
I am trying to find the given note in an audio file. It has been specifically told that each file contains only one note. So i directly took fft and found the corresponding frequency and then mapped ...
1
vote
1answer
720 views
how to create a harmonic mask from fundamental frequency?
Using an algorithm that gives the fundamental frequency across time, example https://www.mathworks.com/help/audio/ref/pitch.html (or some other one?)
how would I then use that, to create a harmonic ...
-1
votes
1answer
147 views
Pitch Calculation Error via Autocorrelation Method
Aim : Pitch Calculation
Issue : The calculated pitch does not match the expected one. For instance, the output is approx. 'D3', however the expected output is 'C5'.
Source Sound : https://...
0
votes
1answer
2k views
YIN pitch estimation algoritm-simplified explanation [closed]
can someone please explain the steps of YIN pitch detection algorithm in a simple way "especially the last 3 steps".
here is the research paper of YIN algorithm
http://audition.ens.fr/adc/pdf/...
0
votes
1answer
291 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 ...
0
votes
3answers
147 views
Efficient calculation of exact frequency from a broad frequency range (1 Hz - 1000 Hz)
I have some input signal sampled at 1-10 MS/s. Let's assume that it contains one strong frequency component (with frequency anywhere in the range from 1 Hz to 1000 Hz or even higher, changing over ...
1
vote
1answer
1k views
Change pitch of a wav file without changing the Sample rate?
I'm creating a Python library I call PAL, (Python Audio Library) and I need some help. What ways are there to change the pitch of a wav file without changing the sampling rate? I have complete access ...
0
votes
1answer
300 views
Where to begin? - Multi source polyphonic pitch detection
I'm quite interested in real time pitch tracking. I have used mcleod pitch method, Yin and other methods to perform real time pitch tracking for a monophonic audio track.
I know that Polyphonic ...
2
votes
1answer
364 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.
3
votes
1answer
295 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
2answers
82 views
What should I do with FFT result array from microphone input? [duplicate]
I currently want to create a small pitch detector and I have to say that I am very new in this topic of signal processing.
At the moment I implemented the FFt algorithm and I got an array of window ...
2
votes
2answers
214 views
Pitch perception - Why does our ear not directly detect the missing fundamental frequency?
My motivation for this question is related to biological phenomenon of our inner ear, so I initially posted in the biology community, but I suspect the answer has a DSP explanation, so I figured this ...
0
votes
2answers
191 views
Pitch detection of two following music notes (C0 and C0#)
Hi signal processing community,
currently I am working on a pitch detection tool which should work on audio input files (or later also instrumental or voice from microphone) to say which music note ...
2
votes
2answers
196 views
Pitch detection to find music notes (from voice)
Hi signal processing community,
currently I am searching a topic for my master thesis in computer science and since I am a very good singer I want to do something with music.
I thought about a topic ...
0
votes
1answer
2k views
1
vote
1answer
793 views
How do I deepen my voice (I'm a female) to sound like a man in a video for a school project? [closed]
Some extra info. that I think might help or make things clearer:
The video has several other people in it also talking (I don't want
to change their voices).
I have some experience in editing ...
0
votes
2answers
80 views
Pitch fluctuates unexpectedly in simple sine function
I wrote a very basic C program to play a sine of a user-specified frequency. In the interest of portability, I have it spit values directly to stdout, so hopefully you can reproduce my problem on your ...
2
votes
3answers
468 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 ...
6
votes
3answers
8k 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 ...
0
votes
1answer
2k views
Phase vocoder, pitch shift in MATLAB and C
I'm trying to make a Phase Vocoder in MATLAB. But I'm stuck with the calculations on changing the pitch. I browsed loads of website and I simply do not understand what to do.
Currently I have in my ...
0
votes
1answer
304 views
Note segmentation from pitch values
My goal is to extract a melodic respresentation for monophonic signal like voice.
I have used YIN algorithm to find the pitch of the signal. Now I want to detect notes from the pitch values (like ...
1
vote
0answers
890 views
Real-time FFT Pitch shifting in c# [closed]
I'm using Math.net and Bass.Net to write FX effects for guitars. I'm currently stuck on the the pitch shifter. I have to implement a custom DSP callback function which provides the guitar PCM data and ...
1
vote
1answer
622 views
Harmonic Product Spectrum algorithm. I dont understand one step
I was looking some Harmonic Product Spectrum algorithm examples and I came up with this:
...
1
vote
2answers
250 views
How can I start learning about pitch detection?
readers.
I'm working on a project where my goal is to implement a pitch-detection algorithm (PDA) in a piece of open-source software.
I have very little knowledge of pitch detection at the moment ...
0
votes
1answer
58 views
Algorithm to identify pitch-shifted recordings?
new to this whole DSP thing. Two related questions:
Does there exist an algorithm or classifier that, when given two sound files, would be able to tell me if one is a pitch-shifted version of the ...
0
votes
1answer
186 views
Using NMF for guitar pitch detection using fixed pitch template
I've seen this guide showing a basic NMF of a spectrogram.
My aim is detect guitar pitch from the decomposition. I want to do this by explicitly create a fixed template of pitches and construct the W ...
2
votes
1answer
1k 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
1answer
75 views
Calculation of the salience function (Klapuri 2006)
I am reading this paper here and I wanted to check my understanding regarding the salience function:
$$
\hat{s}(\tau)=\sum_{m=1}^M g(\tau, m) \max_{k\in \kappa_{\tau, m}}\lvert Y(k)\rvert
$$
Where ...