name: … · _name: · Sname: · $: | a track · muted · soloed · unnamed |
setbpm(120) · setscale("F minor") | tempo (4 beats a cycle) · the song's key |
| {mod+enter} · {mod+.} | evaluate · stop |
| {app+a} · {app+l} | arrangement ↔ code · let go of the loop region (on the desk: the deck's regions switch) |
| {app+g} · {app+b} · {mod+g} | mixer · bounce the track · group the selected tracks |
| right-click · {app+j} | save the selection as a snippet · insert one |
| F1 | the projector: the playing decks' code, white on black, as large as it fits |
| {app+d} | DJ mode |
.log() | print a track's events to the console |
note("c4 e4") · n("0 2").scale("F minor") · .sc(3) | notes (c3 = 60) · degrees in a scale · in the setscale key |
pianoroll("name") · clips() | drawn notes · notes drawn in the arrangement's clips |
s("bd") · s("files:a.wav") · sr("take") · sp("kit") · samples("user/repo") | a pack · a file you dropped · a bounce · your own kit · packs from GitHub |
s("bd") · s("files:a.wav") · se('a/b.wav') · sr("take") · sp("kit") | a pack · a file you dropped · one file in the library · a bounce · your own kit |
synth("…") | an instrument on its own (plays C3) |
midikeys("…")(ch) · midi("…") · audio("…") · input(1) | a MIDI keyboard · MIDI from a device or track · a track or bus · a hardware input |
group({ … }) · copy("t") · pcopy("t") | a mixdown of tracks · a whole track again · its notes only |
.synth("…") · .fx("…") · .param("name", v) · .wet(v) · .preset("name") | instrument · effect · control · effect blend · saved state |
.midi("t") · .audio("t") after an fx | replay notes into it · feed its sidechain |
.gain · .postgain · .pan · .width · .bassmono · .o | the channel strip |
.bus("name", amt) · .dry(v) · .bsend() | sends |
.vel · .clip · .nudge · .swing | velocity, length, timing, groove |
sine saw isaw tri square rand perlin | LFOs, 0..1; rate in cycles or '0.5hz' |
lfo("shape", { rate, mode }) · env({ attack, decay, sustain, release }) | drawn shape · envelope per note (seconds) |
macro1…8 · midicc("…")(cc) · auto("lane") · osc("/addr") | knobs · automation |
.range(lo, hi) · .snap([1, 2, 4]) · dur() | rescale · to the nearest of a set · the note's length in seconds |
"3x" "800hz" "-6db" "250ms" "7st" | a value in the control's own units; a bare number is a 0..1 position |
slider knob toggle button xy | controls drawn in the code, heard as you move them |
steps("x . x .") · sliders("0.2 0.8") · matrix({ bd: "x..." }) | cells · a bar per step · a grid of rows; a count, steps(8), is that many empty |
shiftreg("x . x x", 0.05) · { mutate: 0.05 } · { deviation: 1 } | cells read as a shift register · cells that change each cycle · bars thrown near where they were |
acid(16) | bars from 0 to 1 with accents, long gates, slides and octaves |
.scope .spectrum .waveform .imager .meter | the track's sound |
.punchcard .chroma .plot | the pattern's events · its notes · a signal over time |
punchcard() · spectrum() … on their own line | drawn behind the code: every track, or the song's output |
{ width, height } · { size } · .color("pink") | a widget's size (square ones: size) · a track's color in the displays |
.add .sub .mul .div .mod .set + .in .out .squeeze | arithmetic, and whose events it plays on |
.fast .slow .rib .hold .seg | time |
.struct .mask .ply .echo .arp .bite .degrade | structure |
.bits(n) | steps read as a shift register, 0..1 on every step |
.when .sometimes · choose irand cat seq | conditions · chance and sequence |
.fmap(fn) · .events(fn) | edit values · edit whole events |