- prepared Midiclock sync of voices

- buttonLed has flash() has brightness

git-svn-id: http://moon:8086/svn/software/trunk/projects/JaySynth@716 b431acfa-c32f-4a4a-93f1-934dc6c82436
This commit is contained in:
2020-08-06 12:09:37 +00:00
parent eecd6c5005
commit 840b7a3427
8 changed files with 144 additions and 62 deletions
+4 -2
View File
@@ -113,12 +113,14 @@ public:
sendActionMessage(s);
}
void callMidiClock (uint32_t deltaTime_ms)
void callMidiClock (uint32_t deltaTime_ms, uint32_t type)
{
String s;
s = String("type=") + String(JAYSYNTH_CHANGED_MIDICLOCK);
s = s + String(" ");
s = s + String("value=") + String(deltaTime_ms);
s = s + String("deltatime=") + String(deltaTime_ms);
s = s + String(" ");
s = s + String("brightness=") + String(type);
s = s + String(" ");
sendActionMessage(s);
}