Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

2
votes
3answers
55 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 ...
0
votes
0answers
42 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
1answer
40 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
180 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 ...
0
votes
1answer
110 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
73 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
476 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
116 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
110 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
518 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
155 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
0answers
184 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
115 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
52 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 ...
3
votes
2answers
155 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
94 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
129 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
1k views
1
vote
1answer
121 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
65 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 ...
1
vote
3answers
244 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
3k 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
887 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
159 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
536 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
228 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
157 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
41 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
134 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 ...
1
vote
1answer
836 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
49 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 ...
0
votes
2answers
133 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?
0
votes
2answers
671 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.
0
votes
1answer
234 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 ...
0
votes
1answer
106 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 ...
0
votes
1answer
1k 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 ...
0
votes
3answers
433 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 ...
2
votes
3answers
768 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 ...
0
votes
2answers
144 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? ...
0
votes
1answer
368 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 ...
0
votes
0answers
74 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 ...
0
votes
1answer
424 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 ...
0
votes
1answer
647 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 ...
0
votes
1answer
500 views

What's wrong with this Average Magnitude Difference algorithm?

I implemented this Average Magnitude Difference algorithm in Javascript ...
1
vote
1answer
64 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 ...
0
votes
1answer
126 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 ...
0
votes
2answers
86 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?
0
votes
1answer
360 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 ...
0
votes
3answers
3k views

Calculating the fundamental frequency using Autocorrelation often gives half the expected value

I'm currently writing a mobile app which needs to analyse musical notes and find the fundamental frequency to determine the pitch. To do this I'm reading in audio data, taking an FFT, taking the auto-...
0
votes
1answer
1k views

Changing voice characteristics so it sounds like someone else voice

I have a recording of speech, and I want to manipulate the voice, so a listener will perceive the manipulated voice and the original one as belonging to two different people. The manipulated voice ...