Home » Archimedes archive » Archimedes World » AW-1991-03.adf » !AWMar91/Goodies/PD/!ReadMe

!AWMar91/Goodies/PD/!ReadMe

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 » Archimedes archive » Archimedes World » AW-1991-03.adf
Filename: !AWMar91/Goodies/PD/!ReadMe
Read OK:
File size: 109E bytes
Load address: FFFFFF42
Exec address: E05A34AC
File contents
                                  !DSEdit
                                  -------

                             By Jason Williams
                             -----------------

Any sound file (DSEdit or SoundSynth icons) can be loaded by double-clicking
it's file icon. Any file at all can be loaded by dragging it onto the DSEdit
icon.

If you click anywhere along the 'Piano keyboard' display, the speed of the
sound will be changed in proportion to where you clicked, and the sound will
be played. Three red lines appear on this 'keyboard' at the approximate
speed-setting positions for sounds sampled at 7.5kHz, 11kHz, and 22kHz,
which are the most common.

Double-clicking or dragging the file icon of a "SoundSynth" sound will load
the sound into DSEdit, and convert it into DSEdit format (by EORing with
128) This will leave the Soundsynth header (of approx 500 bytes) on the
start of the sound, so you will have to manually delete this to remove the
'click' heard when playing the sound.

After you have clicked in a sound's display window, the window will become
highlighted (the title bar will turn yellow). Now, several shortcuts are
available as follows:
  SPACE       will play the selected part of the sound
  RETURN      will play the entire sound
  DELETE or � will delete the selected part of the
              sound
  Page up     will increase the volume of the sound
              (=Amplify by 150%)
  Page down   will decrease the volume
              (=Amplify by 75%)
  Copy        will select the entire sound

It is possible to merge two sounds in the following ways: (The sound being
merged starts at the start of the selected area, and continues to the end of
the INSERTED sound)

* Insert the sound
  (This splits the destination sound into two
   portions, and inserts the merging sound between
   these portions)
* Overwrite one sound with the other
  (This replaces the bytes of one sound with the sound
  being merged)
* Add the bytes of the two sounds together
  (This can result in the sound becoming too loud, so
  use the following option instead:)
* Average the bytes together
  (This averages the two sounds together, which
  generally lowers the volume. The effect is to mix
  the two sounds as if they were both being played at
  once.)    

To do this, double-click the file icon for the first sound to load it into
DSEdit, select the area you wish to affect,then drag the file icon of the
second sound into the window of the first sound. A dialogue window will
appear- Select the type of merge you wish to perform, and click 'OK'.
Clicking 'cancel[ will abort the operation.

------------------------------------------------------

Also, several bugs have been removed since v0.93:
  
All options that are currently unimplemented are now shaded grey on the menu.

"Add constant" and "Make silence" now work (I had confused the two writeable
menu items, so the numbers coming out were incompatible!)

If more room is NOT needed to extend a sound by the required amount (e.g. to
insert 128 bytes, etc.), the allocation now works! (This seems to have fixed
the sound merging, too)

The WimpSlot allocation has been reduced from the developmental 160kB to the
actually needed 96kB!

Please note: This program is not guaranteed to work as expected. In fact, I
can practically guarantee that it will crash (locking up the computer
entirely) at some time! Usually, this only happens when insufficient memory
is available in the RMA for an operation to be carried out, so I suggest you
check the free memory before trying to load big sound files!

Note also that because sounds are loaded into the RMA area, if you run any
applications or load any modules while any sounds are loaded, the RMA space
left when the sound windows are closed may not be recoverable... in other
words, your RMA will gradually fill with empty bits of memory that can't be
reclaimed! This will eventually cause the system to grind to a halt. The
only way to fix this is to CTRL-Break (Reset the system), so I advise that
to prevent this becoming necessary, you only run apps when there are no
sound windows open.


