Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > 6ed14ebfd686aa32f7956e552aa2e21d > files > 2204

csound-manual-5.13.0-5.fc15.noarch.rpm

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

sr = 44100
kr = 4410
ksmps = 10
nchnls = 1

ga1 init 0

instr 1
a1	oscil	10000, 1000, 1
	out	a1
   
ga1	=	ga1+a1
endin

instr 2
a2	multitap	ga1, 1.2, .5, 1.4, .2
	out	a2
	
ga1	=	0
endin

</CsInstruments>
<CsScore>
; make sinusoid in table 1
f 1 0 4096 10 1

i 1	.5	.1
i 2	0	3
e
</CsScore>
</CsoundSynthesizer>