[hatari-devel] Issues with DMA sound

Thomas Huth huth at users.berlios.de
Sat Aug 15 14:58:31 CEST 2009


On Sat, 15 Aug 2009 13:28:27 +0200
"Per Almered" <per at brainfish.net> wrote:

> > Now I am confused completely. I've scaled _down_ the DMA 
> > sound samples by factor two after Anders complained about 
> > them being to loud, see this mail here:
> 
> To me, it looks like between Hatari v1.2 and v1.3, the DMA
> output amplitude was divided by 4, which should give a 
> volume change of -12dB. And indeed, the volume change between
> v1.2 and v1.3 is 12.1dB, certainly close enough.

That's strange. The changeset that introduced the difference is this
one:

 http://hg.berlios.de/repos/hatari/rev/e27e82952a01

As you can see, the DMA sound samples are just shifted by 7 instead of
8 now, so this is factor 2, not 4.

> If my data is correct, Hatari v1.2 was 3dBs too loud, meaning
> the volume should be multiplied by 0,75 (although that is probably
> scaled wrong, it should give a decent value).

Can you compile Hatari on your own and check this by modifying the
corresponding lines in dmaSnd.c ?

 Thomas



More information about the hatari-devel mailing list