ERIS CORE

◆ begin() [2/2]

void AudioSynthWaveformhd::begin ( short  t_type)
inlineinherited

Definition at line 97 of file eris_synth_waveform.h.

97  {
98  phase_offset = 0;
99  tone_type = t_type;
100  if (t_type == WAVEFORM_BANDLIMIT_SQUARE)
101  band_limit_waveform.init_square (phase_increment) ;
102  else if (t_type == WAVEFORM_BANDLIMIT_PULSE)
104  else if (t_type == WAVEFORM_BANDLIMIT_SAWTOOTH || t_type == WAVEFORM_BANDLIMIT_SAWTOOTH_REVERSE)
105  band_limit_waveform.init_sawtooth (phase_increment) ;
106  }
BandLimitedWaveform band_limit_waveform

References AudioSynthWaveformhd::band_limit_waveform, AudioSynthWaveformhd::phase_increment, AudioSynthWaveformhd::phase_offset, AudioSynthWaveformhd::pulse_width, and AudioSynthWaveformhd::tone_type.

Referenced by AudioSynthWaveformhd::begin(), AppCQT::init(), and SvcErisAudioParameterController::messageHandler().

+ Here is the caller graph for this function: