SPB Git

Repository Public

mixer-api.md 2.3 KB

# Mixer commands

This chapter is generated from the language schema (swift run orix-dj-bench docs). Do not edit it by hand.

# Mixer parameters

Path Type Range Default Access Description
mixer.crossfader number 0 … 1 0.5 read, write, ramp Crossfader position: 0 is the A side, 1 is the B side.
mixer.curve string "smooth" / "linear" / "cut" "smooth" read, write Crossfader curve.
mixer.master.volume gain -60 dB … 6 dB 0dB read, write, ramp Master output level.
mixer.master.limiter bool true / false true read, write Master peak limiter.
mixer.master.level gain -60 dB … 6 dB – read Master output peak level.
mixer.cue.mix number 0 … 1 0 read, write, ramp Headphone blend: 0 is cue only, 1 is master only.
mixer.cue.volume gain -60 dB … 6 dB 0dB read, write, ramp Headphone level.

# Channel aliases

mixer.channel.X.<name> addresses the same parameter as the deck path.

Alias Same as
mixer.channel.X.cue deck.X.cue
mixer.channel.X.eq.high deck.X.eq.high
mixer.channel.X.eq.low deck.X.eq.low
mixer.channel.X.eq.mid deck.X.eq.mid
mixer.channel.X.filter deck.X.filter
mixer.channel.X.gain deck.X.gain
mixer.channel.X.level deck.X.level
mixer.channel.X.volume deck.X.volume

# Master clock

Path Type Range Default Access Description
master.bpm number 20 … 400 BPM 120 read, write Tempo of the master clock. It follows the master deck while one is playing; writing it sets the free-running tempo.
master.beat number – – read Beat counter of the master clock.
master.bar number – – read Bar counter of the master clock (4 beats per bar).
master.deck string – – read Letter of the deck currently driving the master clock, empty when free-running.

# Global events

Event Fires when
on beat { … } Every beat of the master clock.
on bar { … } Every bar of the master clock.
on trigger(n) { … } Automation trigger n (1 to 16) fired from a MIDI mapping, the keyboard or the console.
Files main
Menu

Theme