Lines Matching defs:midiFile
1421 def GetMidiInfo(midiFile):
1442 m = MIDIFile(midiFile, 'rb')
1547 midiFile = MIDIFile(f, 'rb')
1549 midiFile.ReadFromStream()
1551 #midiFile.DumpTracks()
1552 #print('[%s]: end-of-track\n' % midiFile.timebase.ConvertTicksToStr(midiFile.end_of_file))
1555 if convert and (midiFile.format == 1):
1556 midiFile.Convert(0)
1563 midiFile.SaveAs(f[:-4] + '-mod.mid', filters)
1569 midiFile.DumpError()
1570 midiFile.close()