AutoMovie API
    Preparing search index...

    Interface IAutoMovieAudioMixCue

    One mono excerpt placed on the output sample clock. mixAutoMovieAudioPcm validates finite onset/gain/pan/rate/offset, rounds onset and explicit duration to output samples, linearly interpolates source samples, and refuses an empty or overlong excerpt. Content beyond the output end is dropped. Defaults are pan/offset zero, rate one, and duration through the last available source sample.

    interface IAutoMovieAudioMixCue {
        asset: string;
        durationSeconds?: number;
        gain: number;
        offsetSeconds?: number;
        pan?: number;
        rate?: number;
        seconds: number;
    }
    Index
    asset: string

    Source id.

    durationSeconds?: number

    Output duration, seconds; the rest of the source by default.

    gain: number

    Linear gain; nonnegative.

    offsetSeconds?: number

    Source offset, seconds; 0 by default.

    pan?: number

    Equal-power pan in [-1, 1]; 0 by default.

    rate?: number

    Source samples per output sample; 1 by default.

    seconds: number

    Output onset, seconds; nonnegative.