- evaluate MidiClock

git-svn-id: http://moon:8086/svn/software/trunk/projects/JaySynth@269 b431acfa-c32f-4a4a-93f1-934dc6c82436
This commit is contained in:
2015-03-20 16:35:58 +00:00
parent 13adfc4ddd
commit 210833df74
18 changed files with 1826 additions and 1640 deletions
+14
View File
@@ -15,6 +15,7 @@
#include "synth/synth_defs.h"
#include "JaySynthSound.h"
#include "JaySynth.h"
#include "JK_MidiClock.h"
//==============================================================================
/**
@@ -30,6 +31,7 @@ public:
JAYSYNTH_CHANGED_NOTE_PRESSED,
JAYSYNTH_CHANGED_NOTE_RELEASED,
JAYSYNTH_CHANGED_NUM_VOICES_PLAYING,
JAYSYNTH_CHANGED_MIDICLOCK,
JAYSYNTH_CHANGED_PROGRAM,
JAYSYNTH_CHANGED_LIMITER,
JAYSYNTH_CHANGED_SIZE
@@ -111,6 +113,16 @@ public:
sendActionMessage(s);
}
void callMidiClock (uint32_t deltaTime_ms)
{
String s;
s = String("type=") + String(JAYSYNTH_CHANGED_MIDICLOCK);
s = s + String(" ");
s = s + String("value=") + String(deltaTime_ms);
s = s + String(" ");
sendActionMessage(s);
}
void callBinary(void *pData, int size)
{
String s;
@@ -340,6 +352,8 @@ private:
JaySynthMidiCC midCC_editBuffer;
int m_limiter_active;
synth_float_t m_limiter_env;
JK_MidiClock m_JK_MidiClock;
//==============================================================================
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (JaySynthAudioProcessor);
};