mirror of
https://github.com/TriM-Organization/Musicreater.git
synced 2024-11-11 01:27:35 +08:00
诸葛八卦没改完
我来给他改一下,改完来,这家伙没料到我后面留了一手吧,qwq
This commit is contained in:
parent
453ca745af
commit
d36134e525
@ -406,9 +406,9 @@ class midiConvert:
|
||||
if msg.is_meta:
|
||||
if msg.type == 'set_tempo':
|
||||
tempo = msg.tempo
|
||||
else:
|
||||
if msg.type == 'program_change':
|
||||
instrumentID = msg.program
|
||||
else:
|
||||
if msg.type == 'note_on' and msg.velocity != 0:
|
||||
nowtick = round(
|
||||
(ticks * tempo)
|
||||
|
Loading…
Reference in New Issue
Block a user