Does Hololens 2 support VoiceCapture?

Hi,
As in the question title, does anyone know whether a VoiceCapture can be used with Hololens 2? In the code we have

#define PLATFORM_SUPPORTS_VOICE_CAPTURE (PLATFORM_WINDOWS || PLATFORM_MAC || ANDROIDVOICE_SUPPORTED_PLATFORMS || (PLATFORM_UNIX && VOICE_MODULE_WITH_CAPTURE))

something like this, but I don’t see there a Hololens platform. I tried to run the VoiceCapture on a 4.27 version. If not, is there any other way to get a raw micriphone data from Hololens 2?

Thanks in advance,
Jacob

It’s PLATFORM_HOLOLENS (Windows Holo OS), so the answer is no :frowning:

I started to investigate micrphone input some time ago, but dropped it.

Generally, look at speech extension in MicrosoftOpenXR plugin (see SpeechPlugin.h and SpeechPlugin.cpp). It can just recognize a defined list of words. So, you’d need to implement support from Windows::Media::Capture similar way they work with Windows::Media::SpeechRecognition::SpeechRecognizer.

Hi Yuri,
Thanks for the answer. I will try to play with the Capture and the SpeechRecognizer. It should be much simpler to receive raw microphone input :slight_smile:

Thanks again.