- also feed Global LFO 2..4 with Midi Clock

- set parameter text for MIDISYNC_MODE

git-svn-id: http://moon:8086/svn/software/trunk/projects/JaySynth@736 b431acfa-c32f-4a4a-93f1-934dc6c82436
This commit is contained in:
2020-08-17 20:53:43 +00:00
parent c5ba984db2
commit ef6d5fdb7e
3 changed files with 33 additions and 3 deletions
+6 -3
View File
@@ -1188,9 +1188,12 @@ void JaySynth::handleMidiEvent (const MidiMessage& m)
void JaySynth::voiceSetMidiBeat(int barBeatCount)
{
lfo_t *pLfo = &m_pVoices[0].pCom->glfo[0];
synth_float_t phase = Sync_mod((synth_float_t)barBeatCount/m_numMidiClocksPerBar);
LFO_sync(pLfo, phase);
for (int i=0; i < VOICE_NUM_LFO; i++)
{
lfo_t *pLfo = &m_pVoices[0].pCom->glfo[i];
synth_float_t phase = Sync_mod((synth_float_t)barBeatCount/m_numMidiClocksPerBar);
LFO_sync(pLfo, phase);
}
for (int i=0; i < max_num_voices; i++)
{