|
Jamoma API
0.6.0.a19
|
#include <MicArray.h>
Public Member Functions | |
| MicArray (short numMics) | |
| Class constructor. | |
| bool | validChannel (short channelNum=8) |
| True if the channel num >= 0 and < the total number of channels. | |
| void | centerLR (double newCenterLR) |
| Set center in x. | |
| void | centerFB (double newCenterFB) |
| Set center in y. | |
| void | centerUD (double newCenterUD) |
| Set center in z. | |
| void | xPos (double x) |
| Sets all of the MicArray's mics' x positions to x. | |
| void | yPos (double y) |
| Sets all of the MicArray's mics' y positions to y. | |
| void | zPos (double z) |
| Sets all of the MicArray's mics' z positions to z. | |
| void | azi (double azi) |
| Sets all of the MicArray's mics' azimuth angles. | |
| void | ele (double ele) |
| Sets all of the MicArray's mics' elevation angles. | |
| void | centerDistance (double rad) |
| Set mic array's radius. | |
| void | distPow (double pow) |
| Sets all of the MicArray's mics' distance powers. | |
| void | dbUnit (double dbUnit) |
| Sets all of the MicArray's mics' dB unit. | |
| void | dirGain (double gain) |
| Sets all of the MicArray's mics' directivity gains. | |
| void | gain (double gain) |
| Sets all of the MicArray's mics' gain. | |
| void | dirPow (double pow) |
| Sets all of the MicArray's mics' directivity powers. | |
| short | numChannels () const |
| Returns the size of the mic array. | |
| void | renderMic (int mic) |
| Updates the specified mic. | |
| void | renderMics () |
| Updates all mics. | |
| Mic & | operator[] (const int idx) |
| Returns the mic at the given index. | |
| const Mic & | operator[] (const int i) const |
| Returns a constant refernce to the mic at the given index. | |
| void | print () |
| Prints information about all of the mics. | |
| bool | flag () const |
| Returns true if the mic array has changed, false otherwise. | |
| void | flag (bool changed) |
| Sets the mics flag. | |
| bool | checkWidth (double newWidth) |
| Checks that new room width will not exclude any mics. | |
| bool | checkDepth (double newDepth) |
| Checks that new room depth will not exclude any mics. | |
| bool | checkHeight (double newHeight) |
| Checks that new room height will not exclude any mics. | |
| ~MicArray () | |
| Class destructor. | |
MicArray class.
This class implements a collection of mics that allows position changes to be applied to all its members.
by Tristan Matthews and Nils Peters, 2007-2008.
Definition at line 21 of file MicArray.h.