}
noteOns.trimToSize();
noteOffs.trimToSize();
- boolean isEmpty = (noteOns.size() == 0);
- String text = "Track " + i + " has " + noteOns.size() + "/" + noteOffs.size() + "/" + tracks[i].size();
- if (isEmpty) {
- text += " and will be removed.";
- emptyTracks.add(tracks[i]);
- }
- System.out.println(text);
+ if (noteOns.size() == 0) emptyTracks.add(tracks[i]);
// Sorts the note lists by tick position.
Comparator c = new Comparator() {