openmixer — generated API reference
    Preparing search index...

    Interface MetersMessage

    A meter frame: per-channel 0..1 peak levels, broadcast a few Hz while signal flows (the surface animates each strip's meter from it). value is the mono / left peak; right is the right-channel peak on a stereo strip (omitted for mono). The frame is flat (not the engine-internal MeterLevel object) so the browser reads the level directly off the wire.

    interface MetersMessage {
        levels: readonly {
            c?: number;
            channel: ChannelRef;
            compGrDb?: number;
            gateGrDb?: number;
            right?: number;
            value: number;
        }[];
        loudness?: LoudnessReadout;
        type: "meters";
    }
    Index
    levels: readonly {
        c?: number;
        channel: ChannelRef;
        compGrDb?: number;
        gateGrDb?: number;
        right?: number;
        value: number;
    }[]
    loudness?: LoudnessReadout

    EBU R128 loudness of the MAIN mix (LUFS-M/S/I + dBTP), when the engine measures it — rides the meter frame beside the peaks so the loudness panel updates in step with the mains meter. Omitted on frames with no loudness (e.g. no meter source).

    type: "meters"