@byomakase/omakase-player
    Preparing search index...

    Interface AudioObservationTrackGenerationOptions

    Options for observation track generation from audio track.

    interface AudioObservationTrackGenerationOptions {
        channels?: AudioObservationTrackGenerationChannels;
        downsampleStrategy?: AudioObservationDownsampleStrategy;
        fullSoundField?: boolean;
        observationType?: AudioObservationType;
        samplesPerSecond?: number;
    }
    Index

    Properties

    Channel types from which observation track will be created (supported values: number[] (1 - 6), all and none). Defaults to all.

    Strategy for downsampling multiple audio frames (supported values: AVG, MIN_ABS and MAX_ABS). If observationType is WAVEFORM, defaults to AVG. Otherwise, defaults to MAX_ABS.

    fullSoundField?: boolean

    Combines all audio channels to generate audio observation track. Defaults to true.

    observationType?: AudioObservationType

    Type of audio observations' values. Defaults to WAVEFORM.

    samplesPerSecond?: number

    Number of samples in one second of audio. Describes density of an observation track. Defaults to 1.