Questions tagged [pitch-detection]

44 questions
0
votes
1 answer

How to denormalize values to do the Harmonic Product Spectrum

I'm trying to execute the HPS algorithm and the results are not right. (48000Hz, 16bits) I've applied to a buffer with the recorded frequency several splits, then a Hanning window, and finally the FFT. I've obtained a peak in each FFT, that…
0
votes
1 answer

fundamental frequency of female voice

According to what I have read on the internet, the normal range of fundamental frequency of female voice is 165 to 255 Hz . I am using Praat and also python library called Parselmouth to get the fundamental frequency values of female voice in an…
0
votes
1 answer

Inaccurate Hz detection of browser audio

import PitchFinder from 'pitchfinder' const detectPitch = PitchFinder.AMDF() const notes = ['A', 'A#', 'B', 'C', 'C#', 'D', 'D#', 'E', 'F', 'G', 'G#'] export default { data () { return { note: 'A', register: 4, cents: 0 …
Jacob Stein
  • 312
  • 3
  • 15
0
votes
1 answer

How can I estimate the pitch of audio that I am currently recording in python?

I believe a lot of the libraries I have looked into require loading an audio file. Is this possible to do with audio that is being recorded live? If so, what library should I use?
JSpicher
  • 3
  • 1
0
votes
1 answer

Estimation of Pitch from Speech Signals Using Autocorrelation Algorithm

I want to detect speech signals pitch frequency using autocorrelation algorithm. I have a MATLAB code but the results are wrong. I would be grateful if you could solve the mistake in my code. [y,Fs]=audioread('Sample1.wav');…
0
votes
1 answer

Convert Audiorecord Data to process FFT

I have been implementing a Polyphonic signal pitch detector so I started to code my Program doing (RecordData, Convert Data, Zero-padding, Windowing, FFT, Peak detection). At first I tested it with sounds I already new which values I should get, and…
0
votes
1 answer

How to Calculate fundamental frequency of microphone input using Harmonics data

I am able to calculate the fundamental frequency of a real-time audio input from the microphone in Unity by finding the highest peak bin using GetSpectrumData function. But it fails for lower frequencies. I think that I get the frequency of…
0
votes
1 answer

Record audio and estimate pitch in a separate thread

I'm new to Android threads and I'm trying to figure out which is the correct/best approach to record and estimate pitch in a separate thread in Android. I need to start recording/estimating from the UI thread receive the pitch from the background…
Adriano Di Giovanni
  • 1,445
  • 1
  • 16
  • 34
0
votes
1 answer

Fast frequency measurement

I need to measure signal frequency while the musicians play music, and it happens to be a bit too fast for FFT (Fast Fourier Transform). Musicians play music at 90-140 bpm. This means that there are 90-140 groups of notes each minute, up to 8 (more…
0
votes
2 answers

TarsosDSP Pitch Detection from .wav file. And the result frequency is always less than half

I'm trying to use TarsosDSP library to detect pitch from a .wav file, and the result of frequency is always less than half. Here is my code. public class Main { public static void main(String[] args){ try{ float sampleRate = 44100; …
user7395677
  • 213
  • 1
  • 2
  • 6
0
votes
1 answer

Pitch detection - count notes

I'm using an autocorrelation algorithm to perform pitch detection on monophonic sounds (humming, whistling) and I get results good enough for what I'm attempting to do. But If I whistle a melody with the notes G F# D# and log the result I get this…
0
votes
1 answer

How to perform a Cepstrum for pitch detection

Ok, there are a bunch of questions on this here, and plenty of reading material on google, yet I somehow am not able to figure this out. I want to get the fundamental frequency of a segment of speech. The basic steps are supposed to be: take the…
Rob Allsopp
  • 3,309
  • 5
  • 34
  • 53
0
votes
1 answer

Matlab - better understanding the FFT and finding Pitch

I know there are tons of topics on finding pitch from the FFT, and I've gained a decent understanding of the whole process from turning data samples from time-domain -> frequency-domain, but there are still some areas (probably more advanced) that…
user3029619
  • 109
  • 1
  • 10
-1
votes
1 answer

How can I process a sound signal using matlab, get the frequencies and use it on java?

I'm new to signal processing and i'm developing an application that involves extracting pitch of a sound playing wav file, tried a few approaches to directly extract pitch using java (using FFT and DFT) however, it was not possible to go on with it…
dav191
  • 75
  • 2
  • 7
1 2
3