Class AudioListenerSpeechSource
SpeechSource that provides Unity AudioListener audio data.
Inheritance
System.Object
UnityEngine.Object
UnityEngine.Component
UnityEngine.Behaviour
UnityEngine.MonoBehaviour
AudioListenerSpeechSource
Inherited Members
Namespace: Recognissimo.Components
Assembly: Recognissimo.dll
Syntax
[AddComponentMenu("Recognissimo/Speech Sources/AudioListener Speech Source")]
public sealed class AudioListenerSpeechSource : SpeechSource
Fields
channel
AudioListener channel for receiving data.
Declaration
public int channel
Field Value
Type | Description |
---|---|
System.Int32 |
Properties
SampleRate
Speech sampling rate. Must be set during initialization.
Declaration
public override int SampleRate { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Overrides
Methods
StartProducing()
Called by SpeechProcessor at the start of processing.
Declaration
public override void StartProducing()
Overrides
StopProducing()
Called when processing stops (e.g. when StopProcessing() called or when RuntimeFailure event emitted).
Declaration
public override void StopProducing()