Nick sent these to me on Oct 5, 2002. (1) The BBEdit files had lots of extraneous characters; I'm not sure he was saving them as text. (2) Cleaned 'em up, saved to disk, ran command line csound: ---------------------------- [mahoney@cs csound]$ csound -m7 -d -A -o choscil.aif choscil.orc choscil.sco Using default language 0dBFS level = 32767.0 Csound Version 4.21 (Oct 6 2002) orchname: choscil.orc scorename: choscil.sco sorting score ... ... done orch compiler: 23 lines read instr 120 Csound Version 4.21 (Oct 6 2002) displays suppressed 0dBFS level = 32767.0 orch now loaded audio buffered in 1024 sample-frame blocks SFDIR undefined. using current directory writing 2048-byte blks of shorts to choscil.aif (AIFF) SECTION 1: ftable 1: ftable 2: ftable 3: ftable 4: ftable 5: ftable 6: new alloc for instr 120: INIT ERROR in instr 120: rise func ends with zero kenv envlpx iamp iatk idur irel iatkfun .7 .01 0 B 0.000 - note deleted. i120 had 1 init errors end of score. overall amps:Csound tidy up: Segmentation fault ------------------------------- Looks like the "kenv" function is expecting another argument, and filling in zero when it doesn't get it. Either its definition has changed, or the book has a typo. Changing that line to kenv envlpx iamp, iatk, idur, irel, iatkfun, .7, .01, 3.0 and running again gives " INIT ERROR in inst 120: ixmod out of range. " ------------------------------- Looks like its time to find the "kenv" documentation. Hmmm. Looks like it's just a temporary variable (!?) The envlpx documentation says the eigth argument is optional and default is 0 Typical is -.9