An advanced audio library, written in C#. Provides tons of features. From playing/recording audio to decoding/encoding audio streams/files to processing audio data in realtime (e.g. applying custom effects during playback, create visualizations,...). The possibilities are nearly unlimited.
Other
2.15k
stars
451
forks
source link
Question: How can i change the playback speed of an mp3? #401
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();