Home » Personal collection » Acorn tapes » Electron_User » Electron_User_tape30a_acorn_eu_1991_december.wav » SOUND

SOUND

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 tapes » Electron_User » Electron_User_tape30a_acorn_eu_1991_december.wav
Filename: SOUND
Read OK:
File size: 034A bytes
Load address: FFFF1A00
Exec address: FFFF8023
Duplicates

There are 2 duplicate copies of this file in the archive:

File contents
   10 REM SOUND AND FREQUENCY
   20 REM THE SAFE SCIENTIST
   30 REM
   40MODE4
   50PROCinstruct
   60*FX15,0
   70L=100
   80PROCcalc
   90PROCdraw
  100REPEAT
  110 IF INKEY-104 AND L<244 L=L+4:PROCcalc:PROCdraw
  120 IF INKEY-103 AND L>52 L=L-4:PROCcalc:PROCdraw
  130IF INKEY-66 AND L<200 L=L+48:PROCcalc:PROCdraw
  140IF INKEY-98 AND L>99 L=L-48:PROCcalc:PROCdraw
  150SOUND1,-15,L,10
  160TIME=0:REPEATUNTILTIME>50
  170UNTIL0
  180RUN
  190DEFPROCdraw
  200CLS
  210PRINTTAB(2,2)"Computer pitch = ";L
  220PRINTTAB(4,4)"Real pitch = ";P%
  230VDU29,0;512;
  240MOVE0,0
  250N=0:REPEAT
  260DRAWN*2000/P,SIN N*200
  270N=N+5
  280UNTILN*2000/P>1200
  290ENDPROC
  300DEFPROCcalc
  310S=(L-52)DIV4
  320P=128
  330FORN=1 TO S
  340P=P*2^(1/12)
  350IF L=52 P=128
  360P%=P
  370NEXT
  380ENDPROC
  390DEFPROCinstruct
  400PRINTTAB(6,2)"SOUND AND FREQUENCY"TAB(6,3)"~~~~~~~~~~~~~~~~~~~"
  410PRINT''"Use > to increase the pitch"''"and < to decrease the pitch by semitones"
  420PRINT''"Use A to increase the pitch"''"and Z to decrease the pitch by octaves"
  430PRINTTAB(2,20)"Press Space to continue"
  440REPEATUNTILINKEY-99
  450ENDPROC

 � SOUND AND FREQUENCY
 � THE SAFE SCIENTIST
 �
(�4
2
�instruct
<*FX15,0
F	L=100
P	�calc
Z	�draw
d�
n& � �-104 � L<244 L=L+4:�calc:�draw
x% � �-103 � L>52 L=L-4:�calc:�draw
�%� �-66 � L<200 L=L+48:�calc:�draw
�$� �-98 � L>99 L=L-48:�calc:�draw
��1,-15,L,10
��=0:���>50
��0
��
�
��draw
��
��2,2)"Computer pitch = ";L
��4,4)"Real pitch = ";P%
��29,0;512;
��0,0
�	N=0:�
�N*2000/P,� N*200
	N=N+5
