Low-Latency Sound
The MediaElement is a high-level wrapper for audio or video playback. It provides plenty of worthwhile features and is reasonably flexible. You can use it to play background music or to create your own customized video player.
However, the MediaElement isn't a natural fit for applications that need to combine or manipulate real-time audio. For example, if you want to use sound in an arcade game or build a music synthesizer, the MediaElement is awkward at best. Here are some of the challenges you'll face:
- To avoid delays, you need to create the MediaElement and load its audio well before you actually play it. As a workaround, developers often cycle their sound effects through a group of MediaElement objects (which can get messy). ...
Get Pro Silverlight 5 in VB now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.