From a8f54f02291ef16f255abe9aee5bfaaef4903035 Mon Sep 17 00:00:00 2001 From: Volker Fischer Date: Wed, 19 Jan 2022 19:39:07 +0100 Subject: remove the Edrumulus specific debug output because there is the EdrumulusGUI available for that --- src/audioinputenginemidi.cc | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/src/audioinputenginemidi.cc b/src/audioinputenginemidi.cc index 4f8ff1f..503a5c3 100644 --- a/src/audioinputenginemidi.cc +++ b/src/audioinputenginemidi.cc @@ -123,24 +123,6 @@ void AudioInputEngineMidi::processNote(const std::uint8_t* midi_buffer, return; } -const bool use_edrumulus_debugging_output = false; -if(use_edrumulus_debugging_output) -{ - auto type = midi_buffer[0] & TypeMask; - auto key = midi_buffer[1]; - auto velocity = midi_buffer[2]; - if((type == ControlChange) && (key == 16)) - { - std::string bar = "--------------------"; - bar[static_cast(static_cast(velocity) / 128 * 20)] = '*'; - printf(std::string(" " + bar + "\n").c_str()); - } - else - { - printf("key: %d, velocity: %d\n", key, velocity); - } -} - switch(midi_buffer[0] & TypeMask) { case NoteOff: -- cgit v1.2.3