- added master clock PLL

git-svn-id: http://moon:8086/svn/software/trunk/projects/JaySynth@717 b431acfa-c32f-4a4a-93f1-934dc6c82436
This commit is contained in:
2020-08-10 16:07:19 +00:00
parent 840b7a3427
commit 6014af2bec
5 changed files with 147 additions and 45 deletions
-9
View File
@@ -62,17 +62,8 @@ public:
currentlyPlayingSound = nullptr;
}
void setMidiBpm(synth_float_t bpm)
{
LFO_Param2Set(&m_pVoice->lfo[0], LFO_PARAM2_FREQ, 1.0/bpm);
}
void setMidiBeat(int beatCounter)
{
if (beatCounter == 0)
{
LFO_Reset(&m_pVoice->lfo[0], 0);
}
}
private: