★ APPLICATIONS ★ CREATION MUSICAL ★ Sound Digitiser ★ |
Sound Digitiser (The Amstrad User) | Applications Creation Musical |
With this amazing listing Arnold can speak with your voice -or mimic Electric Blue - or reproduce any sound a microphone can record on an ordinary cassette. The program is a simple sound sampler. When you play the audio tape on the 464's datacorder or a tapedeck plugged into the 664 or 6128, the sounds are converted to the digitised form that Arnold can understand. After running the program (you saved it first, of course) you will have two RSX commands at your disposal, |RSOUND and |PSOUND. |RSOUND has to have several parameters after it. The computer needs to know location and length: where in memory to load the sound data and how much of it. These two parameters must be present, otherwise an error will occur. A third optional variable controls the speed or rate of data entry into memory. |PSOUND is similar to |RSOUND in that the first two parameters must be present. |PSOUND instructs the computer to output through the Amstrad's internal loudspeaker any data it may have picked up during the execution of |RSOUND. Again there is a third parameter; this time it controls the loudness at which the sound will be output. |R and |P are identical to |RSOUND and|PSOUND. These are for all incredibly lazy people who hate long commands -1 am just too kind! Below is a simple break down of how to use each command; |PSOUND, location,length,rate of data entry location can be between 0 and 65536 (&FFFF) length can be between 0 and 65536 (&FFFF) rate of data entry can be between 1 and 255 (&FF) loudness can be between 1 and 15 (&F); 15 is the loudest If you wish to include this digitiser in your own programs, run it and save the machine code as below; SAVE "DIGITISER", B, &9000,&210 and to load it back; MEMORY &8FFF:LOAD "DIGITISE.BIN":CALL &9000 To summarise, follow these short steps:
|