; Bruce A. Maxwell
; January 2015
;
; An example of a simple oscillator making three notes
;

<CsoundSynthesizer> 
 
<CsOptions> 
-g -W -A -o 3notes.aif 
</CsOptions> 
 
<CsInstruments> 
	instr	1 
a1	oscil	p4, p5, 1 
	out	a1 
	endin 
</CsInstruments> 
 
<CsScore> 
; function table 1
;       index   start   samples GEN     max amplitude
f	1	0	8192	10	1 

; Note	Instr	Start	Dur	Amp	Freq
i       1       0       1        10000  440 
i       1       1       1        3000   660 
i       1       2       1        16000   220 
e
</CsScore> 
 
</CsoundSynthesizer> 
