Home » questions » Pitch Detection?

Pitch Detection?

2006-08-14 05:53:52, Category: Programming & Design
Hello. Can anyone tell me that if I know the structure of a WAVE file (I mean about various chunks in it) then can I retrieve the pitch of the music in that wave file.Can anyone pls tell me how to do it.Ten points to him guaranteed plus I would be very greatful as I have been searching for it for a long time and no result found yet.

Answers

  1. helixburger

    On 2006-08-14 06:00:57


    http://www.dsprelated.com/groups/speech-recognition/show/88.php
  2. Dan M

    On 2006-08-14 16:09:53


    In general this is a 'hard' problem, but for some subset of the problem it can be done: 1: If the signal is noise free and substantially a single tone, then just read the audio samples and count the zero crossings to determine frequency, remember two zero crossings per cycle. 2: Take an FFT of the audio and for each time slice look for the bin with the highest energy. 3: Use a set of bandpass filters on the audio and pick the one with the highest energy.... The FFT approach is possibly the most common one, but they all have applications, it just depends on what you are trying to do. Automatic transcription of anything but the simplest monophonic music is basically a hard research problem in AI, but the simple stuff is not that difficult to code up. Regards, Dan.