SAL
A C++ library for spatial audio.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Static Public Member Functions | List of all members
sal::RirAnalysis Class Reference

#include <riranalysis.h>

Static Public Member Functions

static std::vector< sal::SampleEnergyDecayCurve (std::vector< sal::Sample > room_impulse_response)
 
static sal::Time Rt60 (std::vector< sal::Sample > room_impulse_response, sal::Time sampling_frequency)
 
static sal::Time Rs60 (std::vector< sal::Sample > room_impulse_response)
 
static sal::Time Rs60FromEdc (std::vector< sal::Sample > edc)
 
static sal::Time Rs (std::vector< sal::Sample > room_impulse_response, sal::Sample decay_value)
 
static sal::Time RsFromEdc (std::vector< sal::Sample > edc, sal::Sample decay_value)
 
static bool Test ()
 

Member Function Documentation

std::vector< sal::Sample > sal::RirAnalysis::EnergyDecayCurve ( std::vector< sal::Sample room_impulse_response)
static
sal::Time sal::RirAnalysis::Rs ( std::vector< sal::Sample room_impulse_response,
sal::Sample  decay_value 
)
static
sal::Time sal::RirAnalysis::Rs60 ( std::vector< sal::Sample room_impulse_response)
static

Returns the reverberation sample RT60, i.e. the point where the EDC reaches -60 dB in number of samples. Returns the length of the rir if the EDC doesn's fall below -60 dB.

sal::Time sal::RirAnalysis::Rs60FromEdc ( std::vector< sal::Sample edc)
static
sal::Time sal::RirAnalysis::RsFromEdc ( std::vector< sal::Sample edc,
sal::Sample  decay_value 
)
static
sal::Time sal::RirAnalysis::Rt60 ( std::vector< sal::Sample room_impulse_response,
sal::Time  sampling_frequency 
)
static

Returns the reverberation time RT60, i.e. the point where the EDC reaches -60 dB in [s]. Returns the length of the rir if the EDC doesn't fall below -60 dB.

bool sal::RirAnalysis::Test ( )
static

The documentation for this class was generated from the following files: