Overview

A Silverlight library that includes a MP3 decoder to provide raw audio data for consumption.

In Silverlight 3, there isn't an out-of-the-box method of accessing the raw audio data that the MediaElement produces when playing back MP3.

Saluse MediaKit for Silverlight, includes a custom MediaStreamSource (for use with the MediaElement) that decodes MP3 files and also returns the raw audio data for your use.
The Raw MP3 MediaStreamSource uses a custom SeekableStream that allows MP3 files loaded from any other stream type (HTTP response stream included) to be semi-seekable and works around the issues in using MediaStreamSource over HTTP.

With MediaKit, you can also modify the audio data before it is consumed (by MediaElement, for example) so that you can apply effects (echo), corrections (pitch shift), functionality (pan) in real-time

The sample demo included demonstrates the playing of MP3 files from your local machine or from a web address (make certain that the website allows direct streaming of mp3 files).
It showcases the use of raw audio data to create a peak meter(Fast Fourier Transforms), oscilloscope and other simple visualizations.
It also showcases the audio effects capabilities, such as Pan, Echo and a real-time Pitch Shifter.

For latest news, please see the blog at http://prefix.teddywino.com

Demo

A live demo can be seen at http://prefix.teddywino.com/post/SilverlightMediaKitLiveDemo.aspx

Screenshots

mediakit.jpg

Last edited Feb 3, 2010 at 12:39 PM by theahuramazda, version 19