Mini-notation#
The text inside s("…"), n("…") and friends is the mini-notation: a tiny language for rhythm, borrowed from TidalCycles. Here is all of it.
| Symbol | Meaning | Example |
|---|---|---|
~ |
rest | "bd ~ sn ~" |
[ ] |
group several steps into one | "bd [hh hh]" |
. |
group, without brackets | "bd hh . sn sn sn" |
, |
play at the same time | "[bd sn, hh*4]" |
* |
repeat within the step | "hh*4" |
/ |
stretch over several cycles | "bd sn/2" |
< > |
one per cycle, taking turns | "bd <sn cp>" |
! |
repeat as new steps | "bd!3 sn", "bd ! sn" |
_ |
hold the previous step | "bd _ _ sn" |
@ |
give a step more weight | "bd@3 sn" |
? |
maybe: drop at random | "hh*8?", "hh*8?0.2" |
\| |
pick one at random each cycle | "bd \| cp \| sn" |
: |
pick a variant of a sound | "bd:1 bd:2" |
( ) |
Euclidean rhythm | "bd(3,8)" |
{ } |
polymeter | "{bd sn, hh hh hh}" |
{ }%n |
polymeter with n steps per cycle | "{bd sn hh}%4" |
.. |
a range of numbers | "0 .. 7" |
The basics (~, [ ], *, < >, ,) are on First sounds. The rest are below.
Repeat: ! and *#
They look alike but differ: * squeezes copies into the step, while ! adds new steps. A lone ! repeats the step before it.
Longer steps: @ and _#
@ gives a step more weight: bd@3 sn splits the cycle into 3 + 1 parts. _ does the same thing one step at a time.
Slower: /#
/2 stretches a step over two cycles, so you only hear it every other time.
Random: ? and |#
? drops each event with a 50% chance; ?0.2 drops 20%. eddy's randomness is worked out from the time in the cycle, so a pattern always makes the same "random" choices, and a groove you like stays put.
| picks one of the options each cycle.
Euclidean rhythms: ( )#
bd(3,8) spreads 3 hits as evenly as possible over 8 steps. Many traditional rhythms are Euclidean: (3,8) is the Cuban tresillo, (5,8) the cinquillo. A third number rotates the pattern.
Polymeter: { }#
Curly brackets give every part the same step length rather than the same cycle length. The first part sets the step: here two steps per cycle, so the three-step hi-hat pattern drifts against it and lines up again every three cycles.
With %n you choose the steps per cycle yourself.
Ranges: ..#
0 .. 7 counts from 0 to 7, one step each. Handy for scales and arpeggios.
Variants: :#
:n picks a variant of a sound. In eddy's synthesized kit, variants change the tuning and decay.
eddy and Vortex
eddy started from Vortex's mini-notation and fixed a few places where it behaved differently from TidalCycles: ? after *, !n, a lone !, { } without %, and ... If you know Tidal or Strudel, things should work the way you expect.