7 (This should be typed in as one line even though it may spill over to the next line on the screen just as it has on this page. The computer will treat it as being ‘one line’ when you press RETURN .) Now carry on with: SOUND 1,2,1,10 SOUND 2,2,100,1 SOUND 3,2,200,1 You will have to press ESCAPE to stop the sound. Here’s another one: ENVELOPE 1,1,-26,-36,-45,255,255,255,127,0,0,0,126,0 SOUND 1,1,1,1 There is a whole chapter on sound later on. Connecting up the cassette recorder Now get a cassette recorder connected so that you can load the demonstration programs into the computer from the cassette tape supplied in the WELCOME pack.
For the moment just follow the instructions – we can sort out the ‘whys and wherefores’ later. You have to do two things before you can load the programs from the WELCOME tape: first get the right lead to connect your cassette recorder to the computer and secondly set the volume control on the cassette recorder to the correct position. Leads There are a number of different kinds of leads (figure 2). The connection to the computer is through a 7-pin DIN connector; a lead has not been supplied with the machine because there are so many connections to the many different cassette recorders in use.
In many cases a standard 5-pin DIN to 5-pin DIN lead will be suitable, provided you do not want to use the motor control. If you want full motor control, take your cassette recorder to your nearest BBC Microcomputer dealer who will be able to supply a lead or make one up for you. Alternatively, take your cassette recorder and this book to a local hi-fi dealer. Note: Although you may find the ideal cassette lead difficult to buy locally, many cassette recorders do have a standard 5-pin DIN socket and a standard 5-pin DIN to 5-pin DIN hi-fi lead will work with the BBC Microcomputer in many cases.