-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathedo.sp
More file actions
41 lines (34 loc) · 906 Bytes
/
edo.sp
File metadata and controls
41 lines (34 loc) · 906 Bytes
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
34
35
36
37
38
39
40
41
# a demonstration of the 'edo' (equal division of the octave) ugen
# this example uses 22edo
# top line
'seq' '7 11 9 11 7 16 7 20 \
25 23 25 20 17 20 14 11' gen_vals
# bass line
'bass_pitch' '-37 -37 -15 -15 -19 -15 -24 \
-37 -37 -15 -15 -28 -24' gen_vals
'bass_amp' '1 0 .7 0 0 0 1 0 .7 0 0 0 0 0 1 1 0 1\
1 0 .7 0 0 0 1 0 .7 0 0 0 0 1 0 1' gen_vals
######################
# top line synthesis #
######################
# triangle wave
3 metro 0 'seq' tseq
22 edo 0.1 tri
# dup and add delay
dup 0.6 0.175 delay 0.5 *
# mix with itself
+
#######################
# bass line synthesis #
#######################
# bass pitch
360 '++--++----++-3[+]\
++--++---3[+]-3[+]' prop
0 'bass_pitch' tseq
22 edo 0.01 port
# bass amp
360 '2(++++)++ 2(++++)++ ++++ +3[+]\
2(++++)++ 2(++++)++ +3[+] +3[+]' prop
0 'bass_amp' tseq 0.2 * saw
1000 0.1 moogladder
+