Skip to content

Interface: AudioChunk

Makaio Framework


Makaio Framework / contracts / AudioChunk

Defined in: ../../../packages/contracts/src/capabilities/voice/types.ts:63

A streamed chunk of synthesized PCM audio.

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.

data: Float32Array

Defined in: ../../../packages/contracts/src/capabilities/voice/types.ts:65

Interleaved PCM float samples in the range [-1, 1]


sampleRate: number

Defined in: ../../../packages/contracts/src/capabilities/voice/types.ts:67

Sample rate of this chunk in Hz