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
2 votes
2 answers
832 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
355 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
0 votes
2 answers
118 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/...
cube's user avatar
  • 3
0 votes
1 answer
685 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 ...
Preet's user avatar
  • 1
1 vote
1 answer
1k 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 ...
Dan's user avatar
  • 70
-1 votes
1 answer
196 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://...
Argon's user avatar
  • 101
1 vote
1 answer
4k 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/...
KamelK's user avatar
  • 21
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 ...
Filip Petrovic's user avatar
0 votes
3 answers
371 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 ...
Mojca's user avatar
  • 101
1 vote
1 answer
2k 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 ...
CoderBoy's user avatar
0 votes
1 answer
468 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 ...
Jedi Nerd's user avatar
2 votes
1 answer
556 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.
Tarun 007's user avatar
3 votes
2 answers
539 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 ...
kubicwerke's user avatar
0 votes
2 answers
150 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 ...
MusicMagician's user avatar
2 votes
2 answers
296 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 ...
Kevin Wang's user avatar
0 votes
2 answers
283 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 ...
MusicMagician's user avatar
2 votes
2 answers
361 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 ...
MusicMagician's user avatar
1 vote
1 answer
3k views

Pitch estimation using the autocorrelation method

I have the following code: ...
user33584's user avatar
1 vote
1 answer
2k 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 ...
Fida's user avatar
  • 13
0 votes
2 answers
92 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 ...
Ian Martin's user avatar
3 votes
3 answers
642 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 ...
clairecc's user avatar
6 votes
3 answers
10k 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 ...
Murey Tasroc's user avatar
0 votes
1 answer
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 ...
Kristof's user avatar
0 votes
1 answer
410 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 ...
Nazmus Salehin's user avatar
1 vote
0 answers
1k 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 ...
Tom Stuart's user avatar
1 vote
1 answer
1k 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: ...
Sebastian Araneda's user avatar
1 vote
2 answers
313 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 ...
Caleb Owusu-Yianoma's user avatar
0 votes
1 answer
107 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 ...
Centigonal's user avatar
0 votes
1 answer
226 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 ...
pavlos163's user avatar
  • 213
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 (...
elise's user avatar
  • 21
0 votes
1 answer
101 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 ...
pavlos163's user avatar
  • 213
-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?
pavlos163's user avatar
  • 213
0 votes
2 answers
2k views

Pitch salience definition/references

What is the pitch salience? I see it a lot when looking for papers about multiple pitch detection but haven't found a proper definition of it.
pavlos163's user avatar
  • 213
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 ...
pavlos163's user avatar
  • 213
0 votes
1 answer
161 views

Implementing an offline guitar monophonic pitch detector

I am implementing an offline guitar monophonic pitch detector. I was wondering about the trade-off of the standard methods: Autocorrelation, HPS, Cepstrum, picking the peak from an STFT, the YIN ...
pavlos163's user avatar
  • 213
1 vote
1 answer
3k views

How to extract prosodic cues from a wav file using Python

How do I extract the following features as from wav files in Python - Voicing rate (Voice rate) - frequency of phonemes while speaking, and represents the pace of a conversation Number of ...
aamir23's user avatar
  • 111
0 votes
3 answers
1k views

Guitar fundamental frequency vs pitch

When a note is played on the guitar, is the fundamental frequency always the strongest one or could a harmonic be the strongest one (in terms of amplitude). When could that happen? Also, when playing ...
pavlos163's user avatar
  • 213
3 votes
3 answers
2k views

Guitar pitch detection with autocorrelation

This link provides code for an autocorrelation-based pitch detection algorithm but says: Cons: Not as accurate, doesn't work for inharmonic things like musical instruments, this implementation has ...
pavlos163's user avatar
  • 213
0 votes
2 answers
512 views

Is the STFT a good solution to guitar monophonic pitch detection?

Let’s assume that the audio input will be: Guitar audio Monophonic audio Is the STFT overkill? Is it enough to produce a time-frequency plot and from there find the notes played at each instance? ...
pavlos163's user avatar
  • 213
0 votes
1 answer
696 views

frequency translation or pitch shifting through linear interpolation in frequency domain

I want to perform pitch shifting with the method described in NEW PHASE-VOCODER TECHNIQUES FOR PITCH-SHIFTING, HARMONIZING AND OTHER EXOTIC EFFECTS. Basically, it involves: Locate the spectral peaks ...
Francis's user avatar
  • 101
0 votes
0 answers
123 views

Another pitch detection problem

I'm a french student and I have to make a scientific project in group, so we decided to work on how automatically turn sheets music when a musician reaches the end of the page. For that I'm working on ...
Hugo Pauget's user avatar
0 votes
1 answer
1k views

Guitar String frequency

I'm making a guitar tuner for iOS.Due to the fact I'm Beginner I'm struggling a bit to gather all the resources and information about it. I know the theory like ( correct me if I'm wrong ) :- First I ...
tryKuldeepTanwar's user avatar
0 votes
1 answer
1k views

Guitar pitch detection [duplicate]

I try to develop a guitar game in android platform. And I need to do the real-time pitch detection of guitar chord. I will get the input from the microphone, and then analyze the input (the input ...
paul9508's user avatar
0 votes
1 answer
1k views

What's wrong with this Average Magnitude Difference algorithm?

I implemented this Average Magnitude Difference algorithm in Javascript ...
Adriano Di Giovanni's user avatar
1 vote
1 answer
112 views

Doubling the frequency of a sound fragment in real time?

I'm given given a stream of sound, as a serie of little buffers . Is it possible to make this stream sound one octave up ? Or an arbitrary number of semitones up ? My goal is to add it to the ...
Dinaiz's user avatar
  • 373
0 votes
1 answer
181 views

Matching guitar signal with tablature, near real-time algorithms?

I'm looking for candidate algorithms that might work for a use-case comparable to Rocksmith's analysis system. To compare a clean electric guitar signal with a tablature reference. A higher latency ...
Beanow's user avatar
  • 11
0 votes
2 answers
96 views

Why do musical instruments have different colour in phone?

When I hear a musical instrument in phone, the color of it sounds a bit different than its original 'live' sound. Why?
sitems's user avatar
  • 101
0 votes
1 answer
471 views

Samples per second in a row vector in Matlab?

I wrote two functions in MATLAB, function called half that removes every other element from an arbitrary length vector, creating a shorter vector made of only the ...
Struggling's user avatar