诸葛八卦没改完

我来给他改一下,改完来,这家伙没料到我后面留了一手吧,qwq
This commit is contained in:
Eilles Wan 2022-06-25 16:17:42 +00:00 committed by Gitee
parent 453ca745af
commit d36134e525
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -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)