• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Anyone know of any pitch recognition DSP libraries ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Anyone know of any pitch recognition DSP libraries ?


  • Subject: Re: Anyone know of any pitch recognition DSP libraries ?
  • From: Martin Gasser <email@hidden>
  • Date: Mon, 26 Nov 2007 10:19:02 +0100

1) As a starting point, calculate the magnitude spectrum (via FFT) of the buffer contents. Picking the most prominent peak in the spectrum should give you the note frequency. Have a look at http:// ccrma.stanford.edu/~pdelac/research/MyPublishedPapers/icmc_2001- pitch_best.pdf for an introduction to more robust (time- and frequency-domain) pitch detection techniques.

It should be quite easy to find implementations in Matlab or C/C++ on the web (ask Google....).

2) For a given frequency value f in Hz, the closest corresponding MIDI note can be calculated via:

m = round( log2((f / 8.1757989156)^12 ) )

HTH,
Martin


On Nov 22, 2007, at 2:39 AM, Daniel Stenning wrote:



Basically all I need is to be able to pass in a buffer holding a slice of
audio representing a single monophonic note ( mono or stereo ) and get
back an integer representing the MIDI note corresponding to the slice.


Know of anyone who makes and can license such stuff ?.


Regards

Dan


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40gmail.com


This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Coreaudio-api mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Anyone know of any pitch recognition DSP libraries ? (From: Daniel Stenning <email@hidden>)

  • Prev by Date: Re: Anyone know of any pitch recognition DSP libraries ?
  • Next by Date: Buffer Size in Audio Units
  • Previous by thread: Re: Anyone know of any pitch recognition DSP libraries ?
  • Next by thread: AAC recording issues
  • Index(es):
    • Date
    • Thread