Optional config: Partial<MixstatusConfig>Private Optional #cancelWhen we are waiting for a set to end, use this to cancel the timer.
Private #configThe configuration for this instance of the processor
Private #emitterUsed to fire track mix status events
Private #isIncidates if we're currentiny in an active DJ set
Private #lastRecords when each device last started playing a track
Private #lastRecords the most recent state of each player
Private #lastRecords when a device entered a 'may stop' state. If it's in the state for long enough it will be reported as stopped.
Private #liveRecords which players have been reported as 'live'
Alias for emitter.removeListener().
v10.0.0
Rest ...args: any[]Rest ...args: ListenerType<MixstatusEvents[P]>Rest ...args: any[]Rest ...args: ListenerType<MixstatusEvents[P]>Rest ...args: any[]Private #handlePrivate #handlePrivate #markPrivate #onPrivate #playerPrivate #playerPrivate #promotePrivate #promotePrivate #setUpdate the configration
Optional config: Partial<MixstatusConfig>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.