Re: Converting 16/8-bit samples to 4-bit

From: Martijn van Buul (pino_at_dohd.cx)
Date: 1999-10-01 14:44:34

Robin Harbron wrote:
> 
> Is the best way to convert a 16 or 8 bit sample to 4-bit (to play
> on the SID) just to take the most significant (nibble?) nybble?

No.

> guess I'm just wondering if there's some sort of algorithm that would
> take into account what's going on in the LSN and sort of "dither" it,
> or something or other :)  I apologize - this may be a really stupid
> question, and I don't really know what I'm talking about :)

Dithering helps, but it is quite a lot extra work. However, the 
results might be interesting with 4-bit samples (It's quite useless 
for 8-bit samples). If memory serves me right, the -official- way
of dithering is adding a noise signal to the original, do a plain
shift on the result (making it 4-bit) and subtracting the noise signal
afterwards. 

Someone in my department has been working on something like that. I
heared the results a year ago, and it really did sound quite impressive.

-- 
    Martijn van Buul -  Pino@dohd.cx - http://www.stack.nl/~martijnb/
		Visit OuterSpace: mud.stack.nl 3333
	finger martijnb@stack.nl for my public key block
-
This message was sent through the cbm-hackers mailing list.
To unsubscribe: echo unsubscribe | mail cbm-hackers-request@dot.tcm.hut.fi.

Archive generated by hypermail 2.1.1.