- 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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user