Debian Codegraph @

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

raw
1 <CsoundSynthesizer>
2 <CsOptions>
3 -odac
4 --env:SSDIR+=../../SourceMaterials
5 </CsOptions>
6 <CsInstruments>
7 sr = 44100
8 ksmps = 32
9 0dbfs = 1
10 nchnls = 8 ;only channels 1-7 used
11
12 vbaplsinit 2, 7, -40, 40, 70, 140, 180, -110, -70
13
14 instr 1
15 Sfile = "ClassGuit.wav"
16 p3 filelen Sfile
17 aSnd[] diskin Sfile
18 kAzim line 0, p3, -360 ;counterclockwise
19 aVbap[] vbap aSnd[0], kAzim
20 out aVbap ;7 channel output via array
21 endin
22 </CsInstruments>
23 <CsScore>
24 i 1 0 1
25 </CsScore>
26 </CsoundSynthesizer>
27 ;example by joachim heintz