Digital Audio Synthesis on Windows Phone 7

posted: August 03, 2010 | home | archive

Back in March 2010, I posted about my initial excitement and disappointment with the Windows Phone 7 developer tools. Back then, then WP7 emulator didn’t support the MediaElement’s SetSource method. SetSource provides the basis for being able to do digital audio synthesis with custom MediaStreamSource objects.

With the new WP7 beta tools, I’m happy to say that the SetSource method is now supported by the WP7 emulator - so you can now hear and play your synthesized audio!

I created a very simple audio synthesis app to demonstrate these features:

Download the source code [26 kb]

The app lets you pick from two audio sources: one source generates random noise and the other source generates a constant, smooth set of tones.

Happy WP7 coding!

blog comments powered by Disqus