<CsoundSynthesizer>
<CsInstruments>


sr = 44100      ; audio sampling rate is 44.1 kHz
kr = 44100      ; control rate is 44.1 kHz
ksmps = 1  		; number of samples in a control period=(sr/kr)
nchnls = 1      ; number of channels of audio output  


instr 1;  basic mono sine wave  
		; p3 is duration
		; p4 is freq times 2 pi
		; p5 is amplitude

a1		line 0, p3, p3 	
a2		=	p5*sin(p4*a1)  
		out a2
		endin
		
</CsInstruments>
<CsScore>

i1 0 200 4000 10000
e

</CsScore>
</CsoundSynthesizer>
