You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trackerboy playback is slightly slower than playback in emulators (tested in SameBoy, Emulicious, GB Studio).
I'm using GB Studio's GBT Player with the same tick speed as in Trackerboy. Either increasing or decreasing tick speed doesn't align.
How to reproduce
Write equivalent song with tempo ticks in .mod (F04) file as a .tbm (F40)
Play back .mod in GB Studio or build ROM to test in other emulators
The text was updated successfully, but these errors were encountered:
tadashibashi
changed the title
Trackerboy playback differs from gbt-player in emulators
Trackerboy playback speed differs from gbt-player in emulators
Nov 13, 2022
Interesting, I'm guessing the naive assumption of a vblank being exactly 59.7 Hz is the cause as each tick gets samplerate / 59.7 samples (with an extra sample on some ticks after accumulating the remainder).
I'll have to test this in the Nim rewrite to see if the same problem occurs there, which would confirm this is an architectural problem with the emulator.
I built a rom outside of GB Studio using their version of gbt-player and it's playing back at the speed of Trackerboy. I have no idea what the issue could be, but it's definitely on their end. Even the example files are playing back at the wrong speed.
Edit: I confirmed with one of the developers (Rulz) that this is an effect of GB Studio 3.0+ sound engine feature. It's running at a 64Hz tick speed to support playing WAV files at an even sample rate. 16384hz / 64 = 256hz (sample update) / 4 = 64hz music update
Bug description
Trackerboy playback is slightly slower than playback in emulators (tested in SameBoy, Emulicious, GB Studio).
I'm using GB Studio's GBT Player with the same tick speed as in Trackerboy. Either increasing or decreasing tick speed doesn't align.
How to reproduce
Information
SourceFiles.zip
GBSpeedComparisonFiles.zip
The text was updated successfully, but these errors were encountered: