Featured post
frequency analysis - FFT pitch detection for guitar string -
i have pitch detection. input (microphone) data passed fft routine, i'm looking pitch maximum value means:
max(pow(data[i].getre(), 2) + pow(data[i].getim(), 2)) 0<= < samplessize
i need detection of guitar string's primary frequency. works freq 440 hz (and maybe higher, didn't check that) downto 250 hz. below value detected frequency twice high should be, ie. 195 hz detected frequency 380 hz. looks detects higher harmonics below 250 hz. pure 195 hz tone detects perfectly, quitar string wrong.
any suggestion can cause ? or should use more sophisticated pitch detection?
ps. sampling rate: 8000hz, input data size: 1024
i don't know guitars specifically, missing fundamentals seem quite common in acoustics. wikipedia page on pitch detection alludes secondary processing steps after fft, perhaps 1 of these helpful.
also, see these 2 questions, lots of information there: (1), (2).
- Get link
- X
- Other Apps
Comments
Post a Comment