Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
Tidal
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PLN
Tidal
Commits
3b4f5dca
Commit
3b4f5dca
authored
Nov 11, 2026
by
PLN (Algolia)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tom: _techniques cookbook, chords, squeeze, A/B switch, arp modes, random arps, FMRhodes1 knobs
parent
554c77c2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
217 additions
and
0 deletions
+217
-0
_techniques.tidal
live/collab/tom/_techniques.tidal
+217
-0
No files found.
live/collab/tom/_techniques.tidal
0 → 100644
View file @
3b4f5dca
-- _techniques.tidal : chord / arp / A-B techniques from the 2026-11-11 session
--
-- A cookbook, not a track. Run block by block (blank-line separated).
-- Run SECTION 0 first, once: every other section reads its `chords`, `roots`, `ix`.
-- Every example plays on d5 with superpiano. `hush` between sections.
--
-- Checked against the installed Tidal by evaluating the patterns (what notes come
-- out). Nothing here was auditioned on the rig unless marked otherwise.
-- Marked "untested" = reasoned from the docs/source, not run.
-- =====================================================================
-- 0. SETUP (run once)
-- Lists are 0-indexed, in BOOK order: 0=Em7 1=Fmaj7 2=C7 3=B7 4=Cmaj7 5=A9
-- The ":: ..." annotations matter: without them a let-bound string list has no
-- type to settle on across separate evals.
-- =====================================================================
do
setcps (80/60/4)
let chords = ["e'm7", "f'maj7", "c'dom7", "b'dom7", "c'maj7", "a'nine"] :: [Pattern Note]
roots = ["e2", "f2", "c2", "b1", "c2", "a1"] :: [Pattern Note]
ia = "<0 0 <1 2> <1 3>>" :: Pattern Int -- phrase A (book: 1 1 <2 3> <2 4>)
ib = "<4 5 4 <4 5>>" :: Pattern Int -- phrase B (book: 5 6 5 <5 6>)
ix = ia -- the active phrase, see section 3
chord x = squeeze x chords -- chord numbers -> chords
root x = squeeze x roots -- chord numbers -> one bass note
return () -- a do-block cannot end on a let
-- =====================================================================
-- 1. CHORD NAMES root'type'modifier
-- Names that exist in this Tidal: m7 maj7 dom7 nine m7f5 7s5 aug
-- - "dom9" is [0,4,7,14] = NO 7th. For a real A9 use "nine".
-- - there is no "m7b5": the flat is spelled "f" -> m7f5 (also m7flat5, min7f5)
-- - there is no maj7#5 at all: spell it "[0,4,8,11]" or "[c,e,gs,b]"
-- Browse: import Sound.Tidal.Chords then chordList / chordTable / chordL "m7"
-- Root with octave: "e4'm7" (plain "e'm7" is E5, high for a piano)
-- =====================================================================
d5 $ n "<e4'm7 f4'maj7 c4'dom7 b3'dom7 c4'maj7 a3'nine>" # s "superpiano"
d5 $ n "<e4'm7f5 c4'7s5 c4'aug>" # s "superpiano" -- half-dim, C7#5, augmented triad
-- Voicing modifiers go after a second quote. All of them can be patterned.
-- 'N number of notes 'o open 'dN drop-N 'iN inversion (docs; "ii" = 2nd inv in 1.9)
-- untested here: only the docs were read
d5 $ n "<a3'nine'o a3'nine'd3 a3'nine'4>" # s "superpiano"
-- =====================================================================
-- 2. squeeze : chord NUMBERS -> chords (the vending machine)
-- squeeze takes a pattern of numbers and a list; each number becomes the whole
-- list item, squeezed into the slot the number occupied. It counts from 0, so
-- with the lists above book number minus 1 is the index. No subtract fuss.
-- =====================================================================
d5 $ n (chord ia - 12) # s "superpiano"
d5 $ n (chord "0 1 2 3") # s "superpiano" -- four chords in one cycle
d5 $ n (chord "<0 [1 2] 4*2 5>") # s "superpiano" -- any rhythm you like
-- =====================================================================
-- 3. A/B SWITCH on a button (midiOn / midiOff)
-- Wrap the INDEX pattern, not the whole d5, otherwise `const ib` would replace the
-- sound name and the effects too. Both voices read the same ix, so one press flips
-- bass and keys together. ^43 is an example, pick a free pad.
-- Untouched button = off = phrase A (BootTidal's midiOn treats rest as 0).
-- Switches at a CYCLE boundary: you land mid-phrase in the other one.
-- (The squeeze lookup was tested with a control value of 0 and 1; midiOn itself
-- is BootTidal's wrapper over the same someCyclesBy.)
-- =====================================================================
do
let ix = midiOn "^43" (const ib) ia -- pressed = B
chord x = squeeze x chords
d5 $ n (chord ix - 12) # s "superpiano"
-- default B, pressed = A
do
let ix = midiOff "^43" (const ia) ib
chord x = squeeze x chords
d5 $ n (chord ix - 12) # s "superpiano"
-- =====================================================================
-- 4. THE BUG THAT BIT US: operator outside the parentheses
-- Anything after `note (...)` that is not inside the parens is applied to the
-- WHOLE event map, not to the note:
-- note (...) - "[0,12]" # "bassWarsaw" # gain 1.3 # crushbus 41 (...)
-- sent gain -1.3, room -0.3, crush -16 and ^crush -41 (negative bus ->
-- "/c_set index out of range", about 450 errors a second)
-- note (...) + "[0,12]" + 24 # "moogBass"
-- made s "0" / s "12" -> "instrument not found" -> silent d5
-- The fix is only a parenthesis:
-- =====================================================================
-- WRONG (do not run): d5 $ note ("<g4 e4>" |+ "0 0 0 <0 1>") + "[0,12]" + 24 # s "moogBass"
d5 $ note ("<g4 e4>" |+ "0 0 0 <0 1>" + "[0,12]" + 24) # s "moogBass"
-- Rule of thumb: arithmetic on notes lives INSIDE n ( ... ) / note ( ... ).
-- =====================================================================
-- 5. ARP : all 13 modes, shown on Em7 = E G B D
-- (the order each mode plays them in)
-- up E G B D down D B G E
-- updown E G B D B G downup D B G E G B
-- up&down E G B D D B G E down&up D B G E E G B D
-- converge E D G B diverge B G D E
-- disconverge E D G B G D E
-- pinkyup E D G D B D pinkyupdown E D G D B D B D G D
-- thumbup E G E B E D thumbupdown E G E B E D E B E G
-- converge/diverge squeeze in from the ends or spread from the middle.
-- pinky* keep returning to the top note, thumb* to the root (pedal feel).
-- =====================================================================
d5 $ arp "up" (n "e4'm7") # s "superpiano"
d5 $ arp "<up down updown pinkyup thumbup converge>" (n (chord ix - 12)) # s "superpiano"
-- arp spreads one chord over ITS slot. For a faster arpeggio speed it up outside:
d5 $ fast 2 $ arp "pinkyup" (n (chord ix - 12)) # s "superpiano"
d5 $ ply 2 $ arp "up" (n (chord ix - 12)) # s "superpiano" -- each note twice
-- Strum instead of arpeggio (docs, untested here): low to high inside the first quarter
d5 $ rolled $ n (chord ix - 12) # s "superpiano"
d5 $ rolledBy 0.45 $ n (chord ix - 12) # s "superpiano" -- slower strum
-- =====================================================================
-- 6. RANDOM ARPS (there is no "random" mode; two ways to get one)
-- 6a. shuffle the arp'd notes: scramble the time slices
-- shuffle N : each of N slices exactly once, random order each cycle
-- scramble N : each slice picked at random, repeats allowed (more nervous)
-- N is a NUMBER OF SLICES, not of notes. Exact for 4-note chords (m7, maj7,
-- dom7). A 5-note chord (nine) wants scramble 8, or it cuts mid-note.
-- (tested on Em7 over 4 cycles)
-- =====================================================================
d5 $ shuffle 4 $ arp "up" (n (chord ix - 12)) # s "superpiano"
d5 $ scramble 4 $ arp "up" (n (chord ix - 12)) # s "superpiano"
d5 $ scramble 8 $ arp "up" (n (chord ix - 12)) # s "superpiano" -- for 5-note chords
-- 6b. pick the arp MODE at random, once per cycle (tested; it can repeat by chance)
d5 $ arp (segment 1 $ choose ["up","down","pinkyup","converge","thumbup"])
(n (chord ix - 12))
# s "superpiano"
-- A mix: shuffle for phrase A, a fixed mode for B (press the button to change feel)
d5 $ midiOn "^43" (const $ arp "pinkyup" (n (chord ib - 12)))
$ shuffle 4 $ arp "up" (n (chord ia - 12))
# s "superpiano"
-- =====================================================================
-- 7. BASS d4: one single note per chord, same index as the keys
-- `roots` is a second list in the same order, with the octave in the name (no
-- arithmetic). Because it reads the same ix, bass and keys always agree.
-- (tested: bass A = E2 E2 F2 F2, bass B = C2 A1 C2 C2)
-- =====================================================================
d4 $ n (root ix) # s "bassWarsaw" # gain 1.3
-- both voices, one button:
do
let ix = midiOn "^43" (const ib) ia
chord x = squeeze x chords
root x = squeeze x roots
d4 $ n (root ix) # s "bassWarsaw" # gain 1.3
d5 $ arp "<pinkyup up>" (n (chord ix - 12)) # s "superpiano"
-- =====================================================================
-- 8. FMRhodes1 : voice params and a 3-knob mapping (swap s "superpiano")
-- Source: ~/.local/share/SuperCollider/downloaded-quarks/SCLOrkSynths/
-- SynthDefs/keyboards/FMRhodes1.scd (+ pbind-demos/FMRhodes1-demo.scd)
--
-- modIndex 0..1 FM brightness of the body. The synth's intended range is
-- 0 to 1: "range 0 16" is ~20 radians of FM = glass/noise
-- mix 0..1 fades body (uses modIndex) to tine/bell (does NOT). At high
-- mix, modIndex stops mattering.
-- inputLevel 0.2 level AND FM depth together (redundant with gain+modIndex)
-- lfoSpeed 4.8 tremolo Hz lfoDepth 0.1 tremolo depth 0..1
-- att 0.001, rel 1 the synth's OWN envelope. Plain `att`/`rel` in Tidal send
-- attack/release (SuperDirt's), so use pF "att" / pF "rel".
-- (pF "rel" reaching the synth: untested on the running rig)
-- not controls in Tidal by default: lfoSpeed, lfoDepth, inputLevel -> use pF.
--
-- Knob proposal (LCXL, from tools/lcxl_grid.json): 52 modIndex (tone),
-- 33 rel (time; 33 is orbit 5's fx home), 17 mix (body to bell).
-- Rest = 0 on every knob, so each range's minimum is the LIGHT, plucky setting.
-- Ranges are a reasoned guess, tune by ear.
-- =====================================================================
d5 $ arp "<pinkyup up>" (n (chord ix - 12))
# s "FMRhodes1"
# modIndex (range 0.05 0.6 "^52")
# pF "rel" (rangex 0.3 2 "^33")
# mix (range 0.05 0.5 "^17")
# legato 0.7
# gain 1 # room 0.3 # dry 0.7
-- a light, plucky starting point without knobs:
-- # modIndex 0.15 # mix 0.1 # pF "inputLevel" 0.15 # pF "rel" 0.5 # pF "lfoDepth" 0.05 # legato 0.7
-- =====================================================================
-- 9. FINDING THINGS
-- FMRhodes1 lives in the SCLOrkSynths quark (path in section 8)
-- moogBass: .../downloaded-quarks/SCLOrkSynths/SynthDefs/bass/moogBass.scd
-- SuperDirt logs "instrument not found: X" when an s name is wrong, look for
-- a stray s "0"/"12" (section 4)
-- bad bus numbers show as "FAILURE IN SERVER /c_set index out of range"
-- =====================================================================
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment