Home » Personal collection » Acorn ADFS disks » Electron_User_Group » EUG_34.ADF » P/+Mtext1

P/+Mtext1

This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.

Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.

Tape/disk: Home » Personal collection » Acorn ADFS disks » Electron_User_Group » EUG_34.ADF
Filename: P/+Mtext1
Read OK:
File size: 191E bytes
Load address: 2B206576
Exec address: 7865744D
File contents
B TO MIDDLE C 2 OCTAVES 

I have found a program which will play a tune while other programs are
being run. 

The program is included on this disc. I was trying to compose a different
tune for the program and decided I needed a music writing program.

It is really so easy for anyone with even a simple idea of BBC BASIC to
understand how it works. But first how to use the program.

The program will produce 2 octaves of tones starting from middle C and
include all naturals and sharps. It will draw a staff and place the notes
correctly onto the staff.

The tune can be played back by pressing P.

The playback is based upon the BASIC command SOUND. It has 4 main
parameters after it. The first is the sound channel. This is set to 1. The
second is the volume. This is set to maximum, ie -15 mainly because the
Electron doesn't allow this parameter to be varied. The third id the
actual tone or note and the forth is the length or duration if each note.

Initially the duration of each note is set to 6 which is OK for three
blind mice but not much use for anything else. The duration of each note
can be altered by pressing /. You then tap the space bar for each note,
holding it down for as long as you want the note to last.

Note I have a bug here. When pressing the SPACE BAR for the first note
press it quickly to keep the duration short otherwise the rest of this
procedure doesn't work properly. Can anyone find out what can be done with
this?

As each note is played its pitch and duration values are printed onto the
screen.

The edited tune can then be played back again by pressing P. If it's fine
then copy the numbers down onto a piece of paper and transfer them to the
music playing program. Otherwise you can re-edit it by pressing / again or
re-compose the whole tune by pressing -

The biggest problem was to find a way to make a typewriter keyboard
effectivly produce musical notes in a logical manner, preferably
chromatically, in the fashion of a piano. 

This is the sequence. It is included in the program so don't worry too
much about trying to remember it.

note played      A#  G#  F#      D#  C#  |      A#  G#  F#      D#  C#
                                         |
key to press     2   3   4       6   7   |      S   D   F       H   J                                         |
key to press  Q   W   E   R   T   Y   U  |   Z   X   C   V   B   N   M

note played   B   A   G   F   E   D   C  |   B   A   G   F   E   D   C

Here the two octaves are split the higher one being on the top two rows
the lower being on the bottom two.

Think of the notes as flowing from one end down to the other and
remember that the top octave stops at U the bottom stops at M, the sharps
can be remembered by avoiding keys 1 and 5 and A and G

If you do press the wrong key nothing will happen anyway.

When you have composed your symphony, press P to hear it, then either
press - to re-do it or / to edit the duration of each note.

So much for instruction. Now the program itself.

I first wrote this simple program which will play the notes and print out
the relevant numbers to transfer to the second program.

10CLS
20b%=0
30*FX11,0
40REPEAT:a%=INSTR(" AWSDRFTGHUJIKOL;"GET$)
50IF a%=0 d%=0 ELSE d%=5
60IF a%=1 d%=0 ELSE b%=(a%*4)+40
70SOUND1,-15,b%,d%
80PRINTb%
90UNTIL a%=108

The SOUND command has 4 values after it, the first is the channel, the
second is the volume, the third is the pitch, the fourth the duration.

Line 40 is used in the EUG menu program. The GET$ command waits for a key
to be pressed and if that key is one of those listed between the quotes it
will assign a value to a% equal to the numerical position of the letter,
for example if S is pressed a%=4, ; and a%=17, SPACE and a%=1. The items
between the quotes 

Line 50 says if a%=0 that is any key other than one of those listed is
pressed then d%=0 so the duration of the sound is 0 so no sound. Any other
value for a% and d%=5 so the sound will last 5 x 0.05 seconds.

Line 60 says if a%=1, d%=0. The easiest way to explain the need for this
is to write line 40 without the initial space and to leafe out line 60
except what comes after ELSE. Provided a% does not equal 0 or 1 d% will
equal 5 and b% will equal a% times 4 then plus 40. As with arithmetic,
sums in brackets are done first. 

So if key A is pressed, A is the second item therefore a%=2. 2X4=8 8+40=48 
b%=48 and the SOUND command can be executed, playing the note B for 1/4
second.

Line 80 prints b% onto the screen so that it can be copied down.

Line 90 tests for Z being pressed, Z will end the program.

Now that is fine as far as it goes. But wouldn't it be so much nicer if as
well as producing the correct sound and the numbers for the accompaniment
program we could also produce a staff with the notes positioned correctly
Then when someone comes in to find out what all the noise is about they
can be suitably impressed and leave thinking that you might just be the
next Noel Galachger!!

It would be even nicer if this could be done easily. Well it can, the
program is simple to understand and even simpler to use.

First problem, draw the staff.

The keyboard provides 2 characters which will draw horizontal lines; minus
- and underline _ . Either of these might work but then you are left with
the problem of what to use for the musical notes. Using minus o will be on
the centre of the line, fine for E G B D and F not much use for F A C and
E .

We could use MOVE and DRAW.

10 MODE4
20 MOVE 0,1010
30 DRAW 1200,1010
40 MOVE 0,945
50 DRAW 1200,945
60 PRINTTAB(0,0)"O"
70 PRINTTAB(1,1)"O"

This will draw nice lines and the notes are correctly positioned. In
practice the figures would be substituted with variables so that all 5
lines and the notes could be calculated and drawn arithmetically. 

The lines are infact graphics characters and the spacing is quite wide.
Another problem is if you want to print out a hard copy to show the rest
of the band you will need to use a graphic screen dump and the resolution
with many printers is not that good.

The other option is to use the keyboard character underline. Here the
notes would need to be defined using VDU23. VDU23 characters can be called
using CHR$ and many printers will allow their character sets to be
redefined so the next number one hit might be printed out using text
printing, fast and sharp.

(I read a quote from Shaken' Stevens once, (remember him?) 
"My last hit was a flop!")

