-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathtodo-examples.txt
33 lines (26 loc) · 1.1 KB
/
todo-examples.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
if a node's children are const, replace the node by it's rendered version if possible
test cases for stack
make stack [ "hh hh" , fast 2 $ "bd sd"] work
-------------------------------------
Call buildTreeForNode on every argument
pass argument as an array, asserting the size
---------------------------------
implement + & - (?) tokens for accent & ghost
---------------------------------
allow a free javascript function to be applied to the pattern
-------------------------------------
implement stack as a grouping element
goal: do parallel sequences with operators
stack [ slow 4 $ "hh hh" , slow 2 $ "bd sd"]
----------------------------------
implement add pattern
goal: do octave shifts like in norns' awake
-----------------------------------
Implement shift as a pattern modifier
"[bd [sd bd] [~ sd] bd ]%4" -> "[bd [sd bd] [sd]>0.5 bd ]%4"
// Play a sequence every 8 bar:
d1 $ every' 8 0 (const (s "cc")) $ silence
// Reich's It's going to rain
d1 $ jux (slow 1.005) $ s "its_gonna_rain"
// Ability to use stack to apply effects in parallel
stack [ add 3, add 5 ] $ 'c3' // adds a third minor and a fifth