Monstro: Explicitly initialize LFO values with random, so that smooth random reliably starts from a random value
This commit is contained in:
1 parent
060063f5a8
commit
b36f905547
1 file changed
+3
@@ -89,6 +89,9 @@ MonstroSynth::MonstroSynth( MonstroInstrument * _i, NotePlayHandle * _nph,
|
||||
|
||||
m_lfo1_phase = 0.0f;
|
||||
m_lfo2_phase = 0.0f;
|
||||
|
||||
m_lfo1_s = Oscillator::noiseSample( 0.0f );
|
||||
m_lfo2_s = Oscillator::noiseSample( 0.0f );
|
||||
|
||||
m_osc1l_last = 0.0f;
|
||||
m_osc1r_last = 0.0f;
|
||||
|
||||
Reference in new issue
Block a user