
                               ---------
                              | Quantic |
                               ---------

        Quantic is simple compressor for 8 bit samples, based on vector
quantization. He uses centroids alghoritm, which is a bit slow, but gives
quite good matching. I wrote it in C, but packing loops are written in
optimized assembler. For now Quantic has got only static parameters of
compression, as follow:
max. length of packing buffer = 32768 bytes
length of one vector = 4 bytes
        (that means we got 8192 vectors)
number of based vectors = 256
number of iterations in compression = 4 (it's rather enough)
ratio of compression = 9/32 (may to be improved by any loosless compressor)

        During compression Quantic can make two files:
  filename.SAP - a new sampling after decompression
  filename.VCS - compressed sampling (.VCE if encoded first)

        Format of *.VCS files:
 - file is built of blocks; each block is 9 kB long and it gives 32768
   decompressed bytes
 - first 1024 bytes in block - table of based vectors (256 vectors consisted
   of 4 bytes = 1024)
 - next 8192 bytes - compressed sample, where each byte is index to the
   (previously given) vectors table; one vector (4 bytes) is replaced by
   one index (1 byte)

        All you have to do, to decompress sample, you must to take this indexes
and put instead of them vectors taken from table. That's all.

        In file QUANTIC.ZIP you should also find two players: VCSPLAY.COM and
VCEPLAY.COM (player for encoded files). They are very simplified, but they work
fine.
        Example file WORLD.VCS is sampled in 20000 Hz. To hear it type just
>VCSPLAY WORLD.VCS (the quality of sound CAN be better if you make good
sampling).
                                                        Musashi

