Increasing speed of audio file

BrilliSoft

New member
Feb 23, 2012
12
0
0
Does anyone know if there is a way to do the equivalent of...

Code:
myMediaElement.SpeedRatio = 1.5;

...in a Windows Phone app (for an audio file)?
 
Not sure if there is a convenient setting like that. To speed up audio think you need to feed audio data into a MediaSteamSource class using GetSampleAsync. To speed up the audio by 1.5 you could just drop every third sample of audio. Not sure how this would sound though.

Here are a couple of good silverlight projects that work with sound that are good references.

Silverlight Synthesizer Source Code

Saluse MediaKit for Silverlight
 

Forum statistics

Threads
342,593
Messages
2,265,675
Members
428,872
Latest member
grimmmmm