ERIS CORE

◆ amplitude()

void AudioSynthWaveformhd::amplitude ( float  n)
inlineinherited

Definition at line 73 of file eris_synth_waveform.h.

73  { // 0 to 1.0
74  if (n < 0) {
75  n = 0;
76  } else if (n > 1.0f) {
77  n = 1.0;
78  }
79  magnitude = n * 65536.0f;
80  }

References AudioSynthWaveformhd::magnitude.

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

+ Here is the caller graph for this function: