C# Audio - How to time stretch (different tempo, same pitch)

Posted by heath on Stack Overflow See other posts from Stack Overflow or by heath
Published on 2010-02-23T18:49:44Z Indexed on 2010/03/08 8:21 UTC
Read the original article Hit count: 715

Filed under:
|
|
|

I'm trying to make a winform app in C# (VS2008) that can load an mp3 (other formats would be nice, but mp3 at a minimum) and be able to adjust the playback speed (tempo) without affecting pitch. I really don't need any other audio effects. I tried using DirectShow but that doesn't seem to offer time stretch capabilities. I was able to incorporate irrklang but that does not seem to have the time stretch capability either. So now I've moved on to SoundTouch. That certainly has the capabilities but I'm very unclear on how to implement in C#.

After a few days of this, about all I've accomplished is using DLLImport on the SoundTouch DLL and am able to successfully retrieve a version number. At this point, I'm not even sure if I can do what I'm trying to do with SoundTouch. Can anyone offer some guidance either on how to implement SoundTouch or a different library with the capabilities that I'm looking for? Thank you.

© Stack Overflow or respective owner

Related posts about c#

Related posts about audio