- 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:
+6
-3
@@ -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++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user