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
tempo goes through the instructions in physical order, which is an issue when the tempo instruction is only in a single track and it's not the first track. It would help if it took an approach closer to play, following control flow.
play follows control flow, but it goes through each track in turn instead of following strict temporal order, which would be preferred for accurate emulation of some aspects of rseq.
The end goal for this issue would be to produce a single player that could be used for both purposes, and possibly others in the future.
The text was updated successfully, but these errors were encountered:
A workaround for the issue in tempo if you come across it is to add/move the tempo instruction to before any notes or rests physically occur in the file. An example disassembly:
SMF_Fire_Burning_Begin:
set TrackUsage = 15
SMF_Fire_Burning_Start:
fork 1, SMF_Fire_Burning_Track_1
fork 2, SMF_Fire_Burning_Track_2
fork 3, SMF_Fire_Burning_Track_3
SMF_Fire_Burning_Track_0:
set Polyphony = 0
set Instrument = 60
// to workaround, place `set Tempo = <correct value>` anywhere before here
rest 24 // tempo is erroring *here*, because no tempo instruction is physically located before it.
note 61, 127, 24
rest 24
note 61, 127, 12
rest 12
note 61, 127, 12
// ...
SMF_Fire_Burning_Track_2:
set Polyphony = 0
set Tempo = 120 // correct Tempo value, but located way after notes and rests are first used physically. temporally, though, it's in the right spot.
end_track
// ...
tempo goes through the instructions in physical order, which is an issue when the tempo instruction is only in a single track and it's not the first track. It would help if it took an approach closer to play, following control flow.
play follows control flow, but it goes through each track in turn instead of following strict temporal order, which would be preferred for accurate emulation of some aspects of rseq.
The end goal for this issue would be to produce a single player that could be used for both purposes, and possibly others in the future.
The text was updated successfully, but these errors were encountered: