Debian Codegraph @

examples/clear.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 clear.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 gaReverb init 0
17
18 instr 1
19
20 idur = p3
21 kpitch = p4
22 a1 diskin2 "fox.wav", kpitch
23 a1 = a1*.5 ;reduce volume
24 vincr gaReverb, a1
25 endin
26
27 instr 99 ; global reverb
28 al, ar reverbsc gaReverb, gaReverb, .8, 10000
29 outs gaReverb+al, gaReverb+ar
30
31 clear gaReverb
32
33 endin
34
35 </CsInstruments>
36 <CsScore>
37
38 i1 0 3 1
39 i99 0 5
40 e
41
42 </CsScore>
43 </CsoundSynthesizer>