| 61 | |
| 62 | |
| 63 | MonstroSynth::MonstroSynth( MonstroInstrument * _i, NotePlayHandle * _nph ) : |
| 64 | m_parent( _i ), |
| 65 | m_nph( _nph ) |
| 66 | { |
| 67 | m_osc1l_phase = 0.0f; |
| 68 | m_osc1r_phase = 0.0f; |
| 69 | m_osc2l_phase = 0.0f; |
| 70 | m_osc2r_phase = 0.0f; |
| 71 | m_osc3l_phase = 0.0f; |
| 72 | m_osc3r_phase = 0.0f; |
| 73 | |
| 74 | m_ph2l_last = 0.0f; |
| 75 | m_ph2r_last = 0.0f; |
| 76 | m_ph3l_last = 0.0f; |
| 77 | m_ph3r_last = 0.0f; |
| 78 | |
| 79 | m_env_phase[0] = 0.0f; |
| 80 | m_env_phase[1] = 0.0f; |
| 81 | m_lfo_phase[0] = 0.0f; |
| 82 | m_lfo_phase[1] = 0.0f; |
| 83 | |
| 84 | m_lfo_next[0] = Oscillator::noiseSample( 0.0f ); |
| 85 | m_lfo_next[1] = Oscillator::noiseSample( 0.0f ); |
| 86 | |
| 87 | m_osc1l_last = 0.0f; |
| 88 | m_osc1r_last = 0.0f; |
| 89 | |
| 90 | m_l_last = 0.0f; |
| 91 | m_r_last = 0.0f; |
| 92 | |
| 93 | m_invert2l = false; |
| 94 | m_invert2r = false; |
| 95 | m_invert3l = false; |
| 96 | m_invert3r = false; |
| 97 | |
| 98 | m_counter2l = 0; |
| 99 | m_counter2r = 0; |
| 100 | m_counter3l = 0; |
| 101 | m_counter3r = 0; |
| 102 | } |
| 103 | |
| 104 | |
| 105 | MonstroSynth::~MonstroSynth() |
nothing calls this directly
no test coverage detected