home *** CD-ROM | disk | FTP | other *** search
/ M.u.C.S. Disc 2000 / MUCS2000.iso / anwend / family / sons / sounds.doc < prev   
Text File  |  1996-10-02  |  2KB  |  66 lines

  1.     SOUNDS with FAMILY, HOW TO USE COMPRESS.TTP
  2.     *******************************************
  3.  
  4. ~~~~~~~~~~~~~~~
  5. Formats, Limits
  6. ~~~~~~~~~~~~~~~
  7.  
  8.     Faily knows three different formats, different frequencies and
  9. stereo sound. The DMA sound system is used (works on a Mega STE, TT and a
  10. Falcon).
  11.  
  12.         Formats are:
  13.  
  14.     * AVR (ST Replay) 8 or 16 bits, mono or stereo.
  15.         (16 bits samples are converted to 8 bits)
  16.         * WAV (PC) 8 or 16 bits, mono ou stereo
  17.     * PAC (I did it) 8 bits mono. Compressed sound!
  18.  
  19.         Frequencies are those of the DMA with a tolerence:
  20.  
  21.      6  kHz = [ 5485, 7165]
  22.     12,5kHz = [10971,14329]
  23.     25  kHz = [21942,29812]
  24.     50  kHz = [47261,51118]
  25.  
  26.     Any sound outside those ranges is ignored.
  27.  
  28.  
  29. ~~~~~~~~~~~~~~~~~~~~~~~~~~
  30. How Family treats a sound?
  31. ~~~~~~~~~~~~~~~~~~~~~~~~~~
  32.  
  33.     If the sound line into GENS.DAT contains a valid sound file
  34. (located into the SONS folder), you can hear it by clicking on 'Hear his
  35. voice'. You can hear it again (it won't be loaded twice unless an images`
  36. has deleted it into RAM).
  37.     AVR and WAV sound are loaded and eventually converted (signed and
  38. 16 to 8 bits), PAC sounds are unpacked (very fast).
  39.  
  40.  
  41. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  42. PAC format, COMPRESS program
  43. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  44.  
  45.     COMPRESS allows you to compressAVR files into PAC files. You can
  46. expect to decrease the size to 50% or 70% of its original size. 16 bits
  47. samples are converted to 8 bits (50%!).
  48.     A PAC file contains its own uncompressing routine: very easy to
  49. use in your own program!
  50.  
  51.     How to use COMRPESS
  52.     °°°°°°°°°°°°°°°°°°°
  53.     Fill the command line with the path+name of the files to compress,
  54. for example:
  55.     C:\FAMILLE\SONS\A*.AVR
  56.     Will compress every A*.AVR into A*.PAC in the specified folder.
  57.  
  58.     An AVR sound must fit entirely into RAM to be converted.
  59.     Frequency ranges are:
  60.  
  61.     50   kHz = [51068,49064]
  62.     25   kHz = [25534,24532]
  63.     12,5 kHz = [12768,12266]
  64.      6   kHz = [ 6384, 6132]
  65.  
  66.     Any other frequency is refused.