Skip to content

Microphone Sample

Simon Jackson edited this page Jul 27, 2016 · 7 revisions

#Microphone Sample#

Area Games: Audio, Sensors Submitted 11/19/2010 Code Sample


This sample demonstrates how to get audio input from the microphone in a Silverlight for Windows Phone application by using the Microsoft.Xna.Framework.Audio.Microphone class. It also shows how to play audio by using the SoundEffect and SoundEffectInstance classes. The code monitors audio playback on a separate thread and updates the user interface when the sound stops playing. For more information about accessing the microphone in a Silverlight application, see How to: Access the Microphone in a Silverlight Application for Windows Phone.

downloads SilverlightMicrophoneSample.zip Size: 0.05MB This sample demonstrates how to get audio input from the Windows Phone microphone in a Silverlight application by using the Microsoft.Xna.Framework.Audio.Microphone class.

Clone this wiki locally