22.09.2015 Views

of Microprocessors

Musical-Applications-of-Microprocessors-2ed-Chamberlin-H-1987

Musical-Applications-of-Microprocessors-2ed-Chamberlin-H-1987

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

SOME REAL ApPLICATIONS 755<br />

generate the contents <strong>of</strong> a numbered F table. The standard C-MUSIC<br />

function generator programs are identified by number; thus, GEN2 is a<br />

Fourier series waveform generator, while GEN3 is a line segment generator<br />

useful for defining envelope shapes. The reason for this is historical; userwritten<br />

function generators can have any desired name. Figure 19-18<br />

outlines the five standard GEN programs. The length <strong>of</strong> tables produced by<br />

the GEN programs can be specified with the SET FUNCLENGTH<br />

statement (in the options section) and defaults to 1024. Table lookups<br />

performed by the unit generators almost never use interpolation, since it is<br />

much slower and adequate memory is usually available for long tables.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!