Questions tagged [pitch-detection]
44 questions
7
votes
4 answers
Is my understanding of FFT and Pitch Detection correct here?
There have been countless discussions on Stackoverflow and beyond about FFT and pitch detection.
It's generally accepted that FFT, while fast, is not very accurate for a lot of applications but it's not often explained why.
I'd like to explain my…

bodacious
- 6,608
- 9
- 45
- 74
6
votes
1 answer
Pydub raw audio data
I'm using Pydub in Python 3.4 to try to detect the pitch of some audio files.
I have a working pitch detection algorithm (McLeod Pitch Method), which is robust for real-time applications (I even made an Android pitch detection app with it:…

Sevag
- 191
- 2
- 15
4
votes
1 answer
How to detect notes from a .mp3 music file and then display a midi time graph
I am a developer but I don't know much about audio and music.
I'm trying to detect musical notes in a song file, I'm using p5.sound.js and this script.
I create two arrays 1) Midi values, 2) Start time for that midi value.
Then I create a third…

omi
- 41
- 4
4
votes
1 answer
Audio processing library for android
Does anyone know a library for audio processing on android? I need to extract pitch and speech power (intensity).

Hassan Pezeshk
- 343
- 5
- 16
3
votes
1 answer
Change the melody of human speech using FFT and polynomial interpolation
I'm trying to do the following:
Extract the melody of me asking a question (word "Hey?" recorded to
wav) so I get a melody pattern that I can apply to any other
recorded/synthesized speech (basically how F0 changes in time).
Use polynomial…

Rocketzki
- 53
- 6
2
votes
0 answers
Algorithm for polyphonic pitch detection given a selection criteria?
Are there any known pitch detection algorithms for detecting multiple specific musical notes in audio representing polyphonic music?
All the algorithms I see referenced for polyphonic music, like MUSIC or ESPRIT, are focussed on the open-ended…

Cerin
- 60,957
- 96
- 316
- 522
2
votes
2 answers
Detect specific frequency in audio file using R
I have an audio recording wav file of a cricket chirping, every so often a chirp occurs for ~ 0.01 seconds at about 20kHz. I would like to use R to detect at what times during the recording the specific frequency (20kHz) occurs/starts.
Wave…

user12970144
- 21
- 1
2
votes
0 answers
why the UI does not show till the while loop breaks?
this code is answered in Voice Detection in Android Application.
It works fine but there is issue that the content of the page does not load until and unless the any voice has been detected and this snippet also makes the app crash few a times…

kishlay raj
- 41
- 7
2
votes
1 answer
How to add LittleEndian Pitch Detector SDK to Xcode?
I am trying to add the LittleEndian Pitch Detector SDK to Xcode project. However, I am getting errors after adding the development static libraries and header files to the project.
Steps I did were,
Downloaded the LittleEndian Pitch Detector…

Ankahathara
- 2,866
- 2
- 20
- 26
1
vote
1 answer
In ml5 pitch detection using crepe model, how to detect pitch above ±2kHz
I'm successfully using pitch detection features of ml5:
tutorial: https://ml5js.org/reference/api-PitchDetection/
model: https://cdn.jsdelivr.net/gh/ml5js/ml5-data-and-models/models/pitch-detection/crepe/
The issue:
No pitch above ±2000Hz is…

Kasparas Anusauskas
- 872
- 6
- 7
1
vote
0 answers
Accessing phone microphone with WebAudioAPI results in no sound (or distorted sound) being detected
I am working on a guitar tuner PWA, and have implemented 2 pitch detection algorithms in order to see which is the best. The app is supposed to work by getting the audio data through a microphone connected to the device.
In order to get the audio…

Rares Lungescu
- 33
- 5
1
vote
1 answer
Fixing "shaky" pitch detection in Kotlin using TarsosDSP
I am writing an instrument tuner app (for now starting with Guitar). For pitch detection I'm using TarsosDSP. It does detect the pitch correctly, however it is quite shaky - for example, I'll hit the (correctly tuned) D string on my Guitar, it…

Brian
- 117
- 1
- 13
1
vote
0 answers
Pitch evaluation of .wav file on Android using TarsosDSP
I am trying to write a simple Android app that displays the various pitches of a .wav file while it plays. I'm using TarsosDSP to do the pitch processing and AudioTrack to play the file.
Before I dive into the code here, I'm running Android Studio…

sacredfaith
- 850
- 1
- 8
- 22
1
vote
1 answer
Amplitude of audio signal harmonics in Unity3D
I have managed to calculate the pitch of audio input from microphone using the GetSpectrumData function. But now I need to get the amplitudes of the first 7 harmonics of audio (Project requirement)
I have very less knowledge of Audio dsp. Only…

TUSHAR KHAVALE
- 51
- 6
1
vote
1 answer
Manual pitch estimation of a speech signal
I am new to speech processing. So please forgive for my ignorance. I was given a short speech signal (10 sec) and was asked to manually annotate pitch using MATLAB or Wavesufer software. Now how to find pitch of a speech signal?. Is there any…

gokul
- 85
- 11