2 Reference

2.8 Composing with scores

A score turns the instrument into a composition: written, repeatable, refinable. It is a plain text file in data/, one .txt file per score; TAB chooses which one plays. Because the flocking is deterministic, the same score with the same seed gives exactly the same performance every time: change one line, and only that changes. Change the seed for another performance of the same composition.

duration  <s>          # length; the video ends here
fadeout   <s>          # fade over the last seconds
seed      <n>          # same seed = same performance (the take)
title     <title>      # optional; default from the file name
number    <n>          # optional; catalogue number, default from the file name
boids     <n>          # 5 – 400
size      <w> <h>      # video / stage resolution
fps       <n>          # 60, 30, 20 … (the flock always runs at 60 steps/s)
grid      <px>         # beat grid spacing: 40 60 80 120 240; smaller = faster beat
theme     <name>       # visual theme at the start (default: the edition's main theme)
edition   club         # the club edition (2.5); default: classic
bpm       <n>          # club edition: the tempo, 60 – 150 (default 124)
engine    3            # the engine it was written for (3 = current)

# time  what          value      ramp
<t>     <parameter>   <v>        [<s> [linear]]   # glide there over <s> seconds; no ramp = jump
<t>     scatter                                   # throw all boids apart
<t>     beat          on | off                    # the beat layer
<t>     grid          <px>                        # change the beat grid
<t>     boids         <n>                         # add or remove boids to reach this number
<t>     octave        <-2 … +2>                   # move the whole register (0 = as designed)
<t>     pause         on | off                    # freeze the swarm / let it fly on
<t>     theme         <name>                      # visual theme by name
<t>     edition       classic | club              # switch the edition
<t>     bpm           <n>                         # club edition: the tempo
<t>     beat_volume   <%>                         # the volumes of fader 7, 5, 6 (50 = as designed)
<t>     drone_volume  <%>
<t>     note_volume   <%>

2.8.1 Rendering

2.8.2 Writing a score by playing (Shift+R)

Shift+R in free play starts writing, Shift+R again stops and saves data/rec-<date>-<time>.txt (leaving free play — TAB, P, V, F, Shift+A, Shift+B — also saves it first). The new score is chosen at once: P plays it, V renders it. Score keys: P plays, V renders, Shift+R writes. (Plain r resets the parameters.)