Debian Codegraph @

src/Examples/FLOSS Manual Examples/05 Sound Modification/05B07_VBAP_layouts.csd

raw
1 <CsoundSynthesizer>
2 <CsOptions>
3 -odac
4 </CsOptions>
5 <CsInstruments>
6 sr = 44100
7 ksmps = 32
8 0dbfs = 1
9 nchnls = 8
10
11 vbaplsinit 2.01, 7, -40, 40, 70, 140, 180, -110, -70
12 vbaplsinit 2.02, 4, -40, 40, 120, -120
13 vbaplsinit 2.03, 3, -70, 180, 70
14
15 instr 1
16 aNoise pinkish 0.5
17 aVbap[] vbap aNoise, line:k(0,p3,-360), 0, 0, 1
18 out aVbap ;layout 1: 7 channel output
19 endin
20
21 instr 2
22 aNoise pinkish 0.5
23 aVbap[] vbap aNoise, line:k(0,p3,-360), 0, 0, 2
24 out aVbap ;layout 2: 4 channel output
25 endin
26
27 instr 3
28 aNoise pinkish 0.5
29 aVbap[] vbap aNoise, line:k(0,p3,-360), 0, 0, 3
30 out aVbap ;layout 3: 3 channel output
31 endin
32
33 </CsInstruments>
34 <CsScore>
35 i 1 0 6
36 i 2 6 6
37 i 3 12 6
38 </CsScore>
39 </CsoundSynthesizer>
40 ;example by joachim heintz