From 6a7d12438b22a3f1c292ecdf9735a758daf0b4c8 Mon Sep 17 00:00:00 2001 From: hemmer <915048+hemmer@users.noreply.github.com> Date: Tue, 19 Mar 2024 19:37:26 +0000 Subject: [PATCH] Update labels --- src/MidiThing.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/MidiThing.cpp b/src/MidiThing.cpp index 4df0f9f..1ca30ff 100644 --- a/src/MidiThing.cpp +++ b/src/MidiThing.cpp @@ -122,7 +122,8 @@ struct MidiThing : Module { }; const std::vector updateRates = {200., 1000., 4000., 16000.}; - const std::vector updateRateNames = {"200hz", "1khz", "4khz", "16khz"}; + const std::vector updateRateNames = {"200 Hz (fewest active channels, slowest, lowest-cpu)", "1 kHz", "4 kHz", + "16 kHz (most active channels, fast, highest-cpu)"}; int updateRateIdx = 1; // use Pre-def 4 for bridge mode @@ -771,7 +772,7 @@ struct MidiThingWidget : ModuleWidget { menu->addChild(createBoolPtrMenuItem("Set frame", "", &module->setFrame)); float updateRate = module->updateRates[module->updateRateIdx] / module->numActiveChannels; - menu->addChild(createMenuLabel(string::f("Midi Update rate: %.3g Hz", updateRate))); + menu->addChild(createMenuLabel(string::f("Per-channel MIDI rate: %.3g Hz", updateRate))); } };