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

    Interface VuMeterArgs

    interface VuMeterArgs {
        audioType?: PlayerAudioType;
        config?: Partial<VuMeterConfig>;
        player?: OmakasePlayerApi;
        source?: AudioLevelSourceApi;
        tracks?:
            | string
            | string[]
            | Track<TrackState, OmpEvent<any, any>>
            | Track<TrackState, OmpEvent<any, any>>[];
    }
    Index

    Properties

    audioType?: PlayerAudioType

    Audio type, required to create a PeakProcessorAudioLevelSource from PlayerAudioType.MAIN or PlayerAudioType.OUTPUT

    config?: Partial<VuMeterConfig>

    VU Meter configuration, optional

    Omakase player instance, required if source is not provided

    Audio level source

    tracks?:
        | string
        | string[]
        | Track<TrackState, OmpEvent<any, any>>
        | Track<TrackState, OmpEvent<any, any>>[]

    Track, track id, or array of tracks/track ids. A single value creates a PeakProcessorAudioLevelSource (sidecar audio) or ObservationTrackAudioLevelSource (observation track); an array creates an ObservationTrackAudioLevelSource with one ObservationTrack per channel.