<info>
i is ex2-3
ECMC Csound Tutorial example ex2-3
</info>
<tk_interface>
</tk_interface>
<mono>
;  #############################################################
;  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


</mono>
<stereo>
</stereo>
<score>

                  SCORE-11, Version 1.4
Copyright (C) 1982, 1990, 1992, 1995 by Alexander R. Brinkman
     Eastman School of Music, University of Rochester

f52 0 65 7 0 32 1. 32 0
f62 0 65 5 .001 32 1. 32 .001
f21 0 65 5 .001 4 .8 10 1. 10 .7 40 .001
f12 0 512 10 1. 0 .33 0 .13 0 .07
  i1 0.000 3.000 7.00 8000 52 12
  i1 3.000 3.000 7.00 8000 62 12
  i1 6.000 3.000 7.00 8000 21 12
e
</score>
