MicrophoneAmplitudeDemo Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Demonstration class using WindowsMicrophoneStream (from com.microsoft.mixedreality.toolkit.micstream) to select the voice microphone and adjust the spatial awareness mesh based on the amplitude of the user's voice.
public ref class MicrophoneAmplitudeDemo : UnityEngine::MonoBehaviour
[UnityEngine.RequireComponent(typeof(UnityEngine.AudioSource))]
public class MicrophoneAmplitudeDemo : UnityEngine.MonoBehaviour
[<UnityEngine.RequireComponent(typeof(UnityEngine.AudioSource))>]
type MicrophoneAmplitudeDemo = class
inherit MonoBehaviour
Public Class MicrophoneAmplitudeDemo
Inherits MonoBehaviour
- Inheritance
-
UnityEngine.MonoBehaviourMicrophoneAmplitudeDemo
- Attributes
-
UnityEngine.RequireComponentAttribute
Constructors
MicrophoneAmplitudeDemo() |