ERIS CORE

◆ amplitude()

void AudioSynthWaveformModulated2k::amplitude ( float  n)
inlineinherited

Definition at line 152 of file eris_synth_waveform.h.

152  { // 0 to 1.0
153  if (n < 0) {
154  n = 0;
155  } else if (n > 1.0f) {
156  n = 1.0f;
157  }
158  magnitude = n * 65536.0f;
159  }

References AudioSynthWaveformModulated2k::magnitude.

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

+ Here is the caller graph for this function: