ApplyGain#
- class ansys.sound.core.signal_utilities.ApplyGain(signal=None, gain=0.0, gain_in_db=True)#
Applies a gain to a signal.
Methods
Convert a DPF fields container to a NumPy array.
Get the signal with a gain as a DPF fields container.
Get the signal with a gain as a NumPy array.
Plot the resulting signals in a single figure.
Apply a gain to the signal.
Attributes
Gain value.
Flag indicating if the gain is in decibels (dB).
Signal.