Represents various details about the current state of the CDJ.

Hierarchy

  • State

Properties

beat: null | number

The beat 'timestamp' of the track. Can be used to compute absolute track time given the slider pitch.

beatInMeasure: number

The current beat within the measure. 1-4. 0 when no track is loaded.

beatsUntilCue: null | number

Number of beats remaining until the next cue point is reached. Null if there is no next cue point

deviceId: number

The device reporting this status.

effectivePitch: number

The "effective" pitch of the plyaer. This is reported anytime the jogwheel is nudged, the CDJ spins down by pausing with the vinyl stop knob not at 0, or by holding the platter.

isEmergencyMode: boolean

Whether the CDJ is in an emergency state (emergecy loop / emergency mode on newer players)

isMaster: boolean

Whether the CDJ is the master player.

isOnAir: boolean

Whether the CDJ is currently reporting itself as 'on-air'.

This is indicated by the red ring around the platter on the CDJ Nexus models. A DJM mixer must be ont he network for the CDJ to report this as true.

isSync: boolean

Whether the CDJ is synced.

packetNum: number

A counter that increments for every status packet sent.

playState: PlayState

The current play state of the CDJ.

sliderPitch: number

The current slider pitch

trackBPM: null | number

The BPM of the loaded track. null if no track is loaded or the BPM is unknown.

trackDeviceId: number

The device ID the track is loaded from.

For example if you have two CDJs and you've loaded a track over the 'LINK', this will be the ID of the player with the USB media device connected to it.

trackId: number

The ID of the track loaded on the device.

0 When no track is loaded.

trackSlot: MediaSlot

The MediaSlot the track is loaded from. For example a SD card or USB device.

trackType: TrackType

The TrackType of the track, for example a CD or Rekordbox analyzed track.

Generated using TypeDoc