[LAD] Detecting one sample within another

Erik de Castro Lopo mle+la at mega-nerd.com
Sat Nov 3 21:22:56 UTC 2007


Patrick Marchwiak wrote:

> Given a sample clip, I would like to be able to find in another audio file a
> part that sounds similar to the clip. So for example, given a cymbal sample,
> I would like to be able to find a part of an audio file that sounds similar
> to a cymbal. I am not interested in beat detection, but rather just getting
> a single slice.

Its a well know problem isn digital signal processing and has a well know
solution (amongst the DSP people anyway):

    http://en.wikipedia.org/wiki/Matched_filter

Cheers,
Erik
-- 
-----------------------------------------------------------------
Erik de Castro Lopo
-----------------------------------------------------------------
"I invented the term Object-Oriented, and I can tell you I
did not have C++ in mind." -- Alan Kay



More information about the Linux-audio-dev mailing list