<info>
i is ex2-1
ECMC Csound Tutorial example ex2-1
</info>
<tk_interface>
</tk_interface>
<mono>
;  #############################################################
;  soundfile ex2-1, 2-2         Eastman  Csound Tutorial
;  #############################################################
;Fixed wave form instrument

instr 1
i1 = (p4<15?cpspch(p4):p4)
k1 envlpx p5,p6,p3,p7,60,p8,.01,p9
display k1,p3
a1 oscili k1,i1,p10
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

f1 0 512 7 -1 512 1
f2 0 512 7 -1 256 -1 0 1 256 1
f3 0 512 7 -1 220 -1 36 1 512 1 36 -1
f4 0 512 10 1. 0 .33 0 .2 0 .149 0 .11
f5 0 256 10 1. 0 0 .4 0 0 .65 0 0 0 .3 0 0 0 .18 0 0 .08
f6 0 256 10 0 0 .5 .8 0 0 .7 1. 0 0 .3 .4 0 0 .2 .12
f7 0 256 9 1. 1. 0 2.7 .7 0 5.4 .45 0 8.1 .3 0 10.8 .15 0 13.5 .08 0
f8 0 256 10 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .2 .4 .6 1. .7 .5 .3 .1
f60 0 65 5 .005 64 1
  i1 0.000 2.000 7.00 6000 0.500 0.500 0.100 0 1
  i1 2.000 2.000 7.00 6000 0.100 1.000 0.500 0 2
  i1 4.000 2.000 7.00 6000 0.080 0.800 0.900 0 3
  i1 6.000 2.000 7.00 4000 0.020 0.800 2.500 0 4
  i1 8.000 2.000 7.00 6000 0.500 0.500 0.100 0 5
  i1 10.000 2.000 7.00 6000 0.100 1.000 0.500 0 6
  i1 12.000 2.000 7.00 6000 0.080 0.800 0.900 0 7
  i1 14.000 2.000 7.00 4000 0.020 0.800 2.500 0 8
e
</score>
