![]() |
VISR
0.11.8
Versatile Interactive Scene Renderer
|
#include <point_source_with_reverb.hpp>
Public Member Functions | |
LateReverb () | |
LateReverb (LateReverb const &rhs) | |
LateReverb (SampleType onsetDelay, std::initializer_list< SampleType > const levels=std::initializer_list< SampleType >(), std::initializer_list< SampleType > const decayCoeffs=std::initializer_list< SampleType >(), std::initializer_list< SampleType > const attackTimes=std::initializer_list< SampleType >()) | |
SampleType const | onsetDelay () const |
void | setOnsetDelay (SampleType onset) |
LateReverbCoeffs const & | decayCoeffs () const |
LateReverbCoeffs const & | levels () const |
LateReverbCoeffs const & | attackTimes () const |
void | setLevels (LateReverbCoeffs const &levels) |
void | setLevels (SampleType const *levels, std::size_t numValues) |
void | setDecayCoeffs (LateReverbCoeffs const &decay) |
void | setDecayCoeffs (SampleType const *decay, std::size_t numValues) |
void | setAttackTimes (LateReverbCoeffs const &attack) |
void | setAttackTimes (SampleType const *attack, std::size_t numValues) |
Internal class to encapsulate the late reverberation-related parts of the reverb object.
visr::objectmodel::PointSourceWithReverb::LateReverb::LateReverb | ( | ) |
Default constructor
|
default |
Copy constructor, uses default implementation
|
explicit |
Constructor with initial values.
onsetDelay | The inset time delay for the late reverb path (in seconds). |
levels | The peak reverberation levels for the subbands. |
decayCoeffs | The decay coefficients (time constants) governing the decay after the peak. |
attackTimes | The attack (onset) times denoting the amount of time from the onset delay until the envelope reaches the peak value (in seconds). |
|
inline |
Return the attack times for the late reverberation envelope. Returned as an array of time values [in seconds].
|
inline |
Return the late reverberation decay coefficients. Returned as an array of decay coefficients corresponding to the fixed subbands.
|
inline |
Return the late reverberation levels. Returned as an array of linear levels corresponding to the fixed subbands.
|
inline |
Retrieve the initial delay (closely related to mixing time) for the late reverberation tail in seconds.
|
inline |
Set the attack times for the late reverberation decay coefficients.
attack | The attack times [in seconds] corresponding to the fixed subbands as a fixed-size array. |
void visr::objectmodel::PointSourceWithReverb::LateReverb::setAttackTimes | ( | SampleType const * | attack, |
std::size_t | numValues | ||
) |
Set the attack times for the late reverberation decay coefficients.
attack | The attack corresponding to the fixed subbands. |
numValues | The number of values contained in the decay array. |
std::invalid_argument | If numValues does not match the fixed number of subbands. |
|
inline |
Set the late reverberation decay coefficients.
decay | The decay coefficients corresponding to the fixed subbands as a fixed-size array. |
void visr::objectmodel::PointSourceWithReverb::LateReverb::setDecayCoeffs | ( | SampleType const * | decay, |
std::size_t | numValues | ||
) |
Set the late reverberation decay coefficients from a vector.
decay | The decay coefficients corresponding to the fixed subbands. |
numValues | The number of values contained in the decay array. |
std::invalid_argument | If numValues does not match the fixed number of subbands. |
|
inline |
Set the late reverberation levels.
levels | The levels (linear scale) corresponding to the fixed subbands as a fixed-size array. |
void visr::objectmodel::PointSourceWithReverb::LateReverb::setLevels | ( | SampleType const * | levels, |
std::size_t | numValues | ||
) |
Set the late reverberation levels from a vector.
levels | The levels (linear scale) corresponding to the fixed subbands. |
numValues | The number of values contained in the levels array. |
std::invalid_argument | If numValues does not match the fixed number of subbands. |
|
inline |
Set the onset time for the late reverberation part.
onset | Offset time in seconds. |