;  #############################################################
;  soundfile ex2-3, 2-4, 2-5 :         Eastman  Csound Tutorial
;  #############################################################

; control oscillator (k1) used to supply time envelope to audio oscillator
instr 1
k1 oscili p5, 1/p3, p6   ; p5 = amplitude, p6 = function number for envelope

a1 oscili k1, cpspch(p4),p7   ; p4 in pch notation, p7 = function number for
                              ; audio waveshape
out a1
endin


