Skip to content
This repository was archived by the owner on Nov 23, 2023. It is now read-only.

Commit b653c86

Browse files
drums/velocity example in notochord.tidal
1 parent 58d7aac commit b653c86

2 files changed

Lines changed: 13 additions & 2 deletions

File tree

examples/notochord/tidalcycles/notochord.tidal

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
-- Notochord feed and query demo patterns
22
:set
33

4+
-- notochord chooses the pitch,
5+
-- anchored by the mallet at MIDI pitch 48
46
p "choosepitch"
57
$ ncinst "7 [9*3 [17 25]]"
68
# ncpitch "-1 [48 -1]"
@@ -10,13 +12,21 @@ p "choosepitch"
1012

1113
hush
1214

15+
-- notochord chooses the instrumentation
1316
p "chooseinst"
14-
$ ncinst "-1"--"7 [-1]@7"
17+
$ ncinst "-1"
1518
<| ncpitch (run 8 + 48)
1619
# ncvel (range 30 120 $ sine)
1720
# cps 1
1821
# legato 0.5
1922

23+
-- drums; notochord chooses the velocities
24+
p "choosevel"
25+
$ ncinst "129"
26+
<| ncpitch "[36*4, 56*8, [~ 38]*2]"
27+
# cps 1
28+
# legato 1
29+
2030
hush
2131

2232
once $ ncreset "1"

examples/notochord/tidalcycles/tidal-notochord.scd

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,11 @@ thisProcess.openUDPPort(6789); // from tidal
88
// ~dirt = SuperDirt.new;
99
// ~dirt.loadSoundFiles("~/Music/sample/dirt/*");
1010
// ~dirt.start(57120);
11-
// }
11+
// };
1212
// )
1313

1414

15+
1516
// for sending MIDI to ableton
1617
(
1718
MIDIClient.init;

0 commit comments

Comments
 (0)