1
This commit is contained in:
stysmmaker 2021-09-19 01:26:58 -04:00
parent 759bfe4c39
commit 74c2558c96
Signed by: mmaker
GPG Key ID: CCE79B8FEDA40FB2

View File

@ -1,5 +1,4 @@
import json, sys, rpp import json, sys, rpp
from rich import print
def getSecondsFromPPQ(tempo, ppq, offset): def getSecondsFromPPQ(tempo, ppq, offset):
microseconds_per_tick = (60000 / tempo * 1000) / ppq microseconds_per_tick = (60000 / tempo * 1000) / ppq
@ -37,7 +36,6 @@ try:
tick_offset += int(midiData[1]) tick_offset += int(midiData[1])
else: else:
print(itemType)
trackList[trackName].append(itemPos) trackList[trackName].append(itemPos)
if (len(sys.argv) > 2): if (len(sys.argv) > 2):