diff options
author | Volker Fischer <corrados@users.noreply.github.com> | 2022-01-19 19:39:07 +0100 |
---|---|---|
committer | Volker Fischer <corrados@users.noreply.github.com> | 2022-01-19 19:39:07 +0100 |
commit | a8f54f02291ef16f255abe9aee5bfaaef4903035 (patch) | |
tree | f3053b4b009dd69589aac44e35c46ef0c665a7e6 /src | |
parent | 42c98b390426726b3093ce344ecc11f500b17419 (diff) |
remove the Edrumulus specific debug output because there is the EdrumulusGUI available for that
Diffstat (limited to 'src')
-rw-r--r-- | src/audioinputenginemidi.cc | 18 |
1 files changed, 0 insertions, 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<int>(static_cast<float>(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: |