![]() |
VISR
0.11.1
Versatile Interactive Scene Renderer
|
#include <point_source_with_reverb.hpp>
Classes | |
class | DiscreteReflection |
class | LateReverb |
Public Types | |
using | LateReverbCoeffs = std::array< SampleType, cNumberOfSubBands > |
![]() | |
using | Coordinate = float |
using | Priority = unsigned char |
using | ChannelIndex = unsigned int |
Static Public Attributes | |
static const std::size_t | cNumberOfSubBands = 9 |
static const std::size_t | cNumDiscreteReflectionBiquads = 10 |
![]() | |
static const ObjectId | cInvalidObjectId = UINT_MAX |
static const GroupId | cDefaultGroupId = 0 |
static const ChannelIndex | cInvalidChannelIndex = UINT_MAX |
Audio object representing a monopole point source with corresponding object-based reverberation. Derived from PointSource.
using visr::objectmodel::PointSourceWithReverb::LateReverbCoeffs = std::array<SampleType, cNumberOfSubBands > |
Data type for holding the subband information (levels and decay coefficients) for the generation of the late reerberation filters.
|
delete |
Default constructor. Construct a PointSourceWithReverb with all data members set to default values.
|
explicit |
Construct a PointSourceWithReverb with a given object id and all data members set to default values.
|
virtualdefault |
Destructor.
|
virtual |
Clone function used to emulate 'virtual copy constructor' functionality. Must be implemented in every derived instantiated class.
Reimplemented from visr::objectmodel::PointSource.
|
inline |
Return a discrete reflection specification with the given index (const version)
std::out_of_range | If reflIdx exceeds the number of discrete reflections. |
|
inline |
Return a discrete reflection specification with the given index.
std::out_of_range | If reflIdx exceeds the number of discrete reflections. |
|
inline |
Return a reference to the late reverb object (const version).
|
inline |
Return a reference to the late reverb object (non-const version).
|
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 |
Return the number of discrete reflection specifications.
|
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. |
|
inline |
Set the attack times for the late reverberation decay coefficients.
attack | The attick times 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. |
|
inline |
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. |
|
inline |
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. |
void visr::objectmodel::PointSourceWithReverb::setNumberOfDiscreteReflections | ( | std::size_t | numReflections | ) |
Set the number of discrete reflection specifications. This method invalidates all previously set reflections.
numReflections | The new number of dicrete reflection specifications. |
|
virtual |
Reimplemented from visr::objectmodel::PointSource.
|
static |
Number of subbands for the late reverberation levels and decay constants.
|
static |
Number of biquad sections for the IIR filters representing the wall reflection filters of the early (discrete) reflections.