示例#1
0
 def load_tracks(self):
     """
     Loops through each track after the meta track (the first one), and checks to see if there are any
     notes in the track, and if there are, it proceeds forward to load them.
     """
     for track_index in range(1, len(self.pattern), 1):
         if MidiUtils.has_notes(self.pattern[track_index]):
             self.load_track(self.pattern[track_index])