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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

688 MUSICAL ApPLICATIONS OF MICROPROCESSORS<br />

products (see Chapter 20), but the author is opposed to doing this in an<br />

experimental synthesis system from three standpoints. First, common<br />

graphics resolution in the 500 X 300 range and less is simply too low to<br />

provide satisfactory rendition <strong>of</strong> all the various music score marks and still<br />

show more than a few measures at once. Another is that the graphic score<br />

tells what to play but very little about how to play it. Special conventions,<br />

such as horizontal entry <strong>of</strong> one part at a time and a way to refer to voice<br />

definitions, are necessary to insure that notes are matched with the proper<br />

waveforms, envelopes, etc. While'this problem can certainly be overcome in a<br />

system as simple as NOTRAN, one quickly becomes bogged down when<br />

adapting conventional score notation to a more comprehensive synthesis<br />

program. And finally, writing even a minimal score-editor program is a very<br />

large task for an individual to tackle, certainly much larger than the<br />

synthesis routines outlined so far. One can spend months or years to come up<br />

with a good score editor before getting into the sound-synthesis programming<br />

at all!<br />

Keturning to the NOTRAN language as currently defined, it is in<br />

many ways similar to a step-by-step procedural computer language like<br />

FORTRAN or BASIC. Music code in the language is broken up into<br />

individual statements.<br />

Each statement uses one (or more) lines <strong>of</strong> text and almost always starts<br />

with a keyword such as TEMPO or VOICE. The keywords, besides being easy<br />

to read, make it easy for the interpreter to identify the type <strong>of</strong>statement. The<br />

boundaries between statements either denote the passage <strong>of</strong> time or simply<br />

separate blocks <strong>of</strong> information.<br />

NOTRAN statement types can be divided into three different groups.<br />

First, there is the specification group, which is used to define the characteristics<br />

<strong>of</strong> something such as an "instrument." Specification statements are<br />

instantaneous and do not consume any time in the musical performance.<br />

Next, there are control statements, which influence what notes are to be<br />

played and how they are to be played but again they do not consume any<br />

time. Finally, there are note statements that actually cause sound to be<br />

generated. Usually, but not always, a duration is associated with each note.<br />

Later, we will discuss the importance <strong>of</strong> durations in sequencing and coordinating<br />

multiple, simultaneous sounds. NOTRAN statements are executed<br />

sequentially, one after another. The standard language has no provisions for<br />

loops or repeats, etc.; that function is left for a Level 4 macroprocessor.<br />

VOICE Statement<br />

The VOICE statement is a specification statement used to define all <strong>of</strong><br />

the parameters associated with tone-type sounds. Thus, the envelope,<br />

amplitude, and waveform parameters associated with tones must be

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

Saved successfully!

Ooh no, something went wrong!