MAIDR Documentation - v3.69.0
    Preparing search index...

    Class MonitorService

    Monitor mode for live charts.

    When enabled (toggled with the 'M' key), newly appended data points are automatically sonified and announced to screen readers without moving the user's current position — mirroring chart2music's monitoring behavior.

    Monitoring is only available on charts configured with live: true.

    Implements

    Index

    Constructors

    Accessors

    • get isEnabled(): boolean

      Whether monitor mode is currently active.

      Returns boolean

    Methods

    • Updates the live flag when a data update changes the chart's configuration. Turning live mode off also stops monitoring.

      Parameters

      • isLive: boolean

        Whether the chart is now configured for live updates

      Returns void

    • Toggles monitor mode and announces the new state. On non-live charts, monitoring stays off and the user is told why.

      Returns void

    • Sonifies and announces a newly appended data point when monitoring is on.

      Parameters

      • state: TraceState

        The trace state computed at the new point's position

      Returns void