Re: [hatari-devel] Falcon tests -> sound issues |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
- To: hatari-devel@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [hatari-devel] Falcon tests -> sound issues
- From: Anders Eriksson <evldhs@xxxxxxxxxxxxxx>
- Date: Fri, 17 Jun 2022 16:56:52 +0000
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1655485106; x=1655744306; bh=mPotJ1gsgusCJKn7vEXR6sMfXVDj//rS6TJVB2lDfqU=; h=Date:To:From:Reply-To:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID; b=axz4IrV5vw7vmw94u3T+FX1aG+LCYAyW1nN0/bMHn6echFkATEe5/3FZ0Eiogtsa4 vQ0OBYw4L1sNh7Aw7hjz1QR7a7wNAaDY7xGxKaXYqicneusIp3qxHqayFiD53OccNL 8j3xuITTJBBuAC/2gChWvpgK6fh9QqxWp3u0HKnqKbyl7Vb41iSD1Af6aV8g9NfXLF rYzhGJr8tA2uomOABTJQZXRAj4sadCi6U3bs9NhTDD6hTyGph+v7uqiHogmgEd6WWf Sefdrx7XwxRPN2UN3pxaIRS30fi8CMXUSy59E0JQLDFzU64sNncrrzg2RuRLvDjDAo kFdJCBPUCdRCw==
- Feedback-id: 41365795:user:proton
------- Original Message -------
On Friday, June 17th, 2022 at 16:52, Nicolas Pomarède <npomarede@xxxxxxxxxxxx> wrote:
> Hi
>
> good news, the sound problem in Falcon mode was finally fixed.
>
> This was quite hard to debug because the whole crossbar code requires to
> mix several input source at different freq and to output sound at
> another freq too (44.1 kHz for example), all that with possible rounding
> errors that must be compensated to keep a constant flow of bytes.
>
> After much tracing, the problem was in fact that this code used a wrong
> value for the Falcon's cpu freq since several years :-( This was not
> noticable before because sound mixing was done in a different (less
> accurate) way, but now with cycle accurate YM2149 we require all the
> clocks (cpu, dma, ym) to be as accurate as possible.
>
> Anyway, sound quality should be as good as before ; only remaining
> rounding error can cause a small drift that will mess sound again after
> 2 hours of playing sound :(
>
> So not perfect yet, but it will be good enough for Hatari 2.4 and should
> be fixed later.
>
> I tested with 4musiK, the falcsmp example program from Ander and 030
> demo by DML. Please check the demos that didn't sound good recently.
Hello,
I confirm the sound is now sounding great, tested ACE Tracker 2, MP2 Audio, JAM with Amiga Hippel music (DSP Paula), Graoumf Tracker, MX Player with multichannel mods, Digital Home Studio (nice acronym for that one :)) all sounds perfect!
Awesome, you rock Nicolas!
--
Anders Eriksson
ae@xxxxxx