-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathyop.orc
62 lines (49 loc) · 796 Bytes
/
yop.orc
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
sr = 8000
kr = 80
ksmps = 100
nchnls = 1
ifn ftgen 1, 0, 1024, 7, 0, 256, 1, 512, -1, 256, 0
ifn ftgen 2, 0, 16384, 10, 1
gagasso init 0
gilasso init 100
instr 1
kenv linseg 0,0.1,p4,p3,0
a1 oscil kenv, p5, 1
kgliss linseg gilasso, 0.1, p5
a1 pluck p4,kgliss,p5,0,1
gagasso = a1
gilasso=p5
; out a1
endin
instr 2
kenv linseg 0,p3,p4
kenvq linseg p4,p3,0
a1q oscil kenvq*0.1, gilasso, 2
a1 oscil kenv, p5+a1q, 2
out a1
endin
instr 3
gilasso = p5
endin
instr 4
a1 mpulse 64000, 0.1
gagasso = a1 + gagasso
endin
instr 5
a1 mpulse 64000, 0.11
gagasso = a1 + gagasso
endin
instr 6
a1 tambourine p4, 1,4,0,0,5000,7600,14500
gagasso = a1 + gagasso
endin
instr 10
ares mpulse 64000, 0.1
out ares
endin
instr 100
a1 init 0
a1 delay gagasso,14
out gagasso
gagasso=a1
endin