@langwatch/scenario
    Preparing search index...

    Interface VoiceRecording

    The full audio record of a voice scenario, segmented by speaker.

    PR1 defines the contract; PR2+ adds the WAV/MP3 save methods, segment directory layout, and JSON manifest schema (see Python VoiceRecording for the eventual API).

    interface VoiceRecording {
        duration?: number;
        segments: AudioSegment[];
        timeline: VoiceEvent[];
    }

    Implemented by

    Index

    Properties

    duration?: number

    Total duration (max segment endTime) in seconds.

    segments: AudioSegment[]
    timeline: VoiceEvent[]