ERIS CORE

◆ begin() [2/2]

void AudioSynthWaveformModulated2k::begin ( short  t_type)
inlineinherited

Definition at line 168 of file eris_synth_waveform.h.

168  {
169  tone_type = t_type;
170  if (t_type == WAVEFORM_BANDLIMIT_SQUARE)
171  band_limit_waveform.init_square (phase_increment) ;
172  else if (t_type == WAVEFORM_BANDLIMIT_PULSE)
173  band_limit_waveform.init_pulse (phase_increment, 0x80000000u) ;
174  else if (t_type == WAVEFORM_BANDLIMIT_SAWTOOTH || t_type == WAVEFORM_BANDLIMIT_SAWTOOTH_REVERSE)
175  band_limit_waveform.init_sawtooth (phase_increment) ;
176  }
BandLimitedWaveform band_limit_waveform

References AudioSynthWaveformModulated2k::band_limit_waveform, AudioSynthWaveformModulated2k::phase_increment, and AudioSynthWaveformModulated2k::tone_type.

Referenced by AudioSynthWaveformModulated2k::begin(), and SvcErisAudioParameterController::messageHandler().

+ Here is the caller graph for this function: