; Bruce A. Maxwell
; January 2015
;
; An example of some more complex, unshaped sounds
;

<CsoundSynthesizer>

<CsOptions> 
-g -W -o 3unshaped.aif
</CsOptions> 

<CsInstruments>

; instrument
instr    1

a1    oscil    p4*0.4, p5,       1 
a2    oscil    p4*0.2, p5*1.006, 1 
a3    oscil    p4*0.2, p5*0.992, 1 
a4    oscil    p4*0.1, p5*2.0,   1 
a5    oscil    p4*0.1, p5*0.5,   1 
aout     =     a1 + a2 + a3 + a4 + a5
out    aout
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        2000   660 
i       1       2       1       16000   220 
e
</CsScore>

</CsoundSynthesizer>
