[hatari-devel] Hatari v1.6 features?

Nicolas Pomarède npomarede at corp.free.fr
Sat Oct 15 23:26:26 CEST 2011


Le 15/10/2011 22:02, Anders Eriksson a écrit :
> On Sat, 15 Oct 2011, Eero Tamminen wrote:
>
>> Hi,
>>
>> As Nicolas mentioned that he's planning to release Hatari v1.6
>> before end of the year, I updated the Hatari release notes
>> (FDC stuff needs more details I think).
>>
>>
>> What things are still to be completed before this?
>
>
> Hi,
>
> David Savinkoff sent a patch for much better YM sample sound than in
> Hatari 1.5. It seems to have gone unnoticed by most people (I havn't
> seen it discussed and I don't think it went upstream?).
>
> The audio quality is very close to a real ST, so stuff like sample demos
> and soundtrackers sound a lot better and noise-free.
>
> Here's Davids original mail, I also attach his patch.


Hello

it's true that David patch was not included so far ; I still have to 
ponder if it's better to use this patch or to use volume tables as 
measured on a real ST.

This patch improves linear mixing in the sense that instead of 
summing/averaging volumes it also applies a filter similar to the one in 
the ST. But it doesn't take into account the period of each voice in 
this operation.

Final output signal depends on the volume of the 3 voices, but also on 
the period of each of this voice, as all 3 of them are wired together 
and the feedback effect will be different when freq changes.

So, regarding quality, I think we have this choices (from lower to better) :

  - linear mixing
  - david's version with filter
  - table mixing measured on a real ST

But even the 3rd method is not perfect, because those tables are often 
built for 1 or 2 different frequencies (per=0 and per!=0)

Sound conversion from digital to "analog" (ie the ST's signal) is a 
complex matter, it's quite subjective and hard to build a good model 
that reproduces the wiring "errors" in the ST.


Nicolas



Nicolas



More information about the hatari-devel mailing list