17 / CREATE
Live-code and sequence
These three Units come with the Live coding module.
Tidal
Tidal (key F) is TidalCycles, native to Patch, playing Patch’s own instrument. Write code on the left. What plays is on the right. With no channels yet it says: Write d1 $ s "bd*4" and press Ctrl+Enter.
| Key | Button | Does |
|---|---|---|
| Ctrl+Enter | Run | Runs the block under the cursor, or the selection. |
| Ctrl+Shift+Enter | Run all | Runs everything. |
| Ctrl+. | Hush | Silences everything. |
| Ctrl+Space | Play / Stop | Plays or stops. |
| Ctrl+B | Backdrop | Puts the Visualiser under the code: Backdrop, then Backdrop · dim, Backdrop · bright. |
| Ctrl+H | Help / Code | Switches between the code and the reference. The button shows in a narrow window. |
- Channels lists each channel, a light that flashes on its events, its code and its source line (L7), and M (mute), S (solo) and ✕ (silence).
- The gutter beside the code is a live playhead: ▌ flashes on the lines you ran, ▸ stays on the lines whose channels are hitting right now (so a block sent from the command line or another window shows up too), and ● marks an error. The line under the code repeats ▌ ran ▸ live ● error.
- The tempo has − and +, Own tempo and Follow deck.
- Reference searches the functions. Its field reads search fast, jux, scale, room …. Click an example to put it in the code.
- Start offers six whole tracks (Night Drive, Broken Gravity, Acid Chapel, Glass Rain, Hyperglass, Slow Orbit). One is added at the end of your code and played from a hush; nothing of yours is replaced.
- Every sound has its own level, so a hat sits under the kick and a dense chord does not push the master limiter; gain stays your control. Drums have short natural decays.
- An error shows its line and column. The line under the code reads nothing changed: what played plays on when something was already playing, or nothing changed when it was not.
See Tidal.
Pattern
Pattern (key T) plays live-coded patterns that can control any Unit, written in Patch code or Strudel. The language button shows the one in use and switches to the other.
Ctrl+Enter (Evaluate) takes the code in on the next cycle. Ctrl+Shift+Enter (Now) takes it in at once. Ctrl+Space plays or stops. The panel on the right shows the cycle, the tempo (Follow deck or Own tempo), Switch engine, the Layers, the Next events and the Timing. If the code has an error, the note reads the previous pattern keeps playing while a pattern is playing, or nothing changed when nothing is.
See Pattern.
Sequencer
Sequencer (key S) is a step sequencer with eight voices and 32 steps: Sub kick, Snare, Closed hat, Open hat, Clap, Low tom, Rim and Shaker. The sounds are generated when the service starts.
- Pick a starting point: Four on the floor, Broken beat or Machine funk.
- Click a pad to switch that step on or off. Right-click selects a step. The window says Click: toggle · Right-click: select step. 1–16 and 17–32 switch pages.
- Set BPM (40–240), Swing (0–60%) and Level. SYNC follows a deck. Once it reads SYNC ON, the button beside it chooses deck A or B.
- For the selected track: Length (1–32 steps), Gain, Pan and Clear track. The box beside the track name mutes it.
- For the selected step: Velocity (0–127), Chance (0–100%), Repeats ×1 to ×4, and Copy 1–16 → 17–32.
Space plays or pauses and Esc stops. Save and Load keep the pattern. The foot of the window says the audio continues when the window closes.
See Sequencer.