Blitz (92/640)

From:Sami N��t�nen
Date:17 Aug 99 at 18:54:01
Subject:Re: 8svx sample compression

On 17-Aug-99, Curt Esser wrote.

> Hi Everyone,
>
> Does anybody know how to de-compress - or have some docs on the fibonacci
> (I hope I spelled it right) compression format used for iff/8svx samples?
>

Well I don't know the file format, but just use table of those fibonacci
values (16 of them) and then just repeat this pseudo code for it

dim table.b(15)
*fill table*
read first pyte to "sample.b"
repeat
data.b=readbyte
tmp.b=data&$f
sample=sample+table(tmp)
output sample to buffer
tmp.b=(data lsr 4)&$f
sample=sample+table(tmp)
output sample to buffer
until endofdata



Sami N��t�nen
EMail: sami.naatanen@dlc.fi

---------------------------------------------------------------------
To unsubscribe, e-mail: blitz-list-unsubscribe@netsoc.ucd.ie
For additional commands, e-mail: blitz-list-help@netsoc.ucd.ie