_active_notes.reset();
}
+void
+MidiStateTracker::reset ()
+{
+ _active_notes.reset ();
+}
+
void
MidiStateTracker::track_note_onoffs (const Evoral::MIDIEvent<MidiBuffer::TimeType>& event)
{
}
}
+void
+MidiStateTracker::dump (ostream& o)
+{
+ o << "******\n";
+ for (int c = 0; c < 16; ++c) {
+ for (int x = 0; x < 128; ++x) {
+ if (_active_notes[c * 128 + x]) {
+ o << "Channel " << c+1 << " Note " << x << " is on\n";
+ }
+ }
+ }
+ o << "+++++\n";
+}