@langwatch/scenario
    Preparing search index...

    Interface AudioChunkInit

    Voice subsystem barrel — public surface for the TS voice port.

    PR1 shipped the type contracts. PR3 (this commit) adds the adapter runtime + VAD fallback + executor lifecycle helpers. Real transports land in PR7+ behind this same contract.

    interface AudioChunkInit {
        data: Uint8Array;
        endTime?: number;
        startTime?: number;
        transcript?: string;
    }
    Index

    Properties

    data: Uint8Array

    Raw PCM16 little-endian bytes, mono, sample rate = 24000 Hz.

    endTime?: number

    Optional wall-clock offset from scenario start, in seconds.

    startTime?: number

    Optional wall-clock offset from scenario start, in seconds.

    transcript?: string

    Optional transcript text (may be populated by streaming STT).