diff --git a/Love_and_Horror_V2.fxb b/Love_and_Horror_V2.fxb index d8dcaa7..7cde83a 100644 Binary files a/Love_and_Horror_V2.fxb and b/Love_and_Horror_V2.fxb differ diff --git a/Source/JaySynthAudioProcessorEditor.cpp b/Source/JaySynthAudioProcessorEditor.cpp index 860fb15..b26d1ab 100644 --- a/Source/JaySynthAudioProcessorEditor.cpp +++ b/Source/JaySynthAudioProcessorEditor.cpp @@ -5110,11 +5110,14 @@ void JaySynthAudioProcessorEditor::actionListenerCallback (const String &message break; case JaySynthActionListener::JAYSYNTH_CHANGED_MIDICLOCK: + { uint32_t deltaTime_ms; deltaTime_ms = spa.getValue("value", "-1").getIntValue(); m_btn_midiClockLed->flash(100); - m_labelDebug->setText(String("dT = ") + String(deltaTime_ms), juce::NotificationType::dontSendNotification); - break; + uint32_t bpm = (uint32_t)(60*1000.0/deltaTime_ms + 0.5); + m_labelDebug->setText(String("BPM = ") + String(bpm), juce::NotificationType::dontSendNotification); + } + break; default: break;