<CsoundSynthesizer>
<CsOptions>
; Select audio/midi flags here according to platform
; Audio out   Audio in
-odac           -iadc    ;;;RT audio I/O
; For Non-realtime ouput leave only the line below:
; -o vdelay.wav -W ;;; for file output any platform
</CsOptions>
<CsInstruments>

; Initialize the global variables.
sr = 44100
kr = 4410
ksmps = 10
nchnls = 2

instr 1 

ims	=	100             ; Maximum delay time in msec
a1	oscil	10000, 1737, 1  ; Make a signal
a2	oscil	ims/2, 1/p3, 1  ; Make an LFO
a2	=	a2 + ims/2      ; Offset the LFO so that it is positive
a3	vdelay	a1, a2, ims     ; Use the LFO to control delay time
	outs	a3, a3

endin

</CsInstruments>
<CsScore>
f1 0 8192 10 1

i 1 0 5 

e

</CsScore>
</CsoundSynthesizer> 