Skip to main content

AudioEvent

Module: Inworld.AI. Namespace: Inworld.

This is the data structure for hosting the UnityEvents related by AudioCapture.

Inspector Variables

VariableDescription
onStartCalibratingTriggered when AudioCapture begins calibrating, sampling background noises.
onStopCalibratingTriggered when AudioCapture stops calibrating, collected the background SNR data.
onRecordingStartTriggered when the microphone begins recording.
onRecordingEndTriggered when the microphone stops recording.
onPlayerStartSpeakingTriggered when player begins speaking.
onPlayerStopSpeakingTriggered when player stops speaking.

API

FunctionDescriptionParameters
RemoveAllEventsRemove all the registered events.