Fabric Manual ComponentsMicAudioComponent

MicAudioComponent

Overview

This component allows to capture the microphone input in the game and treat it like any other type of audio source. I.e. apply effects, position it in 3D space etc.

Overview

Inspector Elements

Properties

Description

Loop Mic

Loops Mic’s recording buffer

Recording Length

The size of recording to capture from the microphone

Frequency

The sample frequency of the clip in Hertz

Code Support

The component provides the following event actions that can be called from code,

- MicStart

Start capture of the microphone

Fabric.EventManager.Instance.PostEvent("NAME OF EVENT", Fabric.EventAction.MicStart, gameObject);

- MicStop

Stop capturing from the microphone

Fabric.EventManager.Instance.PostEvent("NAME OF EVENT", Fabric.EventAction.MicStop, gameObject);

Watch the following video explaining more about this Component

https://www.youtube.com/watch?v=txhvNPnmx_U&list=PLjo4vf11pt-MWtpdnyJdqJ41khf4YhS8y&index=6