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

#include <binauralmic.h>

Inheritance diagram for sal::DatabaseBinauralMic:
sal::BinauralMic sal::StereoMicrophone sal::Microphone sal::CipicMic sal::KemarMic

Public Member Functions

 DatabaseBinauralMic (const mcl::Point &position, const mcl::Quaternion orientation, const Int update_length, const HeadRefOrientation reference_orientation=HeadRefOrientation::standard)
 
void FilterAll (mcl::DigitalFilter *filter)
 
virtual ~DatabaseBinauralMic ()
 
- Public Member Functions inherited from sal::BinauralMic
 BinauralMic (const mcl::Point &position, const mcl::Quaternion orientation, const Int update_length, const HeadRefOrientation reference_orientation=HeadRefOrientation::standard)
 
void SetUpdateLength (Int update_length) noexcept
 
void SetBypass (bool bypass) noexcept
 
virtual void Reset () noexcept
 
bool IsCoincident () const noexcept
 
Int num_channels () const noexcept
 
virtual ~BinauralMic ()
 
virtual void AddPlaneWaveRelative (const Sample *signal, const Int num_samples, const mcl::Point &point, const Int wave_id, Buffer &output_buffer) noexcept
 
- Public Member Functions inherited from sal::StereoMicrophone
 StereoMicrophone (mcl::Point position, mcl::Quaternion orientation)
 
virtual ~StereoMicrophone ()
 
- Public Member Functions inherited from sal::Microphone
 Microphone (mcl::Point position, mcl::Quaternion orientation=mcl::Quaternion::Identity())
 
mcl::Point position () const noexcept
 
virtual void SetPosition (const mcl::Point &position) noexcept
 
mcl::Quaternion orientation () const noexcept
 
virtual void SetOrientation (const mcl::Quaternion &orientation) noexcept
 
void SetHandedness (const mcl::Handedness handedness) noexcept
 
void AddPlaneWave (const MonoBuffer &signal, const mcl::Point &point, Buffer &output_buffer) noexcept
 
void AddPlaneWave (const Sample *input_data, const Int num_samples, const mcl::Point &point, Buffer &output_buffer) noexcept
 
void AddPlaneWave (const Sample input_sample, const mcl::Point &point, Buffer &output_buffer) noexcept
 
void AddPlaneWave (const MonoBuffer &input_buffer, const mcl::Point &point, const Int wave_id, Buffer &output_buffer) noexcept
 
void AddPlaneWave (const Sample input_sample, const mcl::Point &point, const Int wave_id, Buffer &output_buffer) noexcept
 
virtual void AddPlaneWave (const Sample *input_data, const Int num_samples, const mcl::Point &point, const Int wave_id, Buffer &output_buffer) noexcept
 
virtual bool IsOmni () const noexcept
 
mcl::Point GetRelativePoint (const mcl::Point &point) const noexcept
 
virtual ~Microphone ()
 
virtual void AddPlaneWaveRelative (const MonoBuffer &signal, const mcl::Point &point, const Int wave_id, Buffer &output_buffer) noexcept
 

Protected Attributes

std::vector< std::vector
< Signal > > 
hrtf_database_right_
 
std::vector< std::vector
< Signal > > 
hrtf_database_left_
 
- Protected Attributes inherited from sal::BinauralMic
HeadRefOrientation reference_orientation_
 

Additional Inherited Members

- Static Public Member Functions inherited from sal::Microphone
static bool Test ()
 

Constructor & Destructor Documentation

sal::DatabaseBinauralMic::DatabaseBinauralMic ( const mcl::Point &  position,
const mcl::Quaternion  orientation,
const Int  update_length,
const HeadRefOrientation  reference_orientation = HeadRefOrientation::standard 
)
virtual sal::DatabaseBinauralMic::~DatabaseBinauralMic ( )
inlinevirtual

Member Function Documentation

void sal::DatabaseBinauralMic::FilterAll ( mcl::DigitalFilter *  filter)

Filters all responses by filter. Useful for instance for including an inverse headphone filter

Member Data Documentation

std::vector<std::vector<Signal> > sal::DatabaseBinauralMic::hrtf_database_left_
protected
std::vector<std::vector<Signal> > sal::DatabaseBinauralMic::hrtf_database_right_
protected

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