DANM 220: Week 5, Thursday, 2/07/08Boulanger's Etude 1, the orchestra file, dissected by ralphHeader section (same for all our csound projects)
Instrument section, six instruments using four wavetables.
Definition of instrument 101
NOTE: The syntax for the "oscil" opcode (from the Csound Dictionary) is: output, opcode, argsso here the output is sent to a wavetable, a1. The args are: ampl, freq, and input wavetable number,so here the amplitude is 10,000, the frquency is 440 cps (A above middle C), and the input is to be taken from wavetable f1, created by the top section of the score file. Definition of instrument 102
NOTE: The args for the "foscil" opcode (from the Csound Dictionary) are xamp, kcps, xcar, xmod, kndx, and ifnso here the amplitude is 10,000 and the carrier (base) frequency is ( kcps * xcar ) = 440 * 1 = 440 as above, and the modulating frequency is ( kcps * xmod ) = 440 * 2 = 880. The index of modulation (read about this in the chapter on FM synthesis) is 3, and ifn (the wavetable) is f1 as above).
Definition of instruments 103-106 (not dissected)
Revised by Ralph, 07 February 2008 |