Debian Codegraph @

examples/vdelay3.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 vdelay3.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 instr 1
17
18 ims = 100 ;maximum delay time in msec
19 aout poscil .8, 220, 1 ;make a signal
20 a2 poscil ims/2, 1/p3, 1 ;make an LFO
21 a2 = a2 + ims/2 ;offset the LFO so that it is positive
22 asig vdelay3 aout, a2, ims ;use the LFO to control delay time
23 outs asig, asig
24
25 endin
26
27 </CsInstruments>
28 <CsScore>
29 f1 0 8192 10 1
30
31 i 1 0 5
32
33 e
34
35 </CsScore>
36 </CsoundSynthesizer>