This program is PD, but � Copyright '90 Jason Williams. I make no guarantees
as to it's performance: Use it at your own risk!
00000000  0a 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |.               |
00000010  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00000020  20 20 20 21 44 53 45 64  69 74 0a 20 20 20 20 20  |   !DSEdit.     |
00000030  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00000040  20 20 20 20 20 20 20 20  20 20 20 20 20 2d 2d 2d  |             ---|
00000050  2d 2d 2d 2d 0a 0a 20 20  20 20 20 20 20 20 20 20  |----..          |
00000060  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00000070  20 20 20 42 79 20 4a 61  73 6f 6e 20 57 69 6c 6c  |   By Jason Will|
00000080  69 61 6d 73 0a 20 20 20  20 20 20 20 20 20 20 20  |iams.           |
00000090  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
000000a0  20 20 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |  --------------|
000000b0  2d 2d 2d 0a 0a 41 6e 79  20 73 6f 75 6e 64 20 66  |---..Any sound f|
000000c0  69 6c 65 20 28 44 53 45  64 69 74 20 6f 72 20 53  |ile (DSEdit or S|
000000d0  6f 75 6e 64 53 79 6e 74  68 20 69 63 6f 6e 73 29  |oundSynth icons)|
000000e0  20 63 61 6e 20 62 65 20  6c 6f 61 64 65 64 20 62  | can be loaded b|
000000f0  79 20 64 6f 75 62 6c 65  2d 63 6c 69 63 6b 69 6e  |y double-clickin|
00000100  67 0a 69 74 27 73 20 66  69 6c 65 20 69 63 6f 6e  |g.it's file icon|
00000110  2e 20 41 6e 79 20 66 69  6c 65 20 61 74 20 61 6c  |. Any file at al|
00000120  6c 20 63 61 6e 20 62 65  20 6c 6f 61 64 65 64 20  |l can be loaded |
00000130  62 79 20 64 72 61 67 67  69 6e 67 20 69 74 20 6f  |by dragging it o|
00000140  6e 74 6f 20 74 68 65 20  44 53 45 64 69 74 0a 69  |nto the DSEdit.i|
00000150  63 6f 6e 2e 0a 0a 49 66  20 79 6f 75 20 63 6c 69  |con...If you cli|
00000160  63 6b 20 61 6e 79 77 68  65 72 65 20 61 6c 6f 6e  |ck anywhere alon|
00000170  67 20 74 68 65 20 27 50  69 61 6e 6f 20 6b 65 79  |g the 'Piano key|
00000180  62 6f 61 72 64 27 20 64  69 73 70 6c 61 79 2c 20  |board' display, |
00000190  74 68 65 20 73 70 65 65  64 20 6f 66 20 74 68 65  |the speed of the|
000001a0  0a 73 6f 75 6e 64 20 77  69 6c 6c 20 62 65 20 63  |.sound will be c|
000001b0  68 61 6e 67 65 64 20 69  6e 20 70 72 6f 70 6f 72  |hanged in propor|
000001c0  74 69 6f 6e 20 74 6f 20  77 68 65 72 65 20 79 6f  |tion to where yo|
000001d0  75 20 63 6c 69 63 6b 65  64 2c 20 61 6e 64 20 74  |u clicked, and t|
000001e0  68 65 20 73 6f 75 6e 64  20 77 69 6c 6c 0a 62 65  |he sound will.be|
000001f0  20 70 6c 61 79 65 64 2e  20 54 68 72 65 65 20 72  | played. Three r|
00000200  65 64 20 6c 69 6e 65 73  20 61 70 70 65 61 72 20  |ed lines appear |
00000210  6f 6e 20 74 68 69 73 20  27 6b 65 79 62 6f 61 72  |on this 'keyboar|
00000220  64 27 20 61 74 20 74 68  65 20 61 70 70 72 6f 78  |d' at the approx|
00000230  69 6d 61 74 65 0a 73 70  65 65 64 2d 73 65 74 74  |imate.speed-sett|
00000240  69 6e 67 20 70 6f 73 69  74 69 6f 6e 73 20 66 6f  |ing positions fo|
00000250  72 20 73 6f 75 6e 64 73  20 73 61 6d 70 6c 65 64  |r sounds sampled|
00000260  20 61 74 20 37 2e 35 6b  48 7a 2c 20 31 31 6b 48  | at 7.5kHz, 11kH|
00000270  7a 2c 20 61 6e 64 20 32  32 6b 48 7a 2c 0a 77 68  |z, and 22kHz,.wh|
00000280  69 63 68 20 61 72 65 20  74 68 65 20 6d 6f 73 74  |ich are the most|
00000290  20 63 6f 6d 6d 6f 6e 2e  0a 0a 44 6f 75 62 6c 65  | common...Double|
000002a0  2d 63 6c 69 63 6b 69 6e  67 20 6f 72 20 64 72 61  |-clicking or dra|
000002b0  67 67 69 6e 67 20 74 68  65 20 66 69 6c 65 20 69  |gging the file i|
000002c0  63 6f 6e 20 6f 66 20 61  20 22 53 6f 75 6e 64 53  |con of a "SoundS|
000002d0  79 6e 74 68 22 20 73 6f  75 6e 64 20 77 69 6c 6c  |ynth" sound will|
000002e0  20 6c 6f 61 64 0a 74 68  65 20 73 6f 75 6e 64 20  | load.the sound |
000002f0  69 6e 74 6f 20 44 53 45  64 69 74 2c 20 61 6e 64  |into DSEdit, and|
00000300  20 63 6f 6e 76 65 72 74  20 69 74 20 69 6e 74 6f  | convert it into|
00000310  20 44 53 45 64 69 74 20  66 6f 72 6d 61 74 20 28  | DSEdit format (|
00000320  62 79 20 45 4f 52 69 6e  67 20 77 69 74 68 0a 31  |by EORing with.1|
00000330  32 38 29 20 54 68 69 73  20 77 69 6c 6c 20 6c 65  |28) This will le|
00000340  61 76 65 20 74 68 65 20  53 6f 75 6e 64 73 79 6e  |ave the Soundsyn|
00000350  74 68 20 68 65 61 64 65  72 20 28 6f 66 20 61 70  |th header (of ap|
00000360  70 72 6f 78 20 35 30 30  20 62 79 74 65 73 29 20  |prox 500 bytes) |
00000370  6f 6e 20 74 68 65 0a 73  74 61 72 74 20 6f 66 20  |on the.start of |
00000380  74 68 65 20 73 6f 75 6e  64 2c 20 73 6f 20 79 6f  |the sound, so yo|
00000390  75 20 77 69 6c 6c 20 68  61 76 65 20 74 6f 20 6d  |u will have to m|
000003a0  61 6e 75 61 6c 6c 79 20  64 65 6c 65 74 65 20 74  |anually delete t|
000003b0  68 69 73 20 74 6f 20 72  65 6d 6f 76 65 20 74 68  |his to remove th|
000003c0  65 0a 27 63 6c 69 63 6b  27 20 68 65 61 72 64 20  |e.'click' heard |
000003d0  77 68 65 6e 20 70 6c 61  79 69 6e 67 20 74 68 65  |when playing the|
000003e0  20 73 6f 75 6e 64 2e 0a  0a 41 66 74 65 72 20 79  | sound...After y|
000003f0  6f 75 20 68 61 76 65 20  63 6c 69 63 6b 65 64 20  |ou have clicked |
00000400  69 6e 20 61 20 73 6f 75  6e 64 27 73 20 64 69 73  |in a sound's dis|
00000410  70 6c 61 79 20 77 69 6e  64 6f 77 2c 20 74 68 65  |play window, the|
00000420  20 77 69 6e 64 6f 77 20  77 69 6c 6c 20 62 65 63  | window will bec|
00000430  6f 6d 65 0a 68 69 67 68  6c 69 67 68 74 65 64 20  |ome.highlighted |
00000440  28 74 68 65 20 74 69 74  6c 65 20 62 61 72 20 77  |(the title bar w|
00000450  69 6c 6c 20 74 75 72 6e  20 79 65 6c 6c 6f 77 29  |ill turn yellow)|
00000460  2e 20 4e 6f 77 2c 20 73  65 76 65 72 61 6c 20 73  |. Now, several s|
00000470  68 6f 72 74 63 75 74 73  20 61 72 65 0a 61 76 61  |hortcuts are.ava|
00000480  69 6c 61 62 6c 65 20 61  73 20 66 6f 6c 6c 6f 77  |ilable as follow|
00000490  73 3a 0a 20 20 53 50 41  43 45 20 20 20 20 20 20  |s:.  SPACE      |
000004a0  20 77 69 6c 6c 20 70 6c  61 79 20 74 68 65 20 73  | will play the s|
000004b0  65 6c 65 63 74 65 64 20  70 61 72 74 20 6f 66 20  |elected part of |
000004c0  74 68 65 20 73 6f 75 6e  64 0a 20 20 52 45 54 55  |the sound.  RETU|
000004d0  52 4e 20 20 20 20 20 20  77 69 6c 6c 20 70 6c 61  |RN      will pla|
000004e0  79 20 74 68 65 20 65 6e  74 69 72 65 20 73 6f 75  |y the entire sou|
000004f0  6e 64 0a 20 20 44 45 4c  45 54 45 20 6f 72 20 88  |nd.  DELETE or .|
00000500  20 77 69 6c 6c 20 64 65  6c 65 74 65 20 74 68 65  | will delete the|
00000510  20 73 65 6c 65 63 74 65  64 20 70 61 72 74 20 6f  | selected part o|
00000520  66 20 74 68 65 0a 20 20  20 20 20 20 20 20 20 20  |f the.          |
00000530  20 20 20 20 73 6f 75 6e  64 0a 20 20 50 61 67 65  |    sound.  Page|
00000540  20 75 70 20 20 20 20 20  77 69 6c 6c 20 69 6e 63  | up     will inc|
00000550  72 65 61 73 65 20 74 68  65 20 76 6f 6c 75 6d 65  |rease the volume|
00000560  20 6f 66 20 74 68 65 20  73 6f 75 6e 64 0a 20 20  | of the sound.  |
00000570  20 20 20 20 20 20 20 20  20 20 20 20 28 3d 41 6d  |            (=Am|
00000580  70 6c 69 66 79 20 62 79  20 31 35 30 25 29 0a 20  |plify by 150%). |
00000590  20 50 61 67 65 20 64 6f  77 6e 20 20 20 77 69 6c  | Page down   wil|
000005a0  6c 20 64 65 63 72 65 61  73 65 20 74 68 65 20 76  |l decrease the v|
000005b0  6f 6c 75 6d 65 0a 20 20  20 20 20 20 20 20 20 20  |olume.          |
000005c0  20 20 20 20 28 3d 41 6d  70 6c 69 66 79 20 62 79  |    (=Amplify by|
000005d0  20 37 35 25 29 0a 20 20  43 6f 70 79 20 20 20 20  | 75%).  Copy    |
000005e0  20 20 20 20 77 69 6c 6c  20 73 65 6c 65 63 74 20  |    will select |
000005f0  74 68 65 20 65 6e 74 69  72 65 20 73 6f 75 6e 64  |the entire sound|
00000600  0a 0a 49 74 20 69 73 20  70 6f 73 73 69 62 6c 65  |..It is possible|
00000610  20 74 6f 20 6d 65 72 67  65 20 74 77 6f 20 73 6f  | to merge two so|
00000620  75 6e 64 73 20 69 6e 20  74 68 65 20 66 6f 6c 6c  |unds in the foll|
00000630  6f 77 69 6e 67 20 77 61  79 73 3a 20 28 54 68 65  |owing ways: (The|
00000640  20 73 6f 75 6e 64 20 62  65 69 6e 67 0a 6d 65 72  | sound being.mer|
00000650  67 65 64 20 73 74 61 72  74 73 20 61 74 20 74 68  |ged starts at th|
00000660  65 20 73 74 61 72 74 20  6f 66 20 74 68 65 20 73  |e start of the s|
00000670  65 6c 65 63 74 65 64 20  61 72 65 61 2c 20 61 6e  |elected area, an|
00000680  64 20 63 6f 6e 74 69 6e  75 65 73 20 74 6f 20 74  |d continues to t|
00000690  68 65 20 65 6e 64 20 6f  66 0a 74 68 65 20 49 4e  |he end of.the IN|
000006a0  53 45 52 54 45 44 20 73  6f 75 6e 64 29 0a 0a 2a  |SERTED sound)..*|
000006b0  20 49 6e 73 65 72 74 20  74 68 65 20 73 6f 75 6e  | Insert the soun|
000006c0  64 0a 20 20 28 54 68 69  73 20 73 70 6c 69 74 73  |d.  (This splits|
000006d0  20 74 68 65 20 64 65 73  74 69 6e 61 74 69 6f 6e  | the destination|
000006e0  20 73 6f 75 6e 64 20 69  6e 74 6f 20 74 77 6f 0a  | sound into two.|
000006f0  20 20 20 70 6f 72 74 69  6f 6e 73 2c 20 61 6e 64  |   portions, and|
00000700  20 69 6e 73 65 72 74 73  20 74 68 65 20 6d 65 72  | inserts the mer|
00000710  67 69 6e 67 20 73 6f 75  6e 64 20 62 65 74 77 65  |ging sound betwe|
00000720  65 6e 0a 20 20 20 74 68  65 73 65 20 70 6f 72 74  |en.   these port|
00000730  69 6f 6e 73 29 0a 2a 20  4f 76 65 72 77 72 69 74  |ions).* Overwrit|
00000740  65 20 6f 6e 65 20 73 6f  75 6e 64 20 77 69 74 68  |e one sound with|
00000750  20 74 68 65 20 6f 74 68  65 72 0a 20 20 28 54 68  | the other.  (Th|
00000760  69 73 20 72 65 70 6c 61  63 65 73 20 74 68 65 20  |is replaces the |
00000770  62 79 74 65 73 20 6f 66  20 6f 6e 65 20 73 6f 75  |bytes of one sou|
00000780  6e 64 20 77 69 74 68 20  74 68 65 20 73 6f 75 6e  |nd with the soun|
00000790  64 0a 20 20 62 65 69 6e  67 20 6d 65 72 67 65 64  |d.  being merged|
000007a0  29 0a 2a 20 41 64 64 20  74 68 65 20 62 79 74 65  |).* Add the byte|
000007b0  73 20 6f 66 20 74 68 65  20 74 77 6f 20 73 6f 75  |s of the two sou|
000007c0  6e 64 73 20 74 6f 67 65  74 68 65 72 0a 20 20 28  |nds together.  (|
000007d0  54 68 69 73 20 63 61 6e  20 72 65 73 75 6c 74 20  |This can result |
000007e0  69 6e 20 74 68 65 20 73  6f 75 6e 64 20 62 65 63  |in the sound bec|
000007f0  6f 6d 69 6e 67 20 74 6f  6f 20 6c 6f 75 64 2c 20  |oming too loud, |
00000800  73 6f 0a 20 20 75 73 65  20 74 68 65 20 66 6f 6c  |so.  use the fol|
00000810  6c 6f 77 69 6e 67 20 6f  70 74 69 6f 6e 20 69 6e  |lowing option in|
00000820  73 74 65 61 64 3a 29 0a  2a 20 41 76 65 72 61 67  |stead:).* Averag|
00000830  65 20 74 68 65 20 62 79  74 65 73 20 74 6f 67 65  |e the bytes toge|
00000840  74 68 65 72 0a 20 20 28  54 68 69 73 20 61 76 65  |ther.  (This ave|
00000850  72 61 67 65 73 20 74 68  65 20 74 77 6f 20 73 6f  |rages the two so|
00000860  75 6e 64 73 20 74 6f 67  65 74 68 65 72 2c 20 77  |unds together, w|
00000870  68 69 63 68 0a 20 20 67  65 6e 65 72 61 6c 6c 79  |hich.  generally|
00000880  20 6c 6f 77 65 72 73 20  74 68 65 20 76 6f 6c 75  | lowers the volu|
00000890  6d 65 2e 20 54 68 65 20  65 66 66 65 63 74 20 69  |me. The effect i|
000008a0  73 20 74 6f 20 6d 69 78  0a 20 20 74 68 65 20 74  |s to mix.  the t|
000008b0  77 6f 20 73 6f 75 6e 64  73 20 61 73 20 69 66 20  |wo sounds as if |
000008c0  74 68 65 79 20 77 65 72  65 20 62 6f 74 68 20 62  |they were both b|
000008d0  65 69 6e 67 20 70 6c 61  79 65 64 20 61 74 0a 20  |eing played at. |
000008e0  20 6f 6e 63 65 2e 29 20  20 20 20 0a 0a 54 6f 20  | once.)    ..To |
000008f0  64 6f 20 74 68 69 73 2c  20 64 6f 75 62 6c 65 2d  |do this, double-|
00000900  63 6c 69 63 6b 20 74 68  65 20 66 69 6c 65 20 69  |click the file i|
00000910  63 6f 6e 20 66 6f 72 20  74 68 65 20 66 69 72 73  |con for the firs|
00000920  74 20 73 6f 75 6e 64 20  74 6f 20 6c 6f 61 64 20  |t sound to load |
00000930  69 74 20 69 6e 74 6f 0a  44 53 45 64 69 74 2c 20  |it into.DSEdit, |
00000940  73 65 6c 65 63 74 20 74  68 65 20 61 72 65 61 20  |select the area |
00000950  79 6f 75 20 77 69 73 68  20 74 6f 20 61 66 66 65  |you wish to affe|
00000960  63 74 2c 74 68 65 6e 20  64 72 61 67 20 74 68 65  |ct,then drag the|
00000970  20 66 69 6c 65 20 69 63  6f 6e 20 6f 66 20 74 68  | file icon of th|
00000980  65 0a 73 65 63 6f 6e 64  20 73 6f 75 6e 64 20 69  |e.second sound i|
00000990  6e 74 6f 20 74 68 65 20  77 69 6e 64 6f 77 20 6f  |nto the window o|
000009a0  66 20 74 68 65 20 66 69  72 73 74 20 73 6f 75 6e  |f the first soun|
000009b0  64 2e 20 41 20 64 69 61  6c 6f 67 75 65 20 77 69  |d. A dialogue wi|
000009c0  6e 64 6f 77 20 77 69 6c  6c 0a 61 70 70 65 61 72  |ndow will.appear|
000009d0  2d 20 53 65 6c 65 63 74  20 74 68 65 20 74 79 70  |- Select the typ|
000009e0  65 20 6f 66 20 6d 65 72  67 65 20 79 6f 75 20 77  |e of merge you w|
000009f0  69 73 68 20 74 6f 20 70  65 72 66 6f 72 6d 2c 20  |ish to perform, |
00000a00  61 6e 64 20 63 6c 69 63  6b 20 27 4f 4b 27 2e 0a  |and click 'OK'..|
00000a10  43 6c 69 63 6b 69 6e 67  20 27 63 61 6e 63 65 6c  |Clicking 'cancel|
00000a20  5b 20 77 69 6c 6c 20 61  62 6f 72 74 20 74 68 65  |[ will abort the|
00000a30  20 6f 70 65 72 61 74 69  6f 6e 2e 0a 0a 2d 2d 2d  | operation...---|
00000a40  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
*
00000a70  2d 2d 2d 0a 0a 41 6c 73  6f 2c 20 73 65 76 65 72  |---..Also, sever|
00000a80  61 6c 20 62 75 67 73 20  68 61 76 65 20 62 65 65  |al bugs have bee|
00000a90  6e 20 72 65 6d 6f 76 65  64 20 73 69 6e 63 65 20  |n removed since |
00000aa0  76 30 2e 39 33 3a 0a 20  20 0a 41 6c 6c 20 6f 70  |v0.93:.  .All op|
00000ab0  74 69 6f 6e 73 20 74 68  61 74 20 61 72 65 20 63  |tions that are c|
00000ac0  75 72 72 65 6e 74 6c 79  20 75 6e 69 6d 70 6c 65  |urrently unimple|
00000ad0  6d 65 6e 74 65 64 20 61  72 65 20 6e 6f 77 20 73  |mented are now s|
00000ae0  68 61 64 65 64 20 67 72  65 79 20 6f 6e 20 74 68  |haded grey on th|
00000af0  65 20 6d 65 6e 75 2e 0a  0a 22 41 64 64 20 63 6f  |e menu..."Add co|
00000b00  6e 73 74 61 6e 74 22 20  61 6e 64 20 22 4d 61 6b  |nstant" and "Mak|
00000b10  65 20 73 69 6c 65 6e 63  65 22 20 6e 6f 77 20 77  |e silence" now w|
00000b20  6f 72 6b 20 28 49 20 68  61 64 20 63 6f 6e 66 75  |ork (I had confu|
00000b30  73 65 64 20 74 68 65 20  74 77 6f 20 77 72 69 74  |sed the two writ|
00000b40  65 61 62 6c 65 0a 6d 65  6e 75 20 69 74 65 6d 73  |eable.menu items|
00000b50  2c 20 73 6f 20 74 68 65  20 6e 75 6d 62 65 72 73  |, so the numbers|
00000b60  20 63 6f 6d 69 6e 67 20  6f 75 74 20 77 65 72 65  | coming out were|
00000b70  20 69 6e 63 6f 6d 70 61  74 69 62 6c 65 21 29 0a  | incompatible!).|
00000b80  0a 49 66 20 6d 6f 72 65  20 72 6f 6f 6d 20 69 73  |.If more room is|
00000b90  20 4e 4f 54 20 6e 65 65  64 65 64 20 74 6f 20 65  | NOT needed to e|
00000ba0  78 74 65 6e 64 20 61 20  73 6f 75 6e 64 20 62 79  |xtend a sound by|
00000bb0  20 74 68 65 20 72 65 71  75 69 72 65 64 20 61 6d  | the required am|
00000bc0  6f 75 6e 74 20 28 65 2e  67 2e 20 74 6f 0a 69 6e  |ount (e.g. to.in|
00000bd0  73 65 72 74 20 31 32 38  20 62 79 74 65 73 2c 20  |sert 128 bytes, |
00000be0  65 74 63 2e 29 2c 20 74  68 65 20 61 6c 6c 6f 63  |etc.), the alloc|
00000bf0  61 74 69 6f 6e 20 6e 6f  77 20 77 6f 72 6b 73 21  |ation now works!|
00000c00  20 28 54 68 69 73 20 73  65 65 6d 73 20 74 6f 20  | (This seems to |
00000c10  68 61 76 65 20 66 69 78  65 64 0a 74 68 65 20 73  |have fixed.the s|
00000c20  6f 75 6e 64 20 6d 65 72  67 69 6e 67 2c 20 74 6f  |ound merging, to|
00000c30  6f 29 0a 0a 54 68 65 20  57 69 6d 70 53 6c 6f 74  |o)..The WimpSlot|
00000c40  20 61 6c 6c 6f 63 61 74  69 6f 6e 20 68 61 73 20  | allocation has |
00000c50  62 65 65 6e 20 72 65 64  75 63 65 64 20 66 72 6f  |been reduced fro|
00000c60  6d 20 74 68 65 20 64 65  76 65 6c 6f 70 6d 65 6e  |m the developmen|
00000c70  74 61 6c 20 31 36 30 6b  42 20 74 6f 20 74 68 65  |tal 160kB to the|
00000c80  0a 61 63 74 75 61 6c 6c  79 20 6e 65 65 64 65 64  |.actually needed|
00000c90  20 39 36 6b 42 21 0a 0a  50 6c 65 61 73 65 20 6e  | 96kB!..Please n|
00000ca0  6f 74 65 3a 20 54 68 69  73 20 70 72 6f 67 72 61  |ote: This progra|
00000cb0  6d 20 69 73 20 6e 6f 74  20 67 75 61 72 61 6e 74  |m is not guarant|
00000cc0  65 65 64 20 74 6f 20 77  6f 72 6b 20 61 73 20 65  |eed to work as e|
00000cd0  78 70 65 63 74 65 64 2e  20 49 6e 20 66 61 63 74  |xpected. In fact|
00000ce0  2c 20 49 0a 63 61 6e 20  70 72 61 63 74 69 63 61  |, I.can practica|
00000cf0  6c 6c 79 20 67 75 61 72  61 6e 74 65 65 20 74 68  |lly guarantee th|
00000d00  61 74 20 69 74 20 77 69  6c 6c 20 63 72 61 73 68  |at it will crash|
00000d10  20 28 6c 6f 63 6b 69 6e  67 20 75 70 20 74 68 65  | (locking up the|
00000d20  20 63 6f 6d 70 75 74 65  72 0a 65 6e 74 69 72 65  | computer.entire|
00000d30  6c 79 29 20 61 74 20 73  6f 6d 65 20 74 69 6d 65  |ly) at some time|
00000d40  21 20 55 73 75 61 6c 6c  79 2c 20 74 68 69 73 20  |! Usually, this |
00000d50  6f 6e 6c 79 20 68 61 70  70 65 6e 73 20 77 68 65  |only happens whe|
00000d60  6e 20 69 6e 73 75 66 66  69 63 69 65 6e 74 20 6d  |n insufficient m|
00000d70  65 6d 6f 72 79 0a 69 73  20 61 76 61 69 6c 61 62  |emory.is availab|
00000d80  6c 65 20 69 6e 20 74 68  65 20 52 4d 41 20 66 6f  |le in the RMA fo|
00000d90  72 20 61 6e 20 6f 70 65  72 61 74 69 6f 6e 20 74  |r an operation t|
00000da0  6f 20 62 65 20 63 61 72  72 69 65 64 20 6f 75 74  |o be carried out|
00000db0  2c 20 73 6f 20 49 20 73  75 67 67 65 73 74 20 79  |, so I suggest y|
00000dc0  6f 75 0a 63 68 65 63 6b  20 74 68 65 20 66 72 65  |ou.check the fre|
00000dd0  65 20 6d 65 6d 6f 72 79  20 62 65 66 6f 72 65 20  |e memory before |
00000de0  74 72 79 69 6e 67 20 74  6f 20 6c 6f 61 64 20 62  |trying to load b|
00000df0  69 67 20 73 6f 75 6e 64  20 66 69 6c 65 73 21 0a  |ig sound files!.|
00000e00  0a 4e 6f 74 65 20 61 6c  73 6f 20 74 68 61 74 20  |.Note also that |
00000e10  62 65 63 61 75 73 65 20  73 6f 75 6e 64 73 20 61  |because sounds a|
00000e20  72 65 20 6c 6f 61 64 65  64 20 69 6e 74 6f 20 74  |re loaded into t|
00000e30  68 65 20 52 4d 41 20 61  72 65 61 2c 20 69 66 20  |he RMA area, if |
00000e40  79 6f 75 20 72 75 6e 20  61 6e 79 0a 61 70 70 6c  |you run any.appl|
00000e50  69 63 61 74 69 6f 6e 73  20 6f 72 20 6c 6f 61 64  |ications or load|
00000e60  20 61 6e 79 20 6d 6f 64  75 6c 65 73 20 77 68 69  | any modules whi|
00000e70  6c 65 20 61 6e 79 20 73  6f 75 6e 64 73 20 61 72  |le any sounds ar|
00000e80  65 20 6c 6f 61 64 65 64  2c 20 74 68 65 20 52 4d  |e loaded, the RM|
00000e90  41 20 73 70 61 63 65 0a  6c 65 66 74 20 77 68 65  |A space.left whe|
00000ea0  6e 20 74 68 65 20 73 6f  75 6e 64 20 77 69 6e 64  |n the sound wind|
00000eb0  6f 77 73 20 61 72 65 20  63 6c 6f 73 65 64 20 6d  |ows are closed m|
00000ec0  61 79 20 6e 6f 74 20 62  65 20 72 65 63 6f 76 65  |ay not be recove|
00000ed0  72 61 62 6c 65 2e 2e 2e  20 69 6e 20 6f 74 68 65  |rable... in othe|
00000ee0  72 0a 77 6f 72 64 73 2c  20 79 6f 75 72 20 52 4d  |r.words, your RM|
00000ef0  41 20 77 69 6c 6c 20 67  72 61 64 75 61 6c 6c 79  |A will gradually|
00000f00  20 66 69 6c 6c 20 77 69  74 68 20 65 6d 70 74 79  | fill with empty|
00000f10  20 62 69 74 73 20 6f 66  20 6d 65 6d 6f 72 79 20  | bits of memory |
00000f20  74 68 61 74 20 63 61 6e  27 74 20 62 65 0a 72 65  |that can't be.re|
00000f30  63 6c 61 69 6d 65 64 21  20 54 68 69 73 20 77 69  |claimed! This wi|
00000f40  6c 6c 20 65 76 65 6e 74  75 61 6c 6c 79 20 63 61  |ll eventually ca|
00000f50  75 73 65 20 74 68 65 20  73 79 73 74 65 6d 20 74  |use the system t|
00000f60  6f 20 67 72 69 6e 64 20  74 6f 20 61 20 68 61 6c  |o grind to a hal|
00000f70  74 2e 20 54 68 65 0a 6f  6e 6c 79 20 77 61 79 20  |t. The.only way |
00000f80  74 6f 20 66 69 78 20 74  68 69 73 20 69 73 20 74  |to fix this is t|
00000f90  6f 20 43 54 52 4c 2d 42  72 65 61 6b 20 28 52 65  |o CTRL-Break (Re|
00000fa0  73 65 74 20 74 68 65 20  73 79 73 74 65 6d 29 2c  |set the system),|
00000fb0  20 73 6f 20 49 20 61 64  76 69 73 65 20 74 68 61  | so I advise tha|
00000fc0  74 0a 74 6f 20 70 72 65  76 65 6e 74 20 74 68 69  |t.to prevent thi|
00000fd0  73 20 62 65 63 6f 6d 69  6e 67 20 6e 65 63 65 73  |s becoming neces|
00000fe0  73 61 72 79 2c 20 79 6f  75 20 6f 6e 6c 79 20 72  |sary, you only r|
00000ff0  75 6e 20 61 70 70 73 20  77 68 65 6e 20 74 68 65  |un apps when the|
00001000  72 65 20 61 72 65 20 6e  6f 0a 73 6f 75 6e 64 20  |re are no.sound |
00001010  77 69 6e 64 6f 77 73 20  6f 70 65 6e 2e 0a 0a 0a  |windows open....|
00001020  54 68 69 73 20 70 72 6f  67 72 61 6d 20 69 73 20  |This program is |
00001030  50 44 2c 20 62 75 74 20  a9 20 43 6f 70 79 72 69  |PD, but . Copyri|
00001040  67 68 74 20 27 39 30 20  4a 61 73 6f 6e 20 57 69  |ght '90 Jason Wi|
00001050  6c 6c 69 61 6d 73 2e 20  49 20 6d 61 6b 65 20 6e  |lliams. I make n|
00001060  6f 20 67 75 61 72 61 6e  74 65 65 73 0a 61 73 20  |o guarantees.as |
00001070  74 6f 20 69 74 27 73 20  70 65 72 66 6f 72 6d 61  |to it's performa|
00001080  6e 63 65 3a 20 55 73 65  20 69 74 20 61 74 20 79  |nce: Use it at y|
00001090  6f 75 72 20 6f 77 6e 20  72 69 73 6b 21 0a        |our own risk!.|
0000109e