Microphone support?

I’m writing a game that can be played by sounds

Please, somebody knows if Monogame has support for capturing the microphone?

I’ve seen that XNA has a Microphone class but I don’t know how to do it in Monogame.


Thanks in advance

It’s not implemented in MonoGame yet.

What platforms are you targetting? I don’t think it would be hard to implement.

I’m targeting Windows UWP and Android. I’m looking for some samples of code for capturing microphone input.
Thanks for your response.

For Android check out https://developer.xamarin.com/guides/android/application_fundamentals/working_with_audio/
For UWP use the SharpDX bindings to XAudio.

1 Like