2 Reference

2.6 Controls

Key Action
mouse click a slider band and drag left / right (free play only); the cursor shows while the mouse moves and hides after 2 s
↑ ↓ select a parameter: the three radii, the three weights, max speed, max force (“> ” marks it)
← → adjust it: left less, right more (hold to accelerate)
+ / - add / remove 5 boids (5 – 400; fewer than 5 can't form a flock, beyond 400 real time loses its margin)
r / x / SPACE reset parameters (and the octave) / scatter boids / pause
m mute (for listening; never written into scores)
0 the next mode: Classic → Pulse → Blue → Classic (1.3); each brings its theme (2.5)
h / g / t / b HUD / overlay / trails / boid shape
c flock colours behind the flocks in paper (off at the start; separate from the lines of g, which are on)
k beat layer on / off (on when free play starts)
, / . beat grid finer / coarser: 40 · 60 · 80 · 120 · 240 px
[ / ] shrink / enlarge glyphs and text (viewing distance)
s save a still to captures/ (the file name shows at the bottom of the window)
i MIDI info line on / off: each control's number and what it did (window only)
TAB choose the next score (every .txt in data/; on the controller also the previous one)
P play the chosen score in real time (preview)
V render the chosen score to renders/Swarm Synth V - <number> <title> - Take <seed>.mp4
F back to free play
Shift+R write free play down as a score; again to stop and save (2.7.2)
Shift+A build the sound atlas (about 3 minutes)
Shift+B build the beat atlas (about 2½ minutes)
? show / hide this list of keys on screen (window only, never in renders or stills)
ESC quit

In Pulse and Blue modes the player adds what a DJ adds: the volumes of the beat, the drones and the notes (faders 5 – 7), to bring a layer forward or let it recede. The tempo is not played by hand: it follows the swarm's speed (1.3). All three modes share one layout of keys and controller.

2.6.1 MIDI controller

The instrument is also played with a MIDI controller, at present a Korg nanoKONTROL2. The layout lives in a mapping file per device, so another controller — or a panel built for visitors — plays the same instrument with its own layout.

1 2 3 4 5 6 7 8
knob sep weight ali weight coh weight max force beat grid octave trail boids
S 75 % 75 % 75 % 75 % 75 % 75 % 75 % function map
M 50 % 50 % 50 % 50 % 50 % 50 % 50 % pause
R 25 % 25 % 25 % 25 % 25 % 25 % 25 % reset
fader separation alignment cohesion max speed drone volume note volume beat volume volume
Transport Action
track ◀ ▶ the previous / next mode: Classic, Pulse, Blue, wrapping round at the ends
cycle scatter
marker set save a still
marker ◀ ▶ previous / next boid shape (as b)
◀◀ ▶▶ previous / next score
stop / play / rec free play / play the chosen score / write free play down as a score (Shift+R)

2.6.2 Running the instrument