mirror of
https://github.com/janishutz/midi-micro-bit_sound-converter.git
synced 2025-11-25 05:44:24 +00:00
Bugfix: Single track MIDI-File did not work. Patched now.
This commit is contained in:
@@ -14,7 +14,10 @@ class MidiManagement:
|
||||
self.tracks = []
|
||||
for self.track in self.midi_imp.tracks:
|
||||
self.tracks.append(str(self.track))
|
||||
self.tracks.pop(0)
|
||||
if len(self.tracks) > 1:
|
||||
self.tracks.pop(0)
|
||||
else:
|
||||
pass
|
||||
self.track_ext = self.tracks.pop(0)
|
||||
self.trackn = 0
|
||||
while self.track_ext != trackname:
|
||||
|
||||
@@ -1 +1 @@
|
||||
/home/janis/Desktop/Victory.mid
|
||||
/home/janis/Desktop/Water Drops Melodie.mid
|
||||
|
||||
|
Reference in New Issue
Block a user