Navigation
API > API/Runtime > API/Runtime/SignalProcessing
Class which manages scaling audio input and performing panning operations.
| Name | FAmp |
| Type | class |
| Header File | /Engine/Source/Runtime/SignalProcessing/Public/DSP/Amp.h |
| Include Path | #include "DSP/Amp.h" |
Syntax
class FAmp
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FAmp() |
DSP/Amp.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FAmp() |
DSP/Amp.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Generate
(
float& OutGainLeft, |
Generates a new gain value for left and right outputs. | DSP/Amp.h | |
const FPatchDestination GetModDestGainEnv() |
DSP/Amp.h | ||
const FPatchDestination GetModDestGainScale() |
DSP/Amp.h | ||
const FPatchDestination GetModDestPan() |
DSP/Amp.h | ||
void Init
(
const int32 InVoiceId, |
Initializes the amp with the mod matrix. | DSP/Amp.h | |
void ProcessAudio
(
const float LeftIn, |
Takes mono input and generates stereo output. | DSP/Amp.h | |
void ProcessAudio
(
const float LeftIn, |
Takes stereo input and generates stereo output. | DSP/Amp.h | |
void Reset() |
DSP/Amp.h | ||
void SetGain
(
const float InGainLinear |
Sets the direct gain in linear. | DSP/Amp.h | |
void SetGainDb
(
const float InGainDB |
Sets the direct gain in decibel. | DSP/Amp.h | |
void SetGainEnv
(
const float InGainEnv |
Sets the gain based on an envelope value. | DSP/Amp.h | |
void SetGainEnvDb
(
const float InGainEnvDb |
Sets the gain based on an envelope value. | DSP/Amp.h | |
void SetGainMod
(
const float InBipolarGainModLinear |
Sets the gain modulation in linear. Expects modulation value to be bipolar (for AM synth, etc) | DSP/Amp.h | |
void SetGainModDb
(
const float InGainModDb |
Sets the gain modulation in decibel. | DSP/Amp.h | |
void SetGainRange
(
const float InMin, |
Change the allowed range of the gain output. | DSP/Amp.h | |
void SetPan
(
const float InPan |
Sets the pan. | DSP/Amp.h | |
void SetPanModulator
(
const float InPanMod |
Sets the pan modulator. | DSP/Amp.h | |
void SetVelocity
(
const float InVelocity |
Sets the gain using a midi velocity value. | DSP/Amp.h | |
void Update() |
Updates the final output left and right gain based on current settings. | DSP/Amp.h |