Debian Codegraph @

examples/reinit.csd

raw
1 <CsoundSynthesizer>
2 <CsOptions>
3 ; Select audio/midi flags here according to platform
4 ; Audio out Audio in
5 -odac ;;;RT audio out
6 ; For Non-realtime ouput leave only the line below:
7 ; -o reinit.wav -W ;;; for file output any platform
8 </CsOptions>
9 <CsInstruments>
10
11 sr = 44100
12 ksmps = 32
13 nchnls = 2
14 0dbfs = 1
15
16 instr 1
17
18 reset:
19 timout 0, p3/p4, contin
20 reinit reset
21
22 contin:
23 kLine expon 440, p3/p4, 880
24 aSig poscil 1, kLine
25 outs aSig, aSig
26 rireturn
27
28 endin
29
30 </CsInstruments>
31 <CsScore>
32
33 i1 0 10 10
34 i1 + 10 50
35 e
36 </CsScore>
37 </CsoundSynthesizer>