Debian Codegraph @

examples/freeverb.csd

raw
1 <CsoundSynthesizer>
2 <CsOptions>
3 ; Select audio/midi flags here according to platform
4 ; Audio out Audio in No messages
5 -odac -iadc -d ;;;RT audio I/O
6 ; For Non-realtime ouput leave only the line below:
7 ; -o freeverb.wav -W ;;; for file output any platform
8 </CsOptions>
9 <CsInstruments>
10 sr = 44100
11 ksmps = 32
12 nchnls = 2
13 0dbfs = 1
14
15 instr 1
16 a1 vco2 0.75, 440, 10
17 kfrq port 100, 0.008, 20000
18 a1 butterlp a1, kfrq
19 a2 linseg 0, 0.003, 1, 0.01, 0.7, 0.005, 0, 1, 0
20 a1 = a1 * a2
21 denorm a1
22 aL, aR freeverb a1, a1, 0.9, 0.35, sr, 0
23 outs a1 + aL, a1 + aR
24 endin
25
26 </CsInstruments>
27 <CsScore>
28 i 1 0 5
29 e
30
31 </CsScore>
32 </CsoundSynthesizer>