�N*2000/P>1200
"�
,
��calc
6S=(L-52)�4
@	P=128
J�N=1 � S
TP=P*2^(1/12)
^� L=52 P=128
hP%=P
r�
|�
���instruct
�9�6,2)"SOUND AND FREQUENCY"�6,3)"~~~~~~~~~~~~~~~~~~~"
�P�''"Use > to increase the pitch"''"and < to decrease the pitch by semitones"
�N�''"Use A to increase the pitch"''"and Z to decrease the pitch by octaves"
�$�2,20)"Press Space to continue"
�
���-99
��
�
00000000  0d 00 0a 1a 20 f4 20 53  4f 55 4e 44 20 41 4e 44  |.... . SOUND AND|
00000010  20 46 52 45 51 55 45 4e  43 59 0d 00 14 19 20 f4  | FREQUENCY.... .|
00000020  20 54 48 45 20 53 41 46  45 20 53 43 49 45 4e 54  | THE SAFE SCIENT|
00000030  49 53 54 0d 00 1e 06 20  f4 0d 00 28 06 eb 34 0d  |IST.... ...(..4.|
00000040  00 32 0d f2 69 6e 73 74  72 75 63 74 0d 00 3c 0b  |.2..instruct..<.|
00000050  2a 46 58 31 35 2c 30 0d  00 46 09 4c 3d 31 30 30  |*FX15,0..F.L=100|
00000060  0d 00 50 09 f2 63 61 6c  63 0d 00 5a 09 f2 64 72  |..P..calc..Z..dr|
00000070  61 77 0d 00 64 05 f5 0d  00 6e 26 20 e7 20 a6 2d  |aw..d....n& . .-|
00000080  31 30 34 20 80 20 4c 3c  32 34 34 20 4c 3d 4c 2b  |104 . L<244 L=L+|
00000090  34 3a f2 63 61 6c 63 3a  f2 64 72 61 77 0d 00 78  |4:.calc:.draw..x|
000000a0  25 20 e7 20 a6 2d 31 30  33 20 80 20 4c 3e 35 32  |% . .-103 . L>52|
000000b0  20 4c 3d 4c 2d 34 3a f2  63 61 6c 63 3a f2 64 72  | L=L-4:.calc:.dr|
000000c0  61 77 0d 00 82 25 e7 20  a6 2d 36 36 20 80 20 4c  |aw...%. .-66 . L|
000000d0  3c 32 30 30 20 4c 3d 4c  2b 34 38 3a f2 63 61 6c  |<200 L=L+48:.cal|
000000e0  63 3a f2 64 72 61 77 0d  00 8c 24 e7 20 a6 2d 39  |c:.draw...$. .-9|
000000f0  38 20 80 20 4c 3e 39 39  20 4c 3d 4c 2d 34 38 3a  |8 . L>99 L=L-48:|
00000100  f2 63 61 6c 63 3a f2 64  72 61 77 0d 00 96 0f d4  |.calc:.draw.....|
00000110  31 2c 2d 31 35 2c 4c 2c  31 30 0d 00 a0 0e d1 3d  |1,-15,L,10.....=|
00000120  30 3a f5 fd 91 3e 35 30  0d 00 aa 06 fd 30 0d 00  |0:...>50.....0..|
00000130  b4 05 f9 0d 00 be 0a dd  f2 64 72 61 77 0d 00 c8  |.........draw...|
00000140  05 db 0d 00 d2 1f f1 8a  32 2c 32 29 22 43 6f 6d  |........2,2)"Com|
00000150  70 75 74 65 72 20 70 69  74 63 68 20 3d 20 22 3b  |puter pitch = ";|
00000160  4c 0d 00 dc 1c f1 8a 34  2c 34 29 22 52 65 61 6c  |L......4,4)"Real|
00000170  20 70 69 74 63 68 20 3d  20 22 3b 50 25 0d 00 e6  | pitch = ";P%...|
00000180  0e ef 32 39 2c 30 3b 35  31 32 3b 0d 00 f0 08 ec  |..29,0;512;.....|
00000190  30 2c 30 0d 00 fa 09 4e  3d 30 3a f5 0d 01 04 15  |0,0....N=0:.....|
000001a0  df 4e 2a 32 30 30 30 2f  50 2c b5 20 4e 2a 32 30  |.N*2000/P,. N*20|
000001b0  30 0d 01 0e 09 4e 3d 4e  2b 35 0d 01 18 12 fd 4e  |0....N=N+5.....N|
000001c0  2a 32 30 30 30 2f 50 3e  31 32 30 30 0d 01 22 05  |*2000/P>1200..".|
000001d0  e1 0d 01 2c 0a dd f2 63  61 6c 63 0d 01 36 0e 53  |...,...calc..6.S|
000001e0  3d 28 4c 2d 35 32 29 81  34 0d 01 40 09 50 3d 31  |=(L-52).4..@.P=1|
000001f0  32 38 0d 01 4a 0c e3 4e  3d 31 20 b8 20 53 0d 01  |28..J..N=1 . S..|
00000200  54 10 50 3d 50 2a 32 5e  28 31 2f 31 32 29 0d 01  |T.P=P*2^(1/12)..|
00000210  5e 10 e7 20 4c 3d 35 32  20 50 3d 31 32 38 0d 01  |^.. L=52 P=128..|
00000220  68 08 50 25 3d 50 0d 01  72 05 ed 0d 01 7c 05 e1  |h.P%=P..r....|..|
00000230  0d 01 86 0e dd f2 69 6e  73 74 72 75 63 74 0d 01  |......instruct..|
00000240  90 39 f1 8a 36 2c 32 29  22 53 4f 55 4e 44 20 41  |.9..6,2)"SOUND A|
00000250  4e 44 20 46 52 45 51 55  45 4e 43 59 22 8a 36 2c  |ND FREQUENCY".6,|
00000260  33 29 22 7e 7e 7e 7e 7e  7e 7e 7e 7e 7e 7e 7e 7e  |3)"~~~~~~~~~~~~~|
00000270  7e 7e 7e 7e 7e 7e 22 0d  01 9a 50 f1 27 27 22 55  |~~~~~~"...P.''"U|
00000280  73 65 20 3e 20 74 6f 20  69 6e 63 72 65 61 73 65  |se > to increase|
00000290  20 74 68 65 20 70 69 74  63 68 22 27 27 22 61 6e  | the pitch"''"an|
000002a0  64 20 3c 20 74 6f 20 64  65 63 72 65 61 73 65 20  |d < to decrease |
000002b0  74 68 65 20 70 69 74 63  68 20 62 79 20 73 65 6d  |the pitch by sem|
000002c0  69 74 6f 6e 65 73 22 0d  01 a4 4e f1 27 27 22 55  |itones"...N.''"U|
000002d0  73 65 20 41 20 74 6f 20  69 6e 63 72 65 61 73 65  |se A to increase|
000002e0  20 74 68 65 20 70 69 74  63 68 22 27 27 22 61 6e  | the pitch"''"an|
000002f0  64 20 5a 20 74 6f 20 64  65 63 72 65 61 73 65 20  |d Z to decrease |
00000300  74 68 65 20 70 69 74 63  68 20 62 79 20 6f 63 74  |the pitch by oct|
00000310  61 76 65 73 22 0d 01 ae  24 f1 8a 32 2c 32 30 29  |aves"...$..2,20)|
00000320  22 50 72 65 73 73 20 53  70 61 63 65 20 74 6f 20  |"Press Space to |
00000330  63 6f 6e 74 69 6e 75 65  22 0d 01 b8 0a f5 fd a6  |continue".......|
00000340  2d 39 39 0d 01 c2 05 e1  0d ff                    |-99.......|
0000034a
SOUND.m0
SOUND.m1
SOUND.m2
SOUND.m4
SOUND.m5