Module |
|
Header |
/Engine/Source/Runtime/SignalProcessing/Public/DSP/Amp.h |
Include |
#include "DSP/Amp.h" |
class FAmp
Class which manages scaling audio input and performing panning operations.
Name | Description | ||
---|---|---|---|
|
bChanged |
Whether or not something changed since the last time generate was called. |
|
|
CurrentLerpSample |
||
|
float |
GainControl |
Direct input gain control (i.e. gain slider) |
|
float |
GainEnv |
Gain set from envelope. |
|
GainEnvDest |
||
|
float |
GainMax |
|
|
float |
GainMin |
Min and max output gain, can be changed based on need. |
|
float |
GainMod |
A modulated value of gain, can be used for tremolo or amplitude modulation. |
|
GainPanDest |
||
|
GainScaleDest |
||
|
float |
GainVelocity |
Gain due to midi velocity. |
|
float |
LeftGain |
The final left and right output gain values. |
|
ModMatrix |
Mod matrix. |
|
|
float |
Pan |
Linear pan value [-1.0, 1.0]. |
|
float |
PanMod |
Linear pan modulator. |
|
float |
RightGain |
|
|
TargetDeltaSamples |
||
|
float |
TargetLeftGain |
Values used for lerping gain values to avoid zippering. |
|
float |
TargetLeftSlope |
|
|
float |
TargetRightGain |
|
|
float |
TargetRightSlope |
|
|
VoiceId |
Name | Description | |
---|---|---|
|
FAmp() |
Name | Description | |
---|---|---|
|
~FAmp() |
Name | Description | ||
---|---|---|---|
|
Generate ( |
Generates a new gain value for left and right outputs. |
|
|
const FPatch... |
GetModDestGainEnv() |
|
|
const FPatch... |
GetModDestGainScale() |
|
|
const FPatch... |
GetModDestPan() |
|
|
Init ( |
Initializes the amp with the mod matrix. |
|
|
ProcessAudio ( |
Takes mono input and generates stereo output. |
|
|
ProcessAudio ( |
Takes stereo input and generates stereo output. |
|
|
Reset() |
||
|
SetGain ( |
Sets the direct gain in linear. |
|
|
SetGainDb ( |
Sets the direct gain in decibel. |
|
|
SetGainEnv ( |
Sets the gain based on an envelope value. |
|
|
SetGainEnvDb ( |
Sets the gain based on an envelope value. |
|
|
SetGainMod ( |
Sets the gain modulation in linear. Expects modulation value to be bipolar (for AM synth, etc) |
|
|
SetGainModDb ( |
Sets the gain modulation in decibel. |
|
|
SetGainRange ( |
Change the allowed range of the gain output. |
|
|
SetPan ( |
Sets the pan. |
|
|
SetPanModulator ( |
Sets the pan modulator. |
|
|
SetVelocity ( |
Sets the gain using a midi velocity value. |
|
|
Update() |
Updates the final output left and right gain based on current settings. |