Hiyve Components - v1.0.0
    Preparing search index...

    Interface AudioLevelMonitorColors

    Color configuration for the AudioLevelMonitor component.

    Controls the colors used in the audio visualization. The level colors (low, medium, high) are applied based on the configured thresholds.

    const customColors: Partial<AudioLevelMonitorColors> = {
    low: '#22c55e', // Green for normal levels
    medium: '#eab308', // Yellow for elevated levels
    high: '#ef4444', // Red for clipping risk
    background: '#18181b',
    };

    <AudioLevelMonitor stream={stream} colors={customColors} />
    interface AudioLevelMonitorColors {
        background: string;
        high: string;
        low: string;
        medium: string;
        meterBackground: string;
    }
    Index

    Properties

    background: string

    Background color of the monitor

    high: string

    Color for high audio levels

    low: string

    Color for low audio levels

    medium: string

    Color for medium audio levels

    meterBackground: string

    Background color for meter mode