Debian Codegraph @

examples/tabifd.csd

raw
1 <CsoundSynthesizer>
2 <CsOptions>
3 ; Select audio/midi flags here according to platform
4 -odac ;;;realtime audio out
5 ;-iadc ;;;uncomment -iadc if realtime audio input is needed too
6 ; For Non-realtime ouput leave only the line below:
7 ; -o tabifd.wav -W ;;; for file output any platform
8 </CsOptions>
9 <CsInstruments>
10 sr=44100
11 ksmps=1
12 nchnls=1
13 opcode TrackPlay, a, kkiiii
14 ktime,kthr,isiz,ihsiz,ifcos,ifn xin
15 idel = isiz-ihsiz*(isiz/(2*ihsiz)-1)
16 ffr,fphs tabifd ktime,10000,1, isiz, ihsiz, 1, ifn
17 ftrk partials ffr, fphs,kthr, 1, 1, 500
18 aout tradsyn ftrk, 2,1, 500, ifcos
19 xout aout
20 endop
21 instr 1
22 p3 = ftlen(2)/sr
23 ktime line 0,p3,p3
24 ares TrackPlay ktime, 0.003,2048,256,1,2
25 outs ares
26 endin
27
28 </CsInstruments>
29 <CsScore>
30 f1 0 16384 9 1 1 90
31 f2 0 0 1 "fox.wav" 0 0 1
32 i1 0 1
33 </CsScore>
34 </CsoundSynthesizer>
35
36