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
Greetings.
This text is translated with the help of a translator, so please apologize for possible inaccuracies in terms.
I tried to convert HOSA format from PSF files (https://www.zophar.net/music/playstation-psf/threads-of-fate) to MIDI using VGMTrans (v1.1 (8524723, HEAD)) and some tracks have incorrect indents (Delta Times) from the beginning of track. However, when I manually calculated the DTs using the algorithm from the source code, everything was calculated correctly. For example, this is how the tracks converted using VGMTrans look like:
Screenshot 1
but they should definitely look like this:
Screenshot 2
As we can see on Screenshots 3-5, last 3 tracks have no Delta Time event. (it equals 48 Bars, entire composition length).
Screenshots 3-5
Аor example, last note from last track have Delta time 9216 .
For first byte we have cCom_bit5=3, so we need to take Delta time from header, using 3-rd byte 0D (0D*2 + 0x10 = 2A), 0x2400 = 9216.
There is a tendency for all tracks without an indentation to have an indentation equal to the Delta time of the last note when converted to MIDI (The same thing happens when listening in the built-in player).
Correct Delta times for last track must be: 0 for all track, 0 for first note (byte 0C, cCom_bit5=0, no need to update DT), and 9216 for second note.
In some songs, some tracks with DT event also have incorrect indents at the beginning, but I haven't figured out what this is related to.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Greetings.
This text is translated with the help of a translator, so please apologize for possible inaccuracies in terms.
I tried to convert HOSA format from PSF files (https://www.zophar.net/music/playstation-psf/threads-of-fate) to MIDI using VGMTrans (v1.1 (8524723, HEAD)) and some tracks have incorrect indents (Delta Times) from the beginning of track. However, when I manually calculated the DTs using the algorithm from the source code, everything was calculated correctly. For example, this is how the tracks converted using VGMTrans look like:
Screenshot 1
but they should definitely look like this:
Screenshot 2
As we can see on Screenshots 3-5, last 3 tracks have no Delta Time event. (it equals 48 Bars, entire composition length).
Screenshots 3-5
There is a tendency for all tracks without an indentation to have an indentation equal to the Delta time of the last note when converted to MIDI (The same thing happens when listening in the built-in player).
Correct Delta times for last track must be: 0 for all track, 0 for first note (byte 0C, cCom_bit5=0, no need to update DT), and 9216 for second note.
In some songs, some tracks with DT event also have incorrect indents at the beginning, but I haven't figured out what this is related to.
Beta Was this translation helpful? Give feedback.
All reactions