- commit last changes
git-svn-id: http://moon:8086/svn/software/trunk/projects/JaySynth@271 b431acfa-c32f-4a4a-93f1-934dc6c82436
This commit is contained in:
Binary file not shown.
@@ -5110,11 +5110,14 @@ void JaySynthAudioProcessorEditor::actionListenerCallback (const String &message
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case JaySynthActionListener::JAYSYNTH_CHANGED_MIDICLOCK:
|
case JaySynthActionListener::JAYSYNTH_CHANGED_MIDICLOCK:
|
||||||
|
{
|
||||||
uint32_t deltaTime_ms;
|
uint32_t deltaTime_ms;
|
||||||
deltaTime_ms = spa.getValue("value", "-1").getIntValue();
|
deltaTime_ms = spa.getValue("value", "-1").getIntValue();
|
||||||
m_btn_midiClockLed->flash(100);
|
m_btn_midiClockLed->flash(100);
|
||||||
m_labelDebug->setText(String("dT = ") + String(deltaTime_ms), juce::NotificationType::dontSendNotification);
|
uint32_t bpm = (uint32_t)(60*1000.0/deltaTime_ms + 0.5);
|
||||||
break;
|
m_labelDebug->setText(String("BPM = ") + String(bpm), juce::NotificationType::dontSendNotification);
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user