AutoMovie API
    Preparing search index...

    Interface IAutoMovieProductionSoundCue

    One authored timeline cue lowered into the deterministic procedural score.

    interface IAutoMovieProductionSoundCue {
        asset: string;
        bus: "dialogue" | "music" | "effects" | "ambience";
        durationFrames: number;
        fadeInFrames: number;
        fadeOutFrames: number;
        gain: number;
        id: string;
        seed: number;
        sourceDurationFrames: number;
        sourceOffsetFrame: number;
        startFrame: number;
    }
    Index
    asset: string

    Asset whose decoded mono samples the caller supplies at the mix clock. The mixer currently uses a procedural bus stand-in when this buffer is absent, so callers requiring exact asset playback must provide it.

    bus: "dialogue" | "music" | "effects" | "ambience"

    Compiler-owned mix bus.

    durationFrames: number

    Exact cue duration in film frames.

    fadeInFrames: number

    Exact fade-in duration in film frames.

    fadeOutFrames: number

    Exact fade-out duration in film frames.

    gain: number

    Authored linear gain.

    id: string

    Exact authored cue id.

    seed: number

    Stable unsigned 32-bit procedural seed.

    sourceDurationFrames: number

    Complete source-asset duration on the production frame clock.

    This is the declared ceiling the trim fits inside, never a selected span or a playback-rate control: the cue reads durationFrames frames from sourceOffsetFrame at unit rate, and sourceOffsetFrame + durationFrames may not exceed this value. The planner copies this declaration without decoding assets; callers own agreement with the asset's actual duration.

    sourceOffsetFrame: number

    Source-asset frame at which this edit begins.

    startFrame: number

    Film-global inclusive start frame.