How can i change the playback speed of an mp3?

262 Views Asked by At

I have an mp3 file which i load into a memorystream and then, after some code, i play it. How can i change the playback speed to x1.4?

Current code:

DirectSoundOut SoundOut = new DirectSoundOut();
byte[] TargetFile = File.ReadAllBytes("PathToFile");
MemoryStream ms = new MemoryStream(TargetFile);
SoundOut.Initialize(new CSCore.Codecs.MP3.DmoMp3Decoder(ms));
SoundOut.Volume = 1;
SoundOut.Play();
0

There are 0 best solutions below