Debian Codegraph @

examples/autocorr.csd

raw
1 <CsoundSynthesizer>
2 <CsOptions>
3 -odac -d
4 </CsOptions>
5 <CsInstruments>
6
7 0dbfs = 1
8
9 instr 1
10 kin[] fillarray 1,0,1,0,1,0,1
11 kout[] autocorr kin
12 kcnt init 0
13 while kcnt < lenarray(kout) do
14 printk2 kout[kcnt]
15 kcnt += 1
16 od
17 turnoff
18 endin
19
20 </CsInstruments>
21 <CsScore>
22 i1 0 1
23 </CsScore>
24 </CsoundSynthesizer>