When we are waiting for a set to end, use this to cancel the timer.
The configuration for this instance of the processor
Used to fire track mix status events
Incidates if we're currentiny in an active DJ set
Records when each device last started playing a track
Records the most recent state of each player
Records when a device entered a 'may stop' state. If it's in the state for long enough it will be reported as stopped.
Records which players have been reported as 'live'
Helper to account for the useOnAirStatus config. If not configured with this flag the state will always be determined as on air.
Called to indicate that we think this player may be the first one to start playing. Will check if no other players are playing, if so it will report the player as now playing.
Called when the player is in a state where it is no longer playing, but may come back onair. Examples are slip pause, or 'cutting' a track on the mixer taking it offair.
Locate the player that has been playing for the longest time and is onair, and report that device as now playing.
Report a player as 'live'. Will not report the state if the player has already previously been reported as live.
Update the configration
Feed a CDJStatus state object to the mix state processor
Manually reports the track that has been playing the longest which has not yet been reported as live.
Generated using TypeDoc
MixstatusProcessor is a configurable processor which when fed device state will attempt to accurately determine events that happen within the DJ set.
The following events are fired:
Additionally the following non-track status are reported:
See Config for configuration options.
Config options may be changed after the processor has been created and is actively receiving state updates.