Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Timer issues #2189

Open
freq-mod opened this issue Oct 3, 2024 · 3 comments
Open

Timer issues #2189

freq-mod opened this issue Oct 3, 2024 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@freq-mod
Copy link
Collaborator

freq-mod commented Oct 3, 2024

⇒ When nearly perfectly synced with a media player, the timer in Furnace seems to slowly drift behind. VERY slowly, at least on the Mega Drive. Further investigation necessary, with a focus on other systems.

⇒ Sometimes, when playing from the middle of a song, Furnace underestimates how much time would have already passed. Maybe it's the song tempo? Maybe the chips involved?

Issue seen with these (all my covers - should I list demo songs instead?)...
Atari 2600/7800 (60Hz) • TIA ——— Bad Apple!! (sp 6, vt 138/150)
Mega Drive • YM2612 + SN76489 (60Hz) ——— Cab — Angel With A Shotgun (as seen in the video) (sp 6, vt 124/150)
Mega Drive (60Hz) ——— Bad Apple!! (sp 6, vt 138/150)
Master System w/ FM • SN76489 + YM2413 ——— Cab — Angel With A Shotgun (sp 6, vt 124/150)
NES • 2A03 ——— Michael Jackson — Smooth Criminal (sp 6, vt 120/150)
NES — WORLD 1-1 (sp 1, vt 100/150) (FAR off)
Game Gear • SN76489 ——— Michael Jackson — Beat It (sp 6, vt 138/150)
Game Gear ——— Evanescence — Bring Me To Life (sp 3, vt 96/150)

Issue NOT seen on...
Commodore PET (50Hz) ——— Bad Apple!! (sp 6, vt 138/125)
2x AY-3-8910 (60Hz) ——— Bad Apple!! (sp 6, vt 138/150)
Mega Drive (44Hz) ——— Linkin Park — Shadow Of The Day (sp 6, vt 150/150)

2024-08-05_21-36-11.mp4
@freq-mod freq-mod added the bug Something isn't working label Oct 3, 2024
@tildearrow tildearrow self-assigned this Dec 9, 2024
tildearrow added a commit that referenced this issue Dec 9, 2024
@tildearrow
Copy link
Owner

When nearly perfectly synced with a media player, the timer in Furnace seems to slowly drift behind.

A fix has been pushed. Testing needed (will do later).

Sometimes, when playing from the middle of a song, Furnace underestimates how much time would have already passed.

It appears virtual tempo was causing issues with time estimation. Fix pushed as well and confirmed working.

@tildearrow tildearrow added feedback Further information is requested and removed feedback Further information is requested labels Dec 9, 2024
@tildearrow
Copy link
Owner

Confirming that timer drift no longer occurs.

@tildearrow
Copy link
Owner

There still is an estimation issue in one of the songs.

@tildearrow tildearrow reopened this Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants