Constructors
Properties
off
off: <K>(eventName: string | symbol, listener: (...args: any[]) => void) => this = ... Type declaration
- <K>(eventName: string | symbol, listener: (...args: any[]) => void): this
Parameters
- eventName: string | symbol
- listener: (...args: any[]) => void
Returns this
on
on: { <P extends keyof MixstatusEvents, T>( this: T, event: P, listener: (...args: ListenerType<MixstatusEvents[P]>) => void, ): T; ( event: typeof assignmentCompatibilityHack, listener: (...args: any[]) => any, ): void;} = ... once
once: { <P extends keyof MixstatusEvents, T>( this: T, event: P, listener: (...args: ListenerType<MixstatusEvents[P]>) => void, ): T; ( event: typeof assignmentCompatibilityHack, listener: (...args: any[]) => any, ): void;} = ... Methods
configure
- configure(config?: Partial<MixstatusConfig>): void
Returns void
handleState
- handleState(state: State): void
Returns void
triggerNextTrack
- triggerNextTrack(): void
Returns void
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.