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.

MUSIC SYNTHESIS SOFTWARE 695<br />

executed. When staccato is specified, the sustain duration is made unconditionally<br />

zero.<br />

Obviously, with so many options in statement construction, a great<br />

variety <strong>of</strong> note specifications is possible. Below is a list <strong>of</strong> some legal specifications<br />

and how they are interpreted:<br />

97 3C4Q Voice 3, middle C, quarter note duration (the 97 is a tag<br />

and is not processed)<br />

4E@4E. Voice 4, E-flat just above middle C, dotted eighth duration<br />

(equivalent to 3/16)<br />

2F#3S3S Voice 2, F-sharp just below middle C, part <strong>of</strong> a sixteenth<br />

note triplet in which three notes take the time normally<br />

required by two <strong>of</strong> them. Staccato articulation.<br />

19B@5Q3.. S What a mess! The duration should evaluate to 1/4 X 2/3 X<br />

3/2 X 3/2 = 9/24. Voice 19 and staccato articulation are<br />

specified.<br />

In a long score, much <strong>of</strong> this information seems to be redundant. For example,<br />

a melody line might run for dozens <strong>of</strong> notes in the same octave, yet the<br />

octave number must be specified for each note. If it weren't for the fact that<br />

several notes with the same voice ID can be playing simultaneously, it would<br />

be easy to have the NOTRAN interpreter assume octave numbers. Ofcourse,<br />

the melody could just as well be split between two octaves and such assumptions<br />

would probably lead to numerous errors. Again, a general solution to<br />

this and other redundancies is left to the reader.<br />

Percussive note specifications are much simpler than tones because only<br />

the voice number really has to be specified. The form: Pn is used where the P<br />

signals a percussive voice and n refers to the ID <strong>of</strong> a percussive voice definition.<br />

For convenience in certain situations, a duration specification identical<br />

to that described above can be appended.<br />

Sequencing and Overlap<br />

Now that the events themselves are fully specified, all that remains is to<br />

define their sequencing, which relies on just two simple, but very powerful,<br />

concepts. The first is that every note statement represents a distinct point in<br />

time. These time points are in the same sequence as the note statements. All<br />

<strong>of</strong> the events within a single note statement start at the point in time<br />

corresponding to the statement. Once started, each event runs for its duration<br />

and stops when finished, completely independent <strong>of</strong> other events started by<br />

this or earlier statements.<br />

The second key concept involves spacing <strong>of</strong> the time points. Simply<br />

put, the shortest specified duration in a note statement determines the amount<br />

<strong>of</strong> real time that elapses until the next note statement is executed. Thus, if a<br />

note statement specifies a quarter-note event, two eighth-note events, and a<br />

sixteenth-note event, time equal to a sixteenth-note duration will elapse

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

Saved successfully!

Ooh no, something went wrong!