Debian Codegraph @

src/Examples/FLOSS Manual Examples/09 Csound in other Applications/09A02_pdcs_live_in.csd

raw
1 <CsoundSynthesizer>
2 <CsOptions>
3 </CsOptions>
4 <CsInstruments>
5 sr = 44100
6 0dbfs = 1
7 ksmps = 8
8 nchnls = 2
9
10 instr 1
11 aL inch 1
12 aR inch 2
13 kcfL randomi 100, 1000, 1; center frequency
14 kcfR randomi 100, 1000, 1; for band pass filter
15 aFiltL butterbp aL, kcfL, kcfL/10
16 aoutL balance aFiltL, aL
17 aFiltR butterbp aR, kcfR, kcfR/10
18 aoutR balance aFiltR, aR
19 outch 1, aoutL
20 outch 2, aoutR
21 endin
22
23 </CsInstruments>
24 <CsScore>
25 i 1 0 10000
26 </CsScore>
27 </CsoundSynthesizer>
28 ;example by joachim heintz