|
| MicrophoneArray (const mcl::Point &position, const mcl::Quaternion &orientation, const std::vector< Microphone * > µphones) |
|
virtual void | SetPosition (const mcl::Point &position) noexcept |
|
void | SetOrientation (const mcl::Quaternion &orientation) noexcept |
|
bool | IsCoincident () const noexcept |
|
Int | num_channels () const noexcept |
|
const Microphone * | GetConstMicrophonePointer (const Int microphone_id) const noexcept |
|
Microphone * | GetMicrophonePointer (const Int microphone_id) noexcept |
|
std::vector< Microphone * > | GetMicrophonePointers () const noexcept |
|
std::vector< const Microphone * > | GetConstMicrophonePointers () const noexcept |
|
Int | num_microphones () const noexcept |
|
virtual | ~MicrophoneArray () |
|
virtual void | AddPlaneWave (const Sample *input_data, const Int num_samples, const mcl::Point &point, const Int wave_id, Buffer &output_buffer) noexcept |
|
virtual void | AddPlaneWaveRelative (const Sample *input_data, const Int num_samples, const mcl::Point &point, const Int wave_id, Buffer &output_buffer) noexcept |
|
| Microphone (mcl::Point position, mcl::Quaternion orientation=mcl::Quaternion::Identity()) |
|
mcl::Point | position () const noexcept |
|
mcl::Quaternion | orientation () const 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 bool | IsOmni () const noexcept |
|
mcl::Point | GetRelativePoint (const mcl::Point &point) const noexcept |
|
virtual void | Reset () noexcept |
|
virtual | ~Microphone () |
|
virtual void | AddPlaneWaveRelative (const MonoBuffer &signal, const mcl::Point &point, const Int wave_id, Buffer &output_buffer) noexcept |
|
This is a microhone array, containing pointers to other microphones. A call to AddPlaneWave will call the AddPlaneWave of each microphone. You can then access the streams of each microphone by first extracting pointers to the microphone with the microphones() method and then accessing each one's stream. Alternatively, the object also has a multichannel stream object, which contains pointers to the individual streams.