QUICK-REF - CsoundManual - Top of this section - Previous - Contents - Index - Next

Function Declaration Section

The major purpose of this division is to allow you to declare function tables for waveforms, envelopes, etc. These functions are declared exactly as specified for Csound. In fact, everything you type between the brackets in this section will be passed directly to the resulting numeric score with no modification, so that mistakes will not be caught by the Scot program, but rather by the subsequent performance. You can use this section to write notes for instruments for which traditional pitch-rhythm notation is inappropriate. The most common example would be turning on a reverb instrument. Instruments referenced in this way need not appear in the Scot orchestra declaration. Here is a possible function declaration:

     functions {
     f1 0 256 10 1 0 .5 0 .3
     f2 0 256 7 0 64 1 64 .7 64 0
     i9 0 -1 3           ; this turns on instr 9
     }


QUICK-REF - CsoundManual - Top of this section - Previous - Contents - Index - Next

HTML Csound Manual - © Jean Piché & Peter J. Nix, 1994-97