Debian Codegraph @

examples/wgbowedbar.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 RT audio input is needed too
6 ; For Non-realtime ouput leave only the line below:
7 ; -o wgbowedbar.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 kp = p6
19 asig wgbowedbar p4, cpspch(p5), 1, kp, 0.995
20 outs asig, asig
21
22 endin
23 </CsInstruments>
24 <CsScore>
25 s
26 i1 0 .5 .5 7.00 .1 ;short sound
27 i1 + . .3 8.00 .1
28 i1 + . .5 9.00 .1
29 s
30 i1 0 .5 .5 7.00 1 ;longer sound
31 i1 + . .3 8.00 1
32 i1 + . .5 9.00 1
33
34 e
35 </CsScore>
36 </CsoundSynthesizer>
37