00000000  0d 42 20 54 4f 20 4d 49  44 44 4c 45 20 43 20 32  |.B TO MIDDLE C 2|
00000010  20 4f 43 54 41 56 45 53  20 0d 0d 49 20 68 61 76  | OCTAVES ..I hav|
00000020  65 20 66 6f 75 6e 64 20  61 20 70 72 6f 67 72 61  |e found a progra|
00000030  6d 20 77 68 69 63 68 20  77 69 6c 6c 20 70 6c 61  |m which will pla|
00000040  79 20 61 20 74 75 6e 65  20 77 68 69 6c 65 20 6f  |y a tune while o|
00000050  74 68 65 72 20 70 72 6f  67 72 61 6d 73 20 61 72  |ther programs ar|
00000060  65 0d 62 65 69 6e 67 20  72 75 6e 2e 20 0d 0d 54  |e.being run. ..T|
00000070  68 65 20 70 72 6f 67 72  61 6d 20 69 73 20 69 6e  |he program is in|
00000080  63 6c 75 64 65 64 20 6f  6e 20 74 68 69 73 20 64  |cluded on this d|
00000090  69 73 63 2e 20 49 20 77  61 73 20 74 72 79 69 6e  |isc. I was tryin|
000000a0  67 20 74 6f 20 63 6f 6d  70 6f 73 65 20 61 20 64  |g to compose a d|
000000b0  69 66 66 65 72 65 6e 74  0d 74 75 6e 65 20 66 6f  |ifferent.tune fo|
000000c0  72 20 74 68 65 20 70 72  6f 67 72 61 6d 20 61 6e  |r the program an|
000000d0  64 20 64 65 63 69 64 65  64 20 49 20 6e 65 65 64  |d decided I need|
000000e0  65 64 20 61 20 6d 75 73  69 63 20 77 72 69 74 69  |ed a music writi|
000000f0  6e 67 20 70 72 6f 67 72  61 6d 2e 0d 0d 49 74 20  |ng program...It |
00000100  69 73 20 72 65 61 6c 6c  79 20 73 6f 20 65 61 73  |is really so eas|
00000110  79 20 66 6f 72 20 61 6e  79 6f 6e 65 20 77 69 74  |y for anyone wit|
00000120  68 20 65 76 65 6e 20 61  20 73 69 6d 70 6c 65 20  |h even a simple |
00000130  69 64 65 61 20 6f 66 20  42 42 43 20 42 41 53 49  |idea of BBC BASI|
00000140  43 20 74 6f 0d 75 6e 64  65 72 73 74 61 6e 64 20  |C to.understand |
00000150  68 6f 77 20 69 74 20 77  6f 72 6b 73 2e 20 42 75  |how it works. Bu|
00000160  74 20 66 69 72 73 74 20  68 6f 77 20 74 6f 20 75  |t first how to u|
00000170  73 65 20 74 68 65 20 70  72 6f 67 72 61 6d 2e 0d  |se the program..|
00000180  0d 54 68 65 20 70 72 6f  67 72 61 6d 20 77 69 6c  |.The program wil|
00000190  6c 20 70 72 6f 64 75 63  65 20 32 20 6f 63 74 61  |l produce 2 octa|
000001a0  76 65 73 20 6f 66 20 74  6f 6e 65 73 20 73 74 61  |ves of tones sta|
000001b0  72 74 69 6e 67 20 66 72  6f 6d 20 6d 69 64 64 6c  |rting from middl|
000001c0  65 20 43 20 61 6e 64 0d  69 6e 63 6c 75 64 65 20  |e C and.include |
000001d0  61 6c 6c 20 6e 61 74 75  72 61 6c 73 20 61 6e 64  |all naturals and|
000001e0  20 73 68 61 72 70 73 2e  20 49 74 20 77 69 6c 6c  | sharps. It will|
000001f0  20 64 72 61 77 20 61 20  73 74 61 66 66 20 61 6e  | draw a staff an|
00000200  64 20 70 6c 61 63 65 20  74 68 65 20 6e 6f 74 65  |d place the note|
00000210  73 0d 63 6f 72 72 65 63  74 6c 79 20 6f 6e 74 6f  |s.correctly onto|
00000220  20 74 68 65 20 73 74 61  66 66 2e 0d 0d 54 68 65  | the staff...The|
00000230  20 74 75 6e 65 20 63 61  6e 20 62 65 20 70 6c 61  | tune can be pla|
00000240  79 65 64 20 62 61 63 6b  20 62 79 20 70 72 65 73  |yed back by pres|
00000250  73 69 6e 67 20 50 2e 0d  0d 54 68 65 20 70 6c 61  |sing P...The pla|
00000260  79 62 61 63 6b 20 69 73  20 62 61 73 65 64 20 75  |yback is based u|
00000270  70 6f 6e 20 74 68 65 20  42 41 53 49 43 20 63 6f  |pon the BASIC co|
00000280  6d 6d 61 6e 64 20 53 4f  55 4e 44 2e 20 49 74 20  |mmand SOUND. It |
00000290  68 61 73 20 34 20 6d 61  69 6e 0d 70 61 72 61 6d  |has 4 main.param|
000002a0  65 74 65 72 73 20 61 66  74 65 72 20 69 74 2e 20  |eters after it. |
000002b0  54 68 65 20 66 69 72 73  74 20 69 73 20 74 68 65  |The first is the|
000002c0  20 73 6f 75 6e 64 20 63  68 61 6e 6e 65 6c 2e 20  | sound channel. |
000002d0  54 68 69 73 20 69 73 20  73 65 74 20 74 6f 20 31  |This is set to 1|
000002e0  2e 20 54 68 65 0d 73 65  63 6f 6e 64 20 69 73 20  |. The.second is |
000002f0  74 68 65 20 76 6f 6c 75  6d 65 2e 20 54 68 69 73  |the volume. This|
00000300  20 69 73 20 73 65 74 20  74 6f 20 6d 61 78 69 6d  | is set to maxim|
00000310  75 6d 2c 20 69 65 20 2d  31 35 20 6d 61 69 6e 6c  |um, ie -15 mainl|
00000320  79 20 62 65 63 61 75 73  65 20 74 68 65 0d 45 6c  |y because the.El|
00000330  65 63 74 72 6f 6e 20 64  6f 65 73 6e 27 74 20 61  |ectron doesn't a|
00000340  6c 6c 6f 77 20 74 68 69  73 20 70 61 72 61 6d 65  |llow this parame|
00000350  74 65 72 20 74 6f 20 62  65 20 76 61 72 69 65 64  |ter to be varied|
00000360  2e 20 54 68 65 20 74 68  69 72 64 20 69 64 20 74  |. The third id t|
00000370  68 65 0d 61 63 74 75 61  6c 20 74 6f 6e 65 20 6f  |he.actual tone o|
00000380  72 20 6e 6f 74 65 20 61  6e 64 20 74 68 65 20 66  |r note and the f|
00000390  6f 72 74 68 20 69 73 20  74 68 65 20 6c 65 6e 67  |orth is the leng|
000003a0  74 68 20 6f 72 20 64 75  72 61 74 69 6f 6e 20 69  |th or duration i|
000003b0  66 20 65 61 63 68 20 6e  6f 74 65 2e 0d 0d 49 6e  |f each note...In|
000003c0  69 74 69 61 6c 6c 79 20  74 68 65 20 64 75 72 61  |itially the dura|
000003d0  74 69 6f 6e 20 6f 66 20  65 61 63 68 20 6e 6f 74  |tion of each not|
000003e0  65 20 69 73 20 73 65 74  20 74 6f 20 36 20 77 68  |e is set to 6 wh|
000003f0  69 63 68 20 69 73 20 4f  4b 20 66 6f 72 20 74 68  |ich is OK for th|
00000400  72 65 65 0d 62 6c 69 6e  64 20 6d 69 63 65 20 62  |ree.blind mice b|
00000410  75 74 20 6e 6f 74 20 6d  75 63 68 20 75 73 65 20  |ut not much use |
00000420  66 6f 72 20 61 6e 79 74  68 69 6e 67 20 65 6c 73  |for anything els|
00000430  65 2e 20 54 68 65 20 64  75 72 61 74 69 6f 6e 20  |e. The duration |
00000440  6f 66 20 65 61 63 68 20  6e 6f 74 65 0d 63 61 6e  |of each note.can|
00000450  20 62 65 20 61 6c 74 65  72 65 64 20 62 79 20 70  | be altered by p|
00000460  72 65 73 73 69 6e 67 20  2f 2e 20 59 6f 75 20 74  |ressing /. You t|
00000470  68 65 6e 20 74 61 70 20  74 68 65 20 73 70 61 63  |hen tap the spac|
00000480  65 20 62 61 72 20 66 6f  72 20 65 61 63 68 20 6e  |e bar for each n|
00000490  6f 74 65 2c 0d 68 6f 6c  64 69 6e 67 20 69 74 20  |ote,.holding it |
000004a0  64 6f 77 6e 20 66 6f 72  20 61 73 20 6c 6f 6e 67  |down for as long|
000004b0  20 61 73 20 79 6f 75 20  77 61 6e 74 20 74 68 65  | as you want the|
000004c0  20 6e 6f 74 65 20 74 6f  20 6c 61 73 74 2e 0d 0d  | note to last...|
000004d0  4e 6f 74 65 20 49 20 68  61 76 65 20 61 20 62 75  |Note I have a bu|
000004e0  67 20 68 65 72 65 2e 20  57 68 65 6e 20 70 72 65  |g here. When pre|
000004f0  73 73 69 6e 67 20 74 68  65 20 53 50 41 43 45 20  |ssing the SPACE |
00000500  42 41 52 20 66 6f 72 20  74 68 65 20 66 69 72 73  |BAR for the firs|
00000510  74 20 6e 6f 74 65 0d 70  72 65 73 73 20 69 74 20  |t note.press it |
00000520  71 75 69 63 6b 6c 79 20  74 6f 20 6b 65 65 70 20  |quickly to keep |
00000530  74 68 65 20 64 75 72 61  74 69 6f 6e 20 73 68 6f  |the duration sho|
00000540  72 74 20 6f 74 68 65 72  77 69 73 65 20 74 68 65  |rt otherwise the|
00000550  20 72 65 73 74 20 6f 66  20 74 68 69 73 0d 70 72  | rest of this.pr|
00000560  6f 63 65 64 75 72 65 20  64 6f 65 73 6e 27 74 20  |ocedure doesn't |
00000570  77 6f 72 6b 20 70 72 6f  70 65 72 6c 79 2e 20 43  |work properly. C|
00000580  61 6e 20 61 6e 79 6f 6e  65 20 66 69 6e 64 20 6f  |an anyone find o|
00000590  75 74 20 77 68 61 74 20  63 61 6e 20 62 65 20 64  |ut what can be d|
000005a0  6f 6e 65 20 77 69 74 68  0d 74 68 69 73 3f 0d 0d  |one with.this?..|
000005b0  41 73 20 65 61 63 68 20  6e 6f 74 65 20 69 73 20  |As each note is |
000005c0  70 6c 61 79 65 64 20 69  74 73 20 70 69 74 63 68  |played its pitch|
000005d0  20 61 6e 64 20 64 75 72  61 74 69 6f 6e 20 76 61  | and duration va|
000005e0  6c 75 65 73 20 61 72 65  20 70 72 69 6e 74 65 64  |lues are printed|
000005f0  20 6f 6e 74 6f 20 74 68  65 0d 73 63 72 65 65 6e  | onto the.screen|
00000600  2e 0d 0d 54 68 65 20 65  64 69 74 65 64 20 74 75  |...The edited tu|
00000610  6e 65 20 63 61 6e 20 74  68 65 6e 20 62 65 20 70  |ne can then be p|
00000620  6c 61 79 65 64 20 62 61  63 6b 20 61 67 61 69 6e  |layed back again|
00000630  20 62 79 20 70 72 65 73  73 69 6e 67 20 50 2e 20  | by pressing P. |
00000640  49 66 20 69 74 27 73 20  66 69 6e 65 0d 74 68 65  |If it's fine.the|
00000650  6e 20 63 6f 70 79 20 74  68 65 20 6e 75 6d 62 65  |n copy the numbe|
00000660  72 73 20 64 6f 77 6e 20  6f 6e 74 6f 20 61 20 70  |rs down onto a p|
00000670  69 65 63 65 20 6f 66 20  70 61 70 65 72 20 61 6e  |iece of paper an|
00000680  64 20 74 72 61 6e 73 66  65 72 20 74 68 65 6d 20  |d transfer them |
00000690  74 6f 20 74 68 65 0d 6d  75 73 69 63 20 70 6c 61  |to the.music pla|
000006a0  79 69 6e 67 20 70 72 6f  67 72 61 6d 2e 20 4f 74  |ying program. Ot|
000006b0  68 65 72 77 69 73 65 20  79 6f 75 20 63 61 6e 20  |herwise you can |
000006c0  72 65 2d 65 64 69 74 20  69 74 20 62 79 20 70 72  |re-edit it by pr|
000006d0  65 73 73 69 6e 67 20 2f  20 61 67 61 69 6e 20 6f  |essing / again o|
000006e0  72 0d 72 65 2d 63 6f 6d  70 6f 73 65 20 74 68 65  |r.re-compose the|
000006f0  20 77 68 6f 6c 65 20 74  75 6e 65 20 62 79 20 70  | whole tune by p|
00000700  72 65 73 73 69 6e 67 20  2d 0d 0d 54 68 65 20 62  |ressing -..The b|
00000710  69 67 67 65 73 74 20 70  72 6f 62 6c 65 6d 20 77  |iggest problem w|
00000720  61 73 20 74 6f 20 66 69  6e 64 20 61 20 77 61 79  |as to find a way|
00000730  20 74 6f 20 6d 61 6b 65  20 61 20 74 79 70 65 77  | to make a typew|
00000740  72 69 74 65 72 20 6b 65  79 62 6f 61 72 64 0d 65  |riter keyboard.e|
00000750  66 66 65 63 74 69 76 6c  79 20 70 72 6f 64 75 63  |ffectivly produc|
00000760  65 20 6d 75 73 69 63 61  6c 20 6e 6f 74 65 73 20  |e musical notes |
00000770  69 6e 20 61 20 6c 6f 67  69 63 61 6c 20 6d 61 6e  |in a logical man|
00000780  6e 65 72 2c 20 70 72 65  66 65 72 61 62 6c 79 0d  |ner, preferably.|
00000790  63 68 72 6f 6d 61 74 69  63 61 6c 6c 79 2c 20 69  |chromatically, i|
000007a0  6e 20 74 68 65 20 66 61  73 68 69 6f 6e 20 6f 66  |n the fashion of|
000007b0  20 61 20 70 69 61 6e 6f  2e 20 0d 0d 54 68 69 73  | a piano. ..This|
000007c0  20 69 73 20 74 68 65 20  73 65 71 75 65 6e 63 65  | is the sequence|
000007d0  2e 20 49 74 20 69 73 20  69 6e 63 6c 75 64 65 64  |. It is included|
000007e0  20 69 6e 20 74 68 65 20  70 72 6f 67 72 61 6d 20  | in the program |
000007f0  73 6f 20 64 6f 6e 27 74  20 77 6f 72 72 79 20 74  |so don't worry t|
00000800  6f 6f 0d 6d 75 63 68 20  61 62 6f 75 74 20 74 72  |oo.much about tr|
00000810  79 69 6e 67 20 74 6f 20  72 65 6d 65 6d 62 65 72  |ying to remember|
00000820  20 69 74 2e 0d 0d 6e 6f  74 65 20 70 6c 61 79 65  | it...note playe|
00000830  64 20 20 20 20 20 20 41  23 20 20 47 23 20 20 46  |d      A#  G#  F|
00000840  23 20 20 20 20 20 20 44  23 20 20 43 23 20 20 7c  |#      D#  C#  ||
00000850  20 20 20 20 20 20 41 23  20 20 47 23 20 20 46 23  |      A#  G#  F#|
00000860  20 20 20 20 20 20 44 23  20 20 43 23 0d 20 20 20  |      D#  C#.   |
00000870  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
*
00000890  20 20 20 20 20 20 7c 0d  6b 65 79 20 74 6f 20 70  |      |.key to p|
000008a0  72 65 73 73 20 20 20 20  20 32 20 20 20 33 20 20  |ress     2   3  |
000008b0  20 34 20 20 20 20 20 20  20 36 20 20 20 37 20 20  | 4       6   7  |
000008c0  20 7c 20 20 20 20 20 20  53 20 20 20 44 20 20 20  | |      S   D   |
000008d0  46 20 20 20 20 20 20 20  48 20 20 20 4a 20 20 20  |F       H   J   |
000008e0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
*
00000900  20 20 20 20 20 20 7c 0d  6b 65 79 20 74 6f 20 70  |      |.key to p|
00000910  72 65 73 73 20 20 51 20  20 20 57 20 20 20 45 20  |ress  Q   W   E |
00000920  20 20 52 20 20 20 54 20  20 20 59 20 20 20 55 20  |  R   T   Y   U |
00000930  20 7c 20 20 20 5a 20 20  20 58 20 20 20 43 20 20  | |   Z   X   C  |
00000940  20 56 20 20 20 42 20 20  20 4e 20 20 20 4d 0d 0d  | V   B   N   M..|
00000950  6e 6f 74 65 20 70 6c 61  79 65 64 20 20 20 42 20  |note played   B |
00000960  20 20 41 20 20 20 47 20  20 20 46 20 20 20 45 20  |  A   G   F   E |
00000970  20 20 44 20 20 20 43 20  20 7c 20 20 20 42 20 20  |  D   C  |   B  |
00000980  20 41 20 20 20 47 20 20  20 46 20 20 20 45 20 20  | A   G   F   E  |
00000990  20 44 20 20 20 43 0d 0d  48 65 72 65 20 74 68 65  | D   C..Here the|
000009a0  20 74 77 6f 20 6f 63 74  61 76 65 73 20 61 72 65  | two octaves are|
000009b0  20 73 70 6c 69 74 20 74  68 65 20 68 69 67 68 65  | split the highe|
000009c0  72 20 6f 6e 65 20 62 65  69 6e 67 20 6f 6e 20 74  |r one being on t|
000009d0  68 65 20 74 6f 70 20 74  77 6f 20 72 6f 77 73 0d  |he top two rows.|
000009e0  74 68 65 20 6c 6f 77 65  72 20 62 65 69 6e 67 20  |the lower being |
000009f0  6f 6e 20 74 68 65 20 62  6f 74 74 6f 6d 20 74 77  |on the bottom tw|
00000a00  6f 2e 0d 0d 54 68 69 6e  6b 20 6f 66 20 74 68 65  |o...Think of the|
00000a10  20 6e 6f 74 65 73 20 61  73 20 66 6c 6f 77 69 6e  | notes as flowin|
00000a20  67 20 66 72 6f 6d 20 6f  6e 65 20 65 6e 64 20 64  |g from one end d|
00000a30  6f 77 6e 20 74 6f 20 74  68 65 20 6f 74 68 65 72  |own to the other|
00000a40  20 61 6e 64 0d 72 65 6d  65 6d 62 65 72 20 74 68  | and.remember th|
00000a50  61 74 20 74 68 65 20 74  6f 70 20 6f 63 74 61 76  |at the top octav|
00000a60  65 20 73 74 6f 70 73 20  61 74 20 55 20 74 68 65  |e stops at U the|
00000a70  20 62 6f 74 74 6f 6d 20  73 74 6f 70 73 20 61 74  | bottom stops at|
00000a80  20 4d 2c 20 74 68 65 20  73 68 61 72 70 73 0d 63  | M, the sharps.c|
00000a90  61 6e 20 62 65 20 72 65  6d 65 6d 62 65 72 65 64  |an be remembered|
00000aa0  20 62 79 20 61 76 6f 69  64 69 6e 67 20 6b 65 79  | by avoiding key|
00000ab0  73 20 31 20 61 6e 64 20  35 20 61 6e 64 20 41 20  |s 1 and 5 and A |
00000ac0  61 6e 64 20 47 0d 0d 49  66 20 79 6f 75 20 64 6f  |and G..If you do|
00000ad0  20 70 72 65 73 73 20 74  68 65 20 77 72 6f 6e 67  | press the wrong|
00000ae0  20 6b 65 79 20 6e 6f 74  68 69 6e 67 20 77 69 6c  | key nothing wil|
00000af0  6c 20 68 61 70 70 65 6e  20 61 6e 79 77 61 79 2e  |l happen anyway.|
00000b00  0d 0d 57 68 65 6e 20 79  6f 75 20 68 61 76 65 20  |..When you have |
00000b10  63 6f 6d 70 6f 73 65 64  20 79 6f 75 72 20 73 79  |composed your sy|
00000b20  6d 70 68 6f 6e 79 2c 20  70 72 65 73 73 20 50 20  |mphony, press P |
00000b30  74 6f 20 68 65 61 72 20  69 74 2c 20 74 68 65 6e  |to hear it, then|
00000b40  20 65 69 74 68 65 72 0d  70 72 65 73 73 20 2d 20  | either.press - |
00000b50  74 6f 20 72 65 2d 64 6f  20 69 74 20 6f 72 20 2f  |to re-do it or /|
00000b60  20 74 6f 20 65 64 69 74  20 74 68 65 20 64 75 72  | to edit the dur|
00000b70  61 74 69 6f 6e 20 6f 66  20 65 61 63 68 20 6e 6f  |ation of each no|
00000b80  74 65 2e 0d 0d 53 6f 20  6d 75 63 68 20 66 6f 72  |te...So much for|
00000b90  20 69 6e 73 74 72 75 63  74 69 6f 6e 2e 20 4e 6f  | instruction. No|
00000ba0  77 20 74 68 65 20 70 72  6f 67 72 61 6d 20 69 74  |w the program it|
00000bb0  73 65 6c 66 2e 0d 0d 49  20 66 69 72 73 74 20 77  |self...I first w|
00000bc0  72 6f 74 65 20 74 68 69  73 20 73 69 6d 70 6c 65  |rote this simple|
00000bd0  20 70 72 6f 67 72 61 6d  20 77 68 69 63 68 20 77  | program which w|
00000be0  69 6c 6c 20 70 6c 61 79  20 74 68 65 20 6e 6f 74  |ill play the not|
00000bf0  65 73 20 61 6e 64 20 70  72 69 6e 74 20 6f 75 74  |es and print out|
00000c00  0d 74 68 65 20 72 65 6c  65 76 61 6e 74 20 6e 75  |.the relevant nu|
00000c10  6d 62 65 72 73 20 74 6f  20 74 72 61 6e 73 66 65  |mbers to transfe|
00000c20  72 20 74 6f 20 74 68 65  20 73 65 63 6f 6e 64 20  |r to the second |
00000c30  70 72 6f 67 72 61 6d 2e  0d 0d 31 30 43 4c 53 0d  |program...10CLS.|
00000c40  32 30 62 25 3d 30 0d 33  30 2a 46 58 31 31 2c 30  |20b%=0.30*FX11,0|
00000c50  0d 34 30 52 45 50 45 41  54 3a 61 25 3d 49 4e 53  |.40REPEAT:a%=INS|
00000c60  54 52 28 22 20 41 57 53  44 52 46 54 47 48 55 4a  |TR(" AWSDRFTGHUJ|
00000c70  49 4b 4f 4c 3b 22 47 45  54 24 29 0d 35 30 49 46  |IKOL;"GET$).50IF|
00000c80  20 61 25 3d 30 20 64 25  3d 30 20 45 4c 53 45 20  | a%=0 d%=0 ELSE |
00000c90  64 25 3d 35 0d 36 30 49  46 20 61 25 3d 31 20 64  |d%=5.60IF a%=1 d|
00000ca0  25 3d 30 20 45 4c 53 45  20 62 25 3d 28 61 25 2a  |%=0 ELSE b%=(a%*|
00000cb0  34 29 2b 34 30 0d 37 30  53 4f 55 4e 44 31 2c 2d  |4)+40.70SOUND1,-|
00000cc0  31 35 2c 62 25 2c 64 25  0d 38 30 50 52 49 4e 54  |15,b%,d%.80PRINT|
00000cd0  62 25 0d 39 30 55 4e 54  49 4c 20 61 25 3d 31 30  |b%.90UNTIL a%=10|
00000ce0  38 0d 0d 54 68 65 20 53  4f 55 4e 44 20 63 6f 6d  |8..The SOUND com|
00000cf0  6d 61 6e 64 20 68 61 73  20 34 20 76 61 6c 75 65  |mand has 4 value|
00000d00  73 20 61 66 74 65 72 20  69 74 2c 20 74 68 65 20  |s after it, the |
00000d10  66 69 72 73 74 20 69 73  20 74 68 65 20 63 68 61  |first is the cha|
00000d20  6e 6e 65 6c 2c 20 74 68  65 0d 73 65 63 6f 6e 64  |nnel, the.second|
00000d30  20 69 73 20 74 68 65 20  76 6f 6c 75 6d 65 2c 20  | is the volume, |
00000d40  74 68 65 20 74 68 69 72  64 20 69 73 20 74 68 65  |the third is the|
00000d50  20 70 69 74 63 68 2c 20  74 68 65 20 66 6f 75 72  | pitch, the four|
00000d60  74 68 20 74 68 65 20 64  75 72 61 74 69 6f 6e 2e  |th the duration.|
00000d70  0d 0d 4c 69 6e 65 20 34  30 20 69 73 20 75 73 65  |..Line 40 is use|
00000d80  64 20 69 6e 20 74 68 65  20 45 55 47 20 6d 65 6e  |d in the EUG men|
00000d90  75 20 70 72 6f 67 72 61  6d 2e 20 54 68 65 20 47  |u program. The G|
00000da0  45 54 24 20 63 6f 6d 6d  61 6e 64 20 77 61 69 74  |ET$ command wait|
00000db0  73 20 66 6f 72 20 61 20  6b 65 79 0d 74 6f 20 62  |s for a key.to b|
00000dc0  65 20 70 72 65 73 73 65  64 20 61 6e 64 20 69 66  |e pressed and if|
00000dd0  20 74 68 61 74 20 6b 65  79 20 69 73 20 6f 6e 65  | that key is one|
00000de0  20 6f 66 20 74 68 6f 73  65 20 6c 69 73 74 65 64  | of those listed|
00000df0  20 62 65 74 77 65 65 6e  20 74 68 65 20 71 75 6f  | between the quo|
00000e00  74 65 73 20 69 74 0d 77  69 6c 6c 20 61 73 73 69  |tes it.will assi|
00000e10  67 6e 20 61 20 76 61 6c  75 65 20 74 6f 20 61 25  |gn a value to a%|
00000e20  20 65 71 75 61 6c 20 74  6f 20 74 68 65 20 6e 75  | equal to the nu|
00000e30  6d 65 72 69 63 61 6c 20  70 6f 73 69 74 69 6f 6e  |merical position|
00000e40  20 6f 66 20 74 68 65 20  6c 65 74 74 65 72 2c 0d  | of the letter,.|
00000e50  66 6f 72 20 65 78 61 6d  70 6c 65 20 69 66 20 53  |for example if S|
00000e60  20 69 73 20 70 72 65 73  73 65 64 20 61 25 3d 34  | is pressed a%=4|
00000e70  2c 20 3b 20 61 6e 64 20  61 25 3d 31 37 2c 20 53  |, ; and a%=17, S|
00000e80  50 41 43 45 20 61 6e 64  20 61 25 3d 31 2e 20 54  |PACE and a%=1. T|
00000e90  68 65 20 69 74 65 6d 73  0d 62 65 74 77 65 65 6e  |he items.between|
00000ea0  20 74 68 65 20 71 75 6f  74 65 73 20 0d 0d 4c 69  | the quotes ..Li|
00000eb0  6e 65 20 35 30 20 73 61  79 73 20 69 66 20 61 25  |ne 50 says if a%|
00000ec0  3d 30 20 74 68 61 74 20  69 73 20 61 6e 79 20 6b  |=0 that is any k|
00000ed0  65 79 20 6f 74 68 65 72  20 74 68 61 6e 20 6f 6e  |ey other than on|
00000ee0  65 20 6f 66 20 74 68 6f  73 65 20 6c 69 73 74 65  |e of those liste|
00000ef0  64 20 69 73 0d 70 72 65  73 73 65 64 20 74 68 65  |d is.pressed the|
00000f00  6e 20 64 25 3d 30 20 73  6f 20 74 68 65 20 64 75  |n d%=0 so the du|
00000f10  72 61 74 69 6f 6e 20 6f  66 20 74 68 65 20 73 6f  |ration of the so|
00000f20  75 6e 64 20 69 73 20 30  20 73 6f 20 6e 6f 20 73  |und is 0 so no s|
00000f30  6f 75 6e 64 2e 20 41 6e  79 20 6f 74 68 65 72 0d  |ound. Any other.|
00000f40  76 61 6c 75 65 20 66 6f  72 20 61 25 20 61 6e 64  |value for a% and|
00000f50  20 64 25 3d 35 20 73 6f  20 74 68 65 20 73 6f 75  | d%=5 so the sou|
00000f60  6e 64 20 77 69 6c 6c 20  6c 61 73 74 20 35 20 78  |nd will last 5 x|
00000f70  20 30 2e 30 35 20 73 65  63 6f 6e 64 73 2e 0d 0d  | 0.05 seconds...|
00000f80  4c 69 6e 65 20 36 30 20  73 61 79 73 20 69 66 20  |Line 60 says if |
00000f90  61 25 3d 31 2c 20 64 25  3d 30 2e 20 54 68 65 20  |a%=1, d%=0. The |
00000fa0  65 61 73 69 65 73 74 20  77 61 79 20 74 6f 20 65  |easiest way to e|
00000fb0  78 70 6c 61 69 6e 20 74  68 65 20 6e 65 65 64 20  |xplain the need |
00000fc0  66 6f 72 20 74 68 69 73  0d 69 73 20 74 6f 20 77  |for this.is to w|
00000fd0  72 69 74 65 20 6c 69 6e  65 20 34 30 20 77 69 74  |rite line 40 wit|
00000fe0  68 6f 75 74 20 74 68 65  20 69 6e 69 74 69 61 6c  |hout the initial|
00000ff0  20 73 70 61 63 65 20 61  6e 64 20 74 6f 20 6c 65  | space and to le|
00001000  61 66 65 20 6f 75 74 20  6c 69 6e 65 20 36 30 0d  |afe out line 60.|
00001010  65 78 63 65 70 74 20 77  68 61 74 20 63 6f 6d 65  |except what come|
00001020  73 20 61 66 74 65 72 20  45 4c 53 45 2e 20 50 72  |s after ELSE. Pr|
00001030  6f 76 69 64 65 64 20 61  25 20 64 6f 65 73 20 6e  |ovided a% does n|
00001040  6f 74 20 65 71 75 61 6c  20 30 20 6f 72 20 31 20  |ot equal 0 or 1 |
00001050  64 25 20 77 69 6c 6c 0d  65 71 75 61 6c 20 35 20  |d% will.equal 5 |
00001060  61 6e 64 20 62 25 20 77  69 6c 6c 20 65 71 75 61  |and b% will equa|
00001070  6c 20 61 25 20 74 69 6d  65 73 20 34 20 74 68 65  |l a% times 4 the|
00001080  6e 20 70 6c 75 73 20 34  30 2e 20 41 73 20 77 69  |n plus 40. As wi|
00001090  74 68 20 61 72 69 74 68  6d 65 74 69 63 2c 0d 73  |th arithmetic,.s|
000010a0  75 6d 73 20 69 6e 20 62  72 61 63 6b 65 74 73 20  |ums in brackets |
000010b0  61 72 65 20 64 6f 6e 65  20 66 69 72 73 74 2e 20  |are done first. |
000010c0  0d 0d 53 6f 20 69 66 20  6b 65 79 20 41 20 69 73  |..So if key A is|
000010d0  20 70 72 65 73 73 65 64  2c 20 41 20 69 73 20 74  | pressed, A is t|
000010e0  68 65 20 73 65 63 6f 6e  64 20 69 74 65 6d 20 74  |he second item t|
000010f0  68 65 72 65 66 6f 72 65  20 61 25 3d 32 2e 20 32  |herefore a%=2. 2|
00001100  58 34 3d 38 20 38 2b 34  30 3d 34 38 20 0d 62 25  |X4=8 8+40=48 .b%|
00001110  3d 34 38 20 61 6e 64 20  74 68 65 20 53 4f 55 4e  |=48 and the SOUN|
00001120  44 20 63 6f 6d 6d 61 6e  64 20 63 61 6e 20 62 65  |D command can be|
00001130  20 65 78 65 63 75 74 65  64 2c 20 70 6c 61 79 69  | executed, playi|
00001140  6e 67 20 74 68 65 20 6e  6f 74 65 20 42 20 66 6f  |ng the note B fo|
00001150  72 20 31 2f 34 0d 73 65  63 6f 6e 64 2e 0d 0d 4c  |r 1/4.second...L|
00001160  69 6e 65 20 38 30 20 70  72 69 6e 74 73 20 62 25  |ine 80 prints b%|
00001170  20 6f 6e 74 6f 20 74 68  65 20 73 63 72 65 65 6e  | onto the screen|
00001180  20 73 6f 20 74 68 61 74  20 69 74 20 63 61 6e 20  | so that it can |
00001190  62 65 20 63 6f 70 69 65  64 20 64 6f 77 6e 2e 0d  |be copied down..|
000011a0  0d 4c 69 6e 65 20 39 30  20 74 65 73 74 73 20 66  |.Line 90 tests f|
000011b0  6f 72 20 5a 20 62 65 69  6e 67 20 70 72 65 73 73  |or Z being press|
000011c0  65 64 2c 20 5a 20 77 69  6c 6c 20 65 6e 64 20 74  |ed, Z will end t|
000011d0  68 65 20 70 72 6f 67 72  61 6d 2e 0d 0d 4e 6f 77  |he program...Now|
000011e0  20 74 68 61 74 20 69 73  20 66 69 6e 65 20 61 73  | that is fine as|
000011f0  20 66 61 72 20 61 73 20  69 74 20 67 6f 65 73 2e  | far as it goes.|
00001200  20 42 75 74 20 77 6f 75  6c 64 6e 27 74 20 69 74  | But wouldn't it|
00001210  20 62 65 20 73 6f 20 6d  75 63 68 20 6e 69 63 65  | be so much nice|
00001220  72 20 69 66 20 61 73 0d  77 65 6c 6c 20 61 73 20  |r if as.well as |
00001230  70 72 6f 64 75 63 69 6e  67 20 74 68 65 20 63 6f  |producing the co|
00001240  72 72 65 63 74 20 73 6f  75 6e 64 20 61 6e 64 20  |rrect sound and |
00001250  74 68 65 20 6e 75 6d 62  65 72 73 20 66 6f 72 20  |the numbers for |
00001260  74 68 65 20 61 63 63 6f  6d 70 61 6e 69 6d 65 6e  |the accompanimen|
00001270  74 0d 70 72 6f 67 72 61  6d 20 77 65 20 63 6f 75  |t.program we cou|
00001280  6c 64 20 61 6c 73 6f 20  70 72 6f 64 75 63 65 20  |ld also produce |
00001290  61 20 73 74 61 66 66 20  77 69 74 68 20 74 68 65  |a staff with the|
000012a0  20 6e 6f 74 65 73 20 70  6f 73 69 74 69 6f 6e 65  | notes positione|
000012b0  64 20 63 6f 72 72 65 63  74 6c 79 0d 54 68 65 6e  |d correctly.Then|
000012c0  20 77 68 65 6e 20 73 6f  6d 65 6f 6e 65 20 63 6f  | when someone co|
000012d0  6d 65 73 20 69 6e 20 74  6f 20 66 69 6e 64 20 6f  |mes in to find o|
000012e0  75 74 20 77 68 61 74 20  61 6c 6c 20 74 68 65 20  |ut what all the |
000012f0  6e 6f 69 73 65 20 69 73  20 61 62 6f 75 74 20 74  |noise is about t|
00001300  68 65 79 0d 63 61 6e 20  62 65 20 73 75 69 74 61  |hey.can be suita|
00001310  62 6c 79 20 69 6d 70 72  65 73 73 65 64 20 61 6e  |bly impressed an|
00001320  64 20 6c 65 61 76 65 20  74 68 69 6e 6b 69 6e 67  |d leave thinking|
00001330  20 74 68 61 74 20 79 6f  75 20 6d 69 67 68 74 20  | that you might |
00001340  6a 75 73 74 20 62 65 20  74 68 65 0d 6e 65 78 74  |just be the.next|
00001350  20 4e 6f 65 6c 20 47 61  6c 61 63 68 67 65 72 21  | Noel Galachger!|
00001360  21 0d 0d 49 74 20 77 6f  75 6c 64 20 62 65 20 65  |!..It would be e|
00001370  76 65 6e 20 6e 69 63 65  72 20 69 66 20 74 68 69  |ven nicer if thi|
00001380  73 20 63 6f 75 6c 64 20  62 65 20 64 6f 6e 65 20  |s could be done |
00001390  65 61 73 69 6c 79 2e 20  57 65 6c 6c 20 69 74 20  |easily. Well it |
000013a0  63 61 6e 2c 20 74 68 65  0d 70 72 6f 67 72 61 6d  |can, the.program|
000013b0  20 69 73 20 73 69 6d 70  6c 65 20 74 6f 20 75 6e  | is simple to un|
000013c0  64 65 72 73 74 61 6e 64  20 61 6e 64 20 65 76 65  |derstand and eve|
000013d0  6e 20 73 69 6d 70 6c 65  72 20 74 6f 20 75 73 65  |n simpler to use|
000013e0  2e 0d 0d 46 69 72 73 74  20 70 72 6f 62 6c 65 6d  |...First problem|
000013f0  2c 20 64 72 61 77 20 74  68 65 20 73 74 61 66 66  |, draw the staff|
00001400  2e 0d 0d 54 68 65 20 6b  65 79 62 6f 61 72 64 20  |...The keyboard |
00001410  70 72 6f 76 69 64 65 73  20 32 20 63 68 61 72 61  |provides 2 chara|
00001420  63 74 65 72 73 20 77 68  69 63 68 20 77 69 6c 6c  |cters which will|
00001430  20 64 72 61 77 20 68 6f  72 69 7a 6f 6e 74 61 6c  | draw horizontal|
00001440  20 6c 69 6e 65 73 3b 20  6d 69 6e 75 73 0d 2d 20  | lines; minus.- |
00001450  61 6e 64 20 75 6e 64 65  72 6c 69 6e 65 20 5f 20  |and underline _ |
00001460  2e 20 45 69 74 68 65 72  20 6f 66 20 74 68 65 73  |. Either of thes|
00001470  65 20 6d 69 67 68 74 20  77 6f 72 6b 20 62 75 74  |e might work but|
00001480  20 74 68 65 6e 20 79 6f  75 20 61 72 65 20 6c 65  | then you are le|
00001490  66 74 20 77 69 74 68 0d  74 68 65 20 70 72 6f 62  |ft with.the prob|
000014a0  6c 65 6d 20 6f 66 20 77  68 61 74 20 74 6f 20 75  |lem of what to u|
000014b0  73 65 20 66 6f 72 20 74  68 65 20 6d 75 73 69 63  |se for the music|
000014c0  61 6c 20 6e 6f 74 65 73  2e 20 55 73 69 6e 67 20  |al notes. Using |
000014d0  6d 69 6e 75 73 20 6f 20  77 69 6c 6c 20 62 65 20  |minus o will be |
000014e0  6f 6e 0d 74 68 65 20 63  65 6e 74 72 65 20 6f 66  |on.the centre of|
000014f0  20 74 68 65 20 6c 69 6e  65 2c 20 66 69 6e 65 20  | the line, fine |
00001500  66 6f 72 20 45 20 47 20  42 20 44 20 61 6e 64 20  |for E G B D and |
00001510  46 20 6e 6f 74 20 6d 75  63 68 20 75 73 65 20 66  |F not much use f|
00001520  6f 72 20 46 20 41 20 43  20 61 6e 64 0d 45 20 2e  |or F A C and.E .|
00001530  0d 0d 57 65 20 63 6f 75  6c 64 20 75 73 65 20 4d  |..We could use M|
00001540  4f 56 45 20 61 6e 64 20  44 52 41 57 2e 0d 0d 31  |OVE and DRAW...1|
00001550  30 20 4d 4f 44 45 34 0d  32 30 20 4d 4f 56 45 20  |0 MODE4.20 MOVE |
00001560  30 2c 31 30 31 30 0d 33  30 20 44 52 41 57 20 31  |0,1010.30 DRAW 1|
00001570  32 30 30 2c 31 30 31 30  0d 34 30 20 4d 4f 56 45  |200,1010.40 MOVE|
00001580  20 30 2c 39 34 35 0d 35  30 20 44 52 41 57 20 31  | 0,945.50 DRAW 1|
00001590  32 30 30 2c 39 34 35 0d  36 30 20 50 52 49 4e 54  |200,945.60 PRINT|
000015a0  54 41 42 28 30 2c 30 29  22 4f 22 0d 37 30 20 50  |TAB(0,0)"O".70 P|
000015b0  52 49 4e 54 54 41 42 28  31 2c 31 29 22 4f 22 0d  |RINTTAB(1,1)"O".|
000015c0  0d 54 68 69 73 20 77 69  6c 6c 20 64 72 61 77 20  |.This will draw |
000015d0  6e 69 63 65 20 6c 69 6e  65 73 20 61 6e 64 20 74  |nice lines and t|
000015e0  68 65 20 6e 6f 74 65 73  20 61 72 65 20 63 6f 72  |he notes are cor|
000015f0  72 65 63 74 6c 79 20 70  6f 73 69 74 69 6f 6e 65  |rectly positione|
00001600  64 2e 20 49 6e 0d 70 72  61 63 74 69 63 65 20 74  |d. In.practice t|
00001610  68 65 20 66 69 67 75 72  65 73 20 77 6f 75 6c 64  |he figures would|
00001620  20 62 65 20 73 75 62 73  74 69 74 75 74 65 64 20  | be substituted |
00001630  77 69 74 68 20 76 61 72  69 61 62 6c 65 73 20 73  |with variables s|
00001640  6f 20 74 68 61 74 20 61  6c 6c 20 35 0d 6c 69 6e  |o that all 5.lin|
00001650  65 73 20 61 6e 64 20 74  68 65 20 6e 6f 74 65 73  |es and the notes|
00001660  20 63 6f 75 6c 64 20 62  65 20 63 61 6c 63 75 6c  | could be calcul|
00001670  61 74 65 64 20 61 6e 64  20 64 72 61 77 6e 20 61  |ated and drawn a|
00001680  72 69 74 68 6d 65 74 69  63 61 6c 6c 79 2e 20 0d  |rithmetically. .|
00001690  0d 54 68 65 20 6c 69 6e  65 73 20 61 72 65 20 69  |.The lines are i|
000016a0  6e 66 61 63 74 20 67 72  61 70 68 69 63 73 20 63  |nfact graphics c|
000016b0  68 61 72 61 63 74 65 72  73 20 61 6e 64 20 74 68  |haracters and th|
000016c0  65 20 73 70 61 63 69 6e  67 20 69 73 20 71 75 69  |e spacing is qui|
000016d0  74 65 20 77 69 64 65 2e  0d 41 6e 6f 74 68 65 72  |te wide..Another|
000016e0  20 70 72 6f 62 6c 65 6d  20 69 73 20 69 66 20 79  | problem is if y|
000016f0  6f 75 20 77 61 6e 74 20  74 6f 20 70 72 69 6e 74  |ou want to print|
00001700  20 6f 75 74 20 61 20 68  61 72 64 20 63 6f 70 79  | out a hard copy|
00001710  20 74 6f 20 73 68 6f 77  20 74 68 65 20 72 65 73  | to show the res|
00001720  74 0d 6f 66 20 74 68 65  20 62 61 6e 64 20 79 6f  |t.of the band yo|
00001730  75 20 77 69 6c 6c 20 6e  65 65 64 20 74 6f 20 75  |u will need to u|
00001740  73 65 20 61 20 67 72 61  70 68 69 63 20 73 63 72  |se a graphic scr|
00001750  65 65 6e 20 64 75 6d 70  20 61 6e 64 20 74 68 65  |een dump and the|
00001760  20 72 65 73 6f 6c 75 74  69 6f 6e 0d 77 69 74 68  | resolution.with|
00001770  20 6d 61 6e 79 20 70 72  69 6e 74 65 72 73 20 69  | many printers i|
00001780  73 20 6e 6f 74 20 74 68  61 74 20 67 6f 6f 64 2e  |s not that good.|
00001790  0d 0d 54 68 65 20 6f 74  68 65 72 20 6f 70 74 69  |..The other opti|
000017a0  6f 6e 20 69 73 20 74 6f  20 75 73 65 20 74 68 65  |on is to use the|
000017b0  20 6b 65 79 62 6f 61 72  64 20 63 68 61 72 61 63  | keyboard charac|
000017c0  74 65 72 20 75 6e 64 65  72 6c 69 6e 65 2e 20 48  |ter underline. H|
000017d0  65 72 65 20 74 68 65 0d  6e 6f 74 65 73 20 77 6f  |ere the.notes wo|
000017e0  75 6c 64 20 6e 65 65 64  20 74 6f 20 62 65 20 64  |uld need to be d|
000017f0  65 66 69 6e 65 64 20 75  73 69 6e 67 20 56 44 55  |efined using VDU|
00001800  32 33 2e 20 56 44 55 32  33 20 63 68 61 72 61 63  |23. VDU23 charac|
00001810  74 65 72 73 20 63 61 6e  20 62 65 20 63 61 6c 6c  |ters can be call|
00001820  65 64 0d 75 73 69 6e 67  20 43 48 52 24 20 61 6e  |ed.using CHR$ an|
00001830  64 20 6d 61 6e 79 20 70  72 69 6e 74 65 72 73 20  |d many printers |
00001840  77 69 6c 6c 20 61 6c 6c  6f 77 20 74 68 65 69 72  |will allow their|
00001850  20 63 68 61 72 61 63 74  65 72 20 73 65 74 73 20  | character sets |
00001860  74 6f 20 62 65 0d 72 65  64 65 66 69 6e 65 64 20  |to be.redefined |
00001870  73 6f 20 74 68 65 20 6e  65 78 74 20 6e 75 6d 62  |so the next numb|
00001880  65 72 20 6f 6e 65 20 68  69 74 20 6d 69 67 68 74  |er one hit might|
00001890  20 62 65 20 70 72 69 6e  74 65 64 20 6f 75 74 20  | be printed out |
000018a0  75 73 69 6e 67 20 74 65  78 74 0d 70 72 69 6e 74  |using text.print|
000018b0  69 6e 67 2c 20 66 61 73  74 20 61 6e 64 20 73 68  |ing, fast and sh|
000018c0  61 72 70 2e 0d 0d 28 49  20 72 65 61 64 20 61 20  |arp...(I read a |
000018d0  71 75 6f 74 65 20 66 72  6f 6d 20 53 68 61 6b 65  |quote from Shake|
000018e0  6e 27 20 53 74 65 76 65  6e 73 20 6f 6e 63 65 2c  |n' Stevens once,|
000018f0  20 28 72 65 6d 65 6d 62  65 72 20 68 69 6d 3f 29  | (remember him?)|
00001900  20 0d 22 4d 79 20 6c 61  73 74 20 68 69 74 20 77  | ."My last hit w|
00001910  61 73 20 61 20 66 6c 6f  70 21 22 29 0d 0d        |as a flop!")..|
0000191e
P/+Mtext1.m0
P/+Mtext1.m1
P/+Mtext1.m2
P/+Mtext1.m4
P/+Mtext1.m5