Coding A Song
from Sheet Musio
This section provides a sample piece of sheet music and illustrates
how to decode notes from a musical staff and translate them into a
form the Commodore 128 can understand. This exercise is substan
tially faster and easier if you know how to read music. However, you
don't have to be a musician to be able to play the tune on your Com
modore 128. For those of you who cannot read music, Figure 7-11
shows how a typical musical staff is arranged and how the notes on
the staff are related to the keys on a piano.
Figure 7-11. Musical Staff
Figure 7-12 is an excerpt from a composition titled Invention 13
(Inventio 13 in Italian), by Johann Sebastian Bach. Although this com
position was written a few hundred years ago, it can be played and
enjoyed on the most modern of computer synthesizers, such as the
SID chip in the Commodore 128. Here are the opening measures of
Invention 13.
©COPYRIGHT
SHEET MUSIC COURTESY
OP C.F.PETERS. CORP..
NEW YORK
Inventio 13
u
u
LJ
LJ
U
Figure 7-12. Part of Bach's Invention 13
154
USING C128 MODE-Sound and Music in C128 Mode
Need help?
Do you have a question about the 128D and is the answer not in the manual?
Questions and answers