; Adapted from Richard Boulanger's toots
sr = 44100
ksmps = 128
nchnls = 2
0dbfs = 1
instr 3
; p3=duration of note
k1 linen p4, p6, p3, p7 ; p4=amp
a1 oscil k1, p5, 1 ; p5=freq
outs a1, a1 ; p6=attack time
; p7=release time
endin
; number time size GEN p1
f 1 0 4096 10 1 ; use GEN10 to compute a sine wave
;ins strt dur amp(p4) freq(p5) attack(p6) release(p7)
i3 0 1 0.2 440 0.5 0.7
i3 1.5 1 0.2 440 0.9 0.1
i3 3 1 0.1 880 0.02 0.99
i3 4.5 1 0.1 880 0.7 0.01
i3 6 2 0.3 220 0.5 0.5
e ; indicates the end of the score
765
345
397
458
true
7
95
162
14
12
100
29
{808f9a35-1a37-4b14-b482-c2b0cba7feaa}
true
0
-3
left
DejaVu Sans
18
3
241
241
241
255
255
255
noborder
1
1
14
43
364
98
{1e6cb9d6-914e-4a81-91b3-f06b6ca68110}
true
0
-3
left
DejaVu Sans
12
3
241
241
241
255
255
255
noborder
1
1
50
313
292
96
{ccd4c50c-ce92-4673-b477-873feffe0e4f}
true
0
-3
-255.00000000
scope
2.00000000
1.00000000
1.00000000
1.00000000
0.00000000
13
147
364
161
{e5338a55-fcce-4140-9013-5e1221f221f2}
true
0
-3
left
DejaVu Sans
12
3
241
241
241
255
255
255
noborder
1
1