Debian Codegraph @

examples/gen53.csd

raw
1 <CsoundSynthesizer>
2 <CsOptions>
3 -o dac
4 </CsOptions>
5 <CsInstruments>
6
7
8 instr 1
9
10 a1 diskin "fox.wav"
11 a2 ftconv a1, p5, 256
12 out a2*p4
13
14 endin
15
16 </CsInstruments>
17 <CsScore>
18 ; impulse response
19 f1 0 131072 1 "ir.wav" 0 0 1
20 ; minimum-phase version
21 f2 0 131072 53 1 3
22
23 ; Hann window
24 f3 0 1024 20 1 1
25 ; low-pass frequency response
26 f4 0 1024 7 0 100 0 24 1 900 1
27 ; low-pass linear-phase IR
28 f5 0 2048 53 4 4 3
29
30 ; scale IR
31 i1 0 3 0.25 2
32 i1 + 3 1 5
33 </CsScore>
34 </CsoundSynthesizer>