Debian Codegraph @

examples/sleighbells.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 sleighbells.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
17 instr 1
18
19 idamp = p4
20 asig sleighbells .7, 0.01, 32, idamp, 0.55
21 outs asig, asig
22
23 endin
24 </CsInstruments>
25 <CsScore>
26
27 i 1 0.00 0.25 0 ;short sound
28 i 1 0.30 0.25
29 i 1 0.60 0.25
30 i 1 0.90 0.25
31 i 1 1.20 0.25
32 i 1 1.50 1 .3 ;longer sound
33 i 1 1.80 0.25 0 ;short sound again
34 i 1 2.10 0.25
35 i 1 2.40 0.25
36 i 1 2.70 0.25
37 i 1 3.00 0.25
38 e
39
40 </CsScore>
41 </CsoundSynthesizer>