Debian Codegraph @

examples/stix.csd

raw
1 <CsoundSynthesizer>
2 <CsOptions>
3 ; Select audio/midi flags here according to platform
4 -odac ;;;realtime audio out
5 ;-iadc ;;;uncomment -iadc if realtime audio input is needed too
6 ; For Non-realtime ouput leave only the line below:
7 ; -o stix.wav -W ;;; for file output any platform
8 </CsOptions>
9 <CsInstruments>
10
11 sr = 44100
12 ksmps = 32
13 0dbfs = 1
14 nchnls = 2
15
16 instr 1
17
18 idamp = p4 ;vary damping amount
19 asig stix .5, 0.01, 30, idamp
20 outs asig, asig
21
22 endin
23 </CsInstruments>
24 <CsScore>
25
26 i1 0 1 .3
27 i1 + 1 >
28 i1 + 1 >
29 i1 + 1 .95
30
31 e
32 </CsScore>
33 </CsoundSynthesizer>