-
first, a big up for your work ! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hi, It is stated in the wiki:
While the song is loading, the sequencer's data is filled with temporary numbers that are not related to the MIDI itself. |
Beta Was this translation helpful? Give feedback.
-
So, for example, instead of seq.loadNewSongList(midis);
const duration = dureef(seq.duration):
console.log(duration); You'd do: seq.loadNewSongList(midis);
seq.addOnSongChangeEvent(mid => {
const duration = dureef(mid.duration):
console.log(duration);
}, "song-change-duration"); |
Beta Was this translation helpful? Give feedback.
So, for example, instead of
You'd do: