Debian Codegraph @

examples/cudasynth.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 cudsyth.wav -W ;;; for file output any platform
8 </CsOptions>
9 <CsInstruments>
10
11 sr = 44100
12 ksmps = 64
13 nchnls = 1
14 0dbfs = 1
15
16 i1 ftgen 1,0,512,7,1,512,0.001
17 i2 ftgen 2,0,512,-7,1,512,512
18 i3 ftgen 3,0,16384,10,1
19 schedule 1,0,10
20
21 instr 1
22 a1 cudasynth 0.001, 100,0, 2, 1,128
23 out a1
24
25 endin
26 </CsInstruments>
27 <CsScore>
28 e 10
29 </CsScore>
30 </CsoundSynthesizer>
31