Debian Codegraph @

examples/powershape.csd

raw
1 <CsoundSynthesizer>
2 <CsOptions>
3 ; Select audio/midi flags here according to platform
4 ; Audio out Audio in
5 -odac -iadc ;;;RT audio I/O
6 ; For Non-realtime ouput leave only the line below:
7 ; -o abs.wav -W ;;; for file output any platform
8 </CsOptions>
9 <CsInstruments>
10 instr 1
11 imaxamp = 10000
12 kshapeamt line p5, p3, p6
13 aosc oscili 1.0, cpspch(p4), 1
14 aout powershape aosc, kshapeamt
15 adeclick linseg 0.0, 0.01, 1.0, p3 - 0.06, 1.0, 0.05, 0.0
16
17 out aout * adeclick * imaxamp
18 endin
19
20 </CsInstruments>
21 <CsScore>
22 f1 0 32768 10 1
23
24 i1 0 1 7.00 0.000001 0.8
25 i1 + 0.5 7.02 0.01 1.0
26 i1 + . 7.05 0.5 1.0
27 i1 + . 7.07 4.0 1.0
28 i1 + . 7.09 1.0 10.0
29 i1 + 2 7.06 1.0 25.0
30
31 e
32
33 </CsScore>
34 </CsoundSynthesizer>