FoxDot Cheat Sheet
FoxDot sequences music with concise Python. Player objects (p1, d1…) are assigned patterns with >>. It needs SuperCollider running the FoxDot quark in the background.
Clock & players
Clock.bpm = 128Set the tempop1 >> pluck([0,2,4], dur=1/2)Assign a synth pattern to player p1d1 >> play("x-o-")Sample-string drum patternp1.stop()Stop one playerClock.clear()Stop everythingScales & roots
Scale.default = "minor"Set the global scaleRoot.default = "C"Set the global keyp1 >> pluck([0,2,4], scale=Scale.dorian)Per-player scaleAttributes (keyword args)
dur=1/2Duration of each stepamp=0.8Amplitudeoct=5Octavesus=2Sustainroot=2Transpose the rootPatterns
P[0,1,2,3]A FoxDot patternP[0,1,2,3].reverse()Transform a patternvar([0,4], 4)Time-varying value (0 for 4 beats, then 4)PDur(3,8)Euclidean durationsEffects
.room(0.5)Reverb.lpf(800).hpf(200) — filters.chop(4)Chop each note into pieces.echo(0.25)Echo.pan([-1,1])Pan patternFoxDot — Python live coding over SuperCollider. · FoxDot in the tool directory →