Debian Codegraph @

examples/multitap.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 multitap.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 ga1 init 0
17
18 instr 1
19
20 asig diskin2 "drumsMlp.wav", 1,0
21 outs asig, asig
22
23 ga1 = ga1+asig
24 endin
25
26 instr 2
27
28 asig multitap ga1, 1.2, .5, 1.4, .2
29 outs asig, asig
30
31 ga1 = 0
32 endin
33
34 </CsInstruments>
35 <CsScore>
36
37 i 1 .5 .2 ; short sound
38 i 2 0 3 ; echoes
39 e
40 </CsScore>
41 </CsoundSynthesizer>