Namespace Glitch9.IO.Audio
Classes
AudioCodec
Audio codec utilities for encoding and decoding audio data.
AudioEncodingExtensions
AudioFormatUtils
AudioRecorder
Default implementation of the audio recorder. You have to call StartRecording() to start recording audio. After that, you can call StopRecording() to stop the recording and get the recorded audio clip. The recorded audio clip will be trimmed to remove silence at the beginning and end.
AudioRecorderBase
AudioRecorderBase.Messages
AudioRecorderSettings
BitDepthExtensions
DefaultStreamingAudioDecoder
FloatRingBuffer
- Lock-free single-producer/single-consumer ring buffer for float PCM samples.
- Overwrite policy: when full, drops the oldest samples by advancing a producer-owned drop floor.
- ReadOrSilence() always fills the requested output length (pads with zeros) to avoid audio underruns.
- TryRead() reads up to output length and returns how many samples were copied.
- SPSC only: exactly one producer thread and exactly one consumer thread.
KeyCodeTrigger
SampleRateConverter
StreamingAudioDecoderBase<TAudioData>
StreamingAudioEncodingExtensions
StreamingAudioRecorder
Robust implementation of the audio recorder that supports real-time audio recording. This class allows for real-time audio recording with various triggers and callbacks. You can start and stop recording, handle audio input in real-time, and manage state transitions. You must call 'OnUpdateLoop()' method from the MonoBehaviour's Update() loop to process triggers.
StreamingAudioSource
UnityEngineExtensions
VoiceDetectionTrigger
VoiceDetectionTrigger.MaxValues
VoiceDetectionTrigger.MinValues
Volume
WebGLAudioProcessor
Decodes compressed audio (e.g., MP3/OGG) into PCM float samples via WebGL JavaScript bridge.
Structs
AudioBuffer
AudioFormat
WavInfo
Interfaces
IAudioBuffer
IRecordingTrigger
IStreamingAudioDecoder<TDelta>
IStreamingAudioListener
Enums
AudioEncoding
AudioFormatElement
BitDepth
Bitrate
RecordingTriggerType
Used for both 'Recording Start Trigger' and 'Recording Stop Trigger'. This enum is used to define the conditions under which recording starts or stops.