Debian Codegraph @

examples/tab.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 tab.wav -W ;;; for file output any platform
8 </CsOptions>
9 <CsInstruments>
10
11 sr = 44100
12 ksmps = 32
13 nchnls = 2
14 0dbfs = 1
15
16 gifn1 ftgen 1, 0, 0, 1, "flute.aiff", 0, 0, 0 ;deferred-size table
17
18 instr 1
19
20 atab init 0
21 isize tableng 1 ;length of table?
22 print isize
23 andx phasor 1 / (isize / sr)
24 asig tab andx, 1, 1 ;has a 0 to 1 range
25 outs asig, asig
26
27 endin
28 </CsInstruments>
29 <CsScore>
30
31 i 1 0 2.3
32 e
33 </CsScore>
34 </CsoundSynthesizer>