Re: [hatari-devel] Cracks in the sound (YM+DMA)

[ Thread Index | Date Index | More Archives ]

On Friday 01 March 2013 14:02, Nicolas Pomarède wrote:
> On 01/03/2013 19:19, David Savinkoff wrote:
> > Hi Nicolas,
> >
> > After having more thought on this, I believe this current patch is the
> > best because it emulates reality.
> >
> > The click (or pop) is the same one that happens when you power-cycle
> > an amplifier (or atari). The only downside here would be for public
> > performances at high volume (but the DJ is already used to this).
> Hi,
> I never noticed this sound on my ST, maybe it depends on the tv monitor
> and the scart cable.
> Anyway, if this click is due to centering the signal and we need a few
> frames when powering on to converge, isn't there a way to prefill the
> audio buffer or call the filters at init with somes empty sample values
> to simulate this init phase of the filter, but without playing the
> resulting buffer ?
> Even if some ST had this kind of sound, I think people will complain if
> we get some click at startup ;  I'm afraid it will be associated to a
> bug in our code (even if it's not the case)
> Nicolas

The only simple way to remove the pop is to send 100 milliseconds
of silence instead of sound after a cold start. Otherwise, Hatari will
need to have lower volume to avoid overflow.


Mail converted by MHonArc 2.6.19+