home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
M.u.C.S. Disc 2000
/
MUCS2000.iso
/
anwend
/
family
/
sons
/
sounds.doc
< prev
Wrap
Text File
|
1996-10-02
|
2KB
|
66 lines
SOUNDS with FAMILY, HOW TO USE COMPRESS.TTP
*******************************************
~~~~~~~~~~~~~~~
Formats, Limits
~~~~~~~~~~~~~~~
Faily knows three different formats, different frequencies and
stereo sound. The DMA sound system is used (works on a Mega STE, TT and a
Falcon).
Formats are:
* AVR (ST Replay) 8 or 16 bits, mono or stereo.
(16 bits samples are converted to 8 bits)
* WAV (PC) 8 or 16 bits, mono ou stereo
* PAC (I did it) 8 bits mono. Compressed sound!
Frequencies are those of the DMA with a tolerence:
6 kHz = [ 5485, 7165]
12,5kHz = [10971,14329]
25 kHz = [21942,29812]
50 kHz = [47261,51118]
Any sound outside those ranges is ignored.
~~~~~~~~~~~~~~~~~~~~~~~~~~
How Family treats a sound?
~~~~~~~~~~~~~~~~~~~~~~~~~~
If the sound line into GENS.DAT contains a valid sound file
(located into the SONS folder), you can hear it by clicking on 'Hear his
voice'. You can hear it again (it won't be loaded twice unless an images`
has deleted it into RAM).
AVR and WAV sound are loaded and eventually converted (signed and
16 to 8 bits), PAC sounds are unpacked (very fast).
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
PAC format, COMPRESS program
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
COMPRESS allows you to compressAVR files into PAC files. You can
expect to decrease the size to 50% or 70% of its original size. 16 bits
samples are converted to 8 bits (50%!).
A PAC file contains its own uncompressing routine: very easy to
use in your own program!
How to use COMRPESS
°°°°°°°°°°°°°°°°°°°
Fill the command line with the path+name of the files to compress,
for example:
C:\FAMILLE\SONS\A*.AVR
Will compress every A*.AVR into A*.PAC in the specified folder.
An AVR sound must fit entirely into RAM to be converted.
Frequency ranges are:
50 kHz = [51068,49064]
25 kHz = [25534,24532]
12,5 kHz = [12768,12266]
6 kHz = [ 6384, 6132]
Any other frequency is refused.