Lines Matching defs:mi
607 mi = GetMidiInfo(midiFile)
608 if mi.err == 0:
609 print("ppqn: " + str(mi.ppqn))
610 print("beats_per_measure: " + str(mi.beats_per_measure))
611 print("ending mbt: " + str(mi.endMbt))
612 print("ending mbt str: " + mi.endMbtStr)
613 print("maxMeasures: " + str(mi.maxMeasures))
614 print("maxBeats: " + str(mi.maxBeats))
615 print("maxTicks: " + str(mi.maxTicks))
616 print("maxTracks: " + str(mi.maxTracks))
617 print("totalTicks: " + str(mi.totalTicks))
618 for track in mi.trackList:
640 mi = GetMidiInfo(segment.filename)
641 if mi.err == 0:
644 IniSetValue(JetDefs.JETMIDIFILES_INI, segment.filename, "PPQN", str(mi.ppqn))
645 IniSetValue(JetDefs.JETMIDIFILES_INI, segment.filename, "BPM", str(mi.beats_per_measure))
646 IniSetValue(JetDefs.JETMIDIFILES_INI, segment.filename, "totalTicks", str(mi.totalTicks))
647 IniSetValue(JetDefs.JETMIDIFILES_INI, segment.filename, "maxTracks", str(mi.maxTracks))
651 IniSetValue(JetDefs.JETMIDIFILES_INI, segment.filename, "MsPerTick", str(iLengthInMs / mi.totalTicks))
654 for track in mi.trackList: