<CsoundSynthesizer>
<CsOptions>
; Select audio/midi flags here according to platform
; Audio out   Audio in   No messages  MIDI in
-odac           -iadc     -d         ;;;RT audio I/O with MIDI in
; For Non-realtime ouput leave only the line below:
; -o pan.wav -W ;;; for file output any platform
</CsOptions>
<CsInstruments>
; 4 channel
sr	= 44100
kr	= 441	
ksmps	= 100
nchnls	= 4

	instr 1

k1	phasor	.2			; "fraction" of circle - controls speed of rotation - can be negative
k2	tablei	k	1, 1, 1 			; sin of angle (sinusoid in f1)
k3 	tablei	k	1, 1, 1, .25, 1		; cos of angle (sin offset 1/4 circle)
asig	rand 10000		; audio signal.. 

a1,a2,a3,a4 pan	asig, k2/2, k3/2, 2, 1, 1	; sent in a circle (f2=1st quad sin)
	outq	a1, a2, a3, a4

	endin


</CsInstruments>
<CsScore>

f1 0 8192 10 1
f2 0 8193 9 .25 1 0

i1 0 10
e

</CsScore>
</CsoundSynthesizer>
