[hatari-devel] Issues with DMA sound
Thomas Huth
huth at users.berlios.de
Sat Aug 15 17:02:00 CEST 2009
On Sat, 15 Aug 2009 16:31:32 +0200
"Per Almered" <per at brainfish.net> wrote:
> > > > Ah, that's a nice file for testing, thanks!
> > > > Now, could you also provide me the .WAV file from your
> > > > original STE (either send it to me directly or put it on your
> > > > webserver)?
> > >
> > > Absolutely! Do you want it in 16- or 24-bit format? And would you
> > > prefer the original version or the one where I've changed
> > the gain so
> > > YM vol $f is at -6dB?
> >
> > The original version in 16 bit would be fine (but I think I
> > can also handle the other versions with Audacity).
>
> http://brainfish.net/atari/stewav.zip
>
> Please note that these are longer versions of the notes, because as
> you will notice when you zoom in, the volume varies quite a bit over
> time. My volume levels are picked from very near the end of the notes.
>
> Hope you find these useful!
Great, thanks, this is how I enjoy debugging :-)
Ok, I've changed the scaling of the DMA sound samples now from 0.5 to
181/256 = 0.707 (which is the square root of 0.5 and thus looks quite
meaningful to me):
http://hg.berlios.de/repos/hatari/rev/1ea9d6316474
When I now analyze the output of Hatari playing your test "song", I get
-9.0 dB for the DMA tune and -9.5 dB for the first PSG tune. I guess
this is how it should be...!?
Regards,
Thomas
More information about the hatari-devel
mailing list