mlx-bun library API
    Preparing search index...

    What the service needs besides the model: the speech gate and audio decoding. Tests supply a fake.

    interface MediaRuntime {
        decodeAudio(bytes: Uint8Array): Promise<Float32Array<ArrayBufferLike>>;
        vad(modelPath: string | null): Promise<VadGate>;
    }
    Index
    • 16 kHz mono float32 from an uploaded container.

      Parameters

      • bytes: Uint8Array

      Returns Promise<Float32Array<ArrayBufferLike>>