プレイ日記
Squash glennxserge
Litterbox - MML Tracker Key: [ NDKJR3X3 ] This update fixes an issue with notes during playback if the position value is past 2047. Technical details in the comments. Old songs should still work, this update just fixes playback in the editor.
7そうだね
プレイ済み
返信[1]
親投稿
Squash glennxserge
Note data has multiple components: Position, Channel, Length, Value; which is packed into a single 32 bit integer. The position value is stored in the top 12 bits, and when MML strings are being generated for playback or export, the pattern array is sorted by position in timeline. Since the position is in the top bits, I sort without bitmasking or shifting (optimization)....
0そうだね
プレイ済み
返信[2]
親投稿
Squash glennxserge
Since the top bit is the sign bit, large values turned negative during sort and ended up before other notes. First step in building MML is to determine how many leading rests are before the first note, since the first note is actually very far into the pattern (usually around 16 measures), it padded the song with a bunch of silence. TL;DR, Sign bit screwing me up during sort function
0そうだね
プレイ済み
返信[3]
親投稿
Oscar PwnageBlock
It's awesome to see that you're still updating this program! I'd love to be able to select note length by dragging the stylus when initially placing down a note, similarly to NCF MUSEQ. Maybe consider it as a future feature?
2そうだね
プレイ済み
返信[4]
親投稿
Squash glennxserge
I certainly will, that's a great suggestion
0そうだね
プレイ済み