Debian Codegraph @

examples/tonex.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 tonex.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 asig diskin2 "drumsMlp.wav", 1
19 outs asig, asig
20 endin
21
22 instr 2
23
24 kton line 10000, p3, 0 ;all the way down to 0 Hz
25 asig diskin2 "drumsMlp.wav", 1
26 asig tonex asig, kton, 8 ;8 filters
27 outs asig, asig
28 endin
29 </CsInstruments>
30 <CsScore>
31
32 i 1 0 2
33 i 2 3 2
34
35 e
36 </CsScore>
37 </CsoundSynthesizer>