Skip to main content

AudioCapture

This is a global Audio Capture controller. For each separate InworldCharacter, we use class AudioInteraction to handle AudioClips.

Inspector Variables

VariableDescription
Audio RateThe sample rate of Audio Clip
Buffer SecondsHow long in seconds to record and generate a sample that would be sent to server.

Properties

PropertyTypeDescription
IsCapturingBoolGet/Set the microphone to record voices.

API

FunctionReturn TypeDescription
StartRecordingvoidLet microphone to start recording
StopRecoridngvoidLet microphone to stop recording