Interface: AudioChunk
Makaio Framework / contracts / AudioChunk
Interface: AudioChunk
Section titled “Interface: AudioChunk”Defined in: ../../../packages/contracts/src/capabilities/voice/types.ts:63
A streamed chunk of synthesized PCM audio.
Remarks
Section titled “Remarks”This type is used exclusively in the local provider interface (ITTSProvider).
It is NOT JSON-serializable and must never appear as a bus event payload.
Float32Array does not survive JSON round-trips.
Properties
Section titled “Properties”data:
Float32Array
Defined in: ../../../packages/contracts/src/capabilities/voice/types.ts:65
Interleaved PCM float samples in the range [-1, 1]
sampleRate
Section titled “sampleRate”sampleRate:
number
Defined in: ../../../packages/contracts/src/capabilities/voice/types.ts:67
Sample rate of this chunk in Hz