[music-dsp] Finding Peeks In Realtime

Jamie Bullock jamie at postlude.co.uk
Sun Dec 31 07:27:26 EST 2006

Aubio (http://aubio.piem.org/) has an excellent onset detection
algorithm. You might also want to look at Nick Collins' bbcut2 for
interest, or Google for 'spectral flux' if you want to brew your own.


On Sat, 2006-12-30 at 11:25 -0800, aquawicket wrote:
> I'm working on a electronic drum program that will turn audio signals into
> midi..  I need to know where to start on this one. Now that I've got
> portaudio and portmidi compiled, how would i go about finding the audio
> peaks in real-time.  
> Detailed-Example
> ---------------------------
> An electronic drum is connected to an audio input device. when the drum is
> struck, it sends a small audio signal. I need to scout out the peaks of the
> waveform past a certain threshold. Say between -24db and 0db. I need observe
> these peaks within the program so i can trun them into midi output signals. 
> Where would i start on accomplishing this? Thank you very kindly in advance

More information about the music-dsp mailing list