Insane Computer

Author(s): Patrick Spera
Publication: LISTing Newsletter
Date: October 1984
Pages: 3

from Patrick Spara SYSOP-CIS-SEC. 4

This is a further expansion on the sound program for insane sounding computers.

  10 LET A=INT (RND*255)
11 LET A1=INT (RND*15)
12 LET A2=INT (RND*255)
13 LET A3=INT (RND*15)
14 LET A4=INT (RND*255)
15 LET A5=INT (RND*15)
16 LET A6=INT (RND*31)
100 SOUND 0,A;1,A1;2,A2;3[illegible]A3[illegible]4[illegible]A4[illegible]5,A5;6,A6;7,56;8,15[illegible]9,15;10,15
200 PAUSE 0
210 IF INKEY$="P" THEN GO TO 300
220 GO TO 10
300 PRINT "CHANNEL 1: FINE= ";A
310 PRINT "CHANNEL 1: COARSE= ";A1
320 PRINT "CHANNEL 2: FINE= ";A2
330 PRINT "CHANNEL 2: COARSE= ";A3
340 PRINT "CHANNEL 3: FINE= ";A4
350 PRINT "CHANNEL 3: COARSE= ";A5
360 PRINT ,,"NOISE= ";A6
3[illegible]0 PRINT ,,"ENABLE= ";56
3[illegible]0 PRINT ,,"NOTES: "
3[illegible]0 PAUSE 0
3[illegible]0 COPY
4[illegible]0 CLS
4[illegible]0 GO TO 200
[illegible] SAVE "[illegible]ND SOUND" LINE 1
INSANE COMPUTER listing, lines 10-9999 (SOUND with random channel values)
INSANE COMPUTER listing, lines 10-9999 (SOUND with random channel values)

What this program does is randomly set up the sound channels. By pressing any key but “P” you reset the randoms. As a result you can listen to the sounds, bypassing the ones you don’t like. If you do hear something you like just press “P” and it will print the current channel data to the screen. Press any key again and it will present you with a hardcopy.

The practical use is obvious. Now you don’t have to be a wiz to come up with laser and spaceship sounds. The program will do it for you.

ENJOY

Note: Type-in program listings on this website use ZMAKEBAS notation for graphics characters.