Debian Codegraph @

examples/cudasliding.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 cudaslidig.wav -W ;;; for file output any platform
8 </CsOptions>
9 <CsInstruments>
10
11 sr = 44100
12 ksmps = 64
13 0dbfs = 1
14 nchnls = 2
15
16
17 instr 1
18 asig = diskin:a("flutec3.wav",1,0,1)
19 amod = oscil:a(1,3)
20 asig2 = cudasliding(asig,amod)
21 asig = linenr(asig2,0.005,0.01,0.01)
22 out(asig)
23 endin
24
25
26
27 </CsInstruments>
28 <CsScore>
29 i1 0 60
30
31 </CsScore>
32 </CsoundSynthesizer>
33