stoneface86 / trackerboy

Game Boy / Game Boy Color music tracker
https://www.trackerboy.org
MIT License
111 stars 5 forks source link

Tempo command Fxx doesn't affect playback speed #14

Closed tadashibashi closed 1 year ago

tadashibashi commented 1 year ago

Bug description

Using command Fxx doesn't affect playback speed–it only seems to be determined by the Trackerboy module's speed.

(Also, Trackerboy's playback speed doesn't seem to align with game boy emulators)

How to reproduce

  1. Type F04 into any channel effect column
  2. Play song

Information

N-SPC700 commented 1 year ago

Command works as intended, relative to how Trackerboy handles speed. Speed in Trackerboy differs from that of other trackers like FamiTracker or Furnace, allowing more values in between the "standard" speed values.

F04 isn't valid, the lowest value that is valid is F10. This is because Trackerboy's fastest supported speed is 0x10 as indicated by the master speed setting.

Since you want "speed 4" as it would be in FamiTracker, use the command F40 instead of F04. This equates to setting the speed 0x40.

tadashibashi commented 1 year ago

Thanks, that answers the issue.

I'll open another one for emulators playing back at differing speeds from Trackerboy. It's significantly different, so I wonder what the issue is.