Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Using Sound files C# - modifying tempo

Tags:

c#

audio

tempo

Does anyone have any idea how to modify the sound speed and play a sound file faster/slower than the original in C#?

At the moment I am using .wav files, I have searched a lot and found that SoundPlayer and AudioVideoPlayback are the only two options to play sound, but none of them contain any special method to increase or decrease the sound speed with which to play with.

I am building a piano application which lets user modify the tempo, this is the situation I am in at the moment. I hope a few musical programmers can help me! Cheers

like image 665
test Avatar asked Nov 15 '25 17:11

test


1 Answers

A similar question was asked earlier:

C# Audio Library

One of the answers there suggested the following tool which might be helpful to you:

http://naudio.codeplex.com/

like image 138
evasilchenko Avatar answered Nov 17 '25 10:11

evasilchenko



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!