File: dctinv.csd

package info (click to toggle)
csound-manual 1%3A6.08.0~dfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 34,580 kB
  • sloc: xml: 193,471; python: 1,332; makefile: 783
file content (21 lines) | stat: -rw-r--r-- 369 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<CsoundSynthesizer>
<CsOptions>
</CsOptions>
<CsInstruments>

instr 1

iArr[] fillarray 1,2,3,4
iDCT[] dct iArr
iiDCT[] dctinv iDCT

prints "%.1f %.1f %.1f %.1f => %.1f %.1f %.1f %.1f\n",
        iArr[0], iArr[1], iArr[2], iArr[3], 
        iiDCT[0], iiDCT[1], iiDCT[2], iiDCT[3]
                
endin
</CsInstruments>
<CsScore>
i1 0 0
</CsScore>
</CsoundSynthesizer>