From be1005a6031861b91e1a2df33f62e1c5a0a2aeb6 Mon Sep 17 00:00:00 2001 From: "Tim E. Real" Date: Mon, 12 Nov 2012 04:49:31 +0000 Subject: Finished Aftertouch controllers Feature: Piano KB / drum list show coloured dots when per-pitch controllers exist / have data. --- muse2/muse/midifile.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'muse2/muse/midifile.cpp') diff --git a/muse2/muse/midifile.cpp b/muse2/muse/midifile.cpp index 6f92d0f5..39b2e51d 100644 --- a/muse2/muse/midifile.cpp +++ b/muse2/muse/midifile.cpp @@ -699,8 +699,7 @@ bool MidiFile::write() writeShort(MusEGlobal::config.smfFormat); if (MusEGlobal::config.smfFormat == 0) { // DELETETHIS 30 - /* - //writeShort(1); // Removed. Bug tracker 3293339 + /* // REMOVE Tim. MidiFileTrack dst; for (iMidiFileTrack i = _tracks->begin(); i != _tracks->end(); ++i) { MPEventList* sl = &((*i)->events); @@ -713,8 +712,8 @@ bool MidiFile::write() // Nope. Didn't help. Now that it's a single MidiFileTrack, try skipping this section altogether... // Yes that appears to have fixed it. Weird. What's the difference - the local 'dst' variable ? // Or are there still lurking problems, or something more fundamentally wrong with Event or MPEvent? - printf("MidiFile::write adding event to dst:\n"); // REMOVE Tim. - ie->dump(); // REMOVE Tim. + printf("MidiFile::write adding event to dst:\n"); + ie->dump(); dst.events.add(*ie); } } -- cgit v1.2.3