I want to know how to use Microphone Stream Selector with HoloLens2

小松野 海斗 1 Reputation point
2022-03-05T07:37:46.37+00:00

Development Environment ->
Unity2020.3.11f
Visual Studio 2019
Mixed Reality toolkit Foundation 2.7.2
Mixed Reality toolkit Standard Assets 2.7.2

I am creating an application using Unity and MRTK to subtitle the audio of people around me with HoloLens2.
But there is a problem, I can get the sound of my own voice well with the HoloLens2 built-in microphone, but I cannot get the sound of the surroundings well with the HoloLens2 built-in microphone.
I know there is a Mixed Reality Toolkit Microphone Stream Selector in the Mixed Reality Features Tool, but I don't know how to use it.Mixed Reality Toolkit Microphone Stream Selector
I want to set the microphone setting to "room capture" in the
I would like to know how to use the Mixed Reality Toolkit Microphone Stream Selector .

HoloLens | Development
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Franklin Chen 1 Reputation point Microsoft Employee Moderator
    2022-03-07T02:05:03.963+00:00

    Hello,

    I don't know how to use it.Mixed Reality Toolkit Microphone Stream Selector. I want to set the microphone setting to "room capture"

    Please check out this Unity sample script: LINK. It shows how to use the raw data from the microphone and also how to record wav files. You can change the MicStream.StreamCategory to MicStream.StreamCategory.ROOM_CAPTURE at line 14.

    Please also double check this README doc: Microphone Stream Selector


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.