This project has moved and is read-only. For the latest updates, please go here.

How to interpret sound patterns in a Music?

Nov 19, 2012 at 6:08 PM

Hi people,

I'm new to NAudio, well... more especifically, to Audio programming in general.
I already did somethings with NAudio like load a .wav file, read the content of it, plot it like a waveform, etc, but now, i want to do a thing I dont know how...
I'm studying about it on Google, etc... anyway, if the question and answer was here on the Comunnity, I think it would be a good contribution to many users.

I want to interpret some patterns in Musics. For example:

I have a eletronic music (that's just a example) where I have a pattern that gives me beats like "tucs tucs tucs tucs".
How can I reach this parts on the Music and point the time it occurs?
I want to use the same thought to anothers patterns, the basic concept I think would be the same...

Anyone can give me a help around this?

Best regards, thanks.

Nov 20, 2012 at 3:03 PM

It sounds like you want a beat detection algorithm. NAudio does not come with one, but there are some other libraries that can do this. Unfortunately, you're unlikely to find something for .NET, so you'll need to port it or write an interop wrapper for it if you want to use it with NAudio