utility functions
More...
utility functions
utility functions
AMBIX_API int32_t ambix_channels2order |
( |
uint32_t |
channels | ) |
|
Calculate the order of a full 3d ambisonics set for a given number of channels.
- Parameters
-
channels | the number of channels of the full set |
- Returns
- the order of the full set, or -1 if the channels don't form a full set.
AMBIX_API int ambix_is_fullset |
( |
uint32_t |
channels | ) |
|
Checks whether the channel can form a full 3d ambisonics set.
- Parameters
-
channels | the number of channels supposed to form a full set. |
- Returns
- TRUE if the channels can form full set, FALSE otherwise.
AMBIX_API uint32_t ambix_order2channels |
( |
uint32_t |
order | ) |
|
Calculate the number of channels for a full 3d ambisonics set of a given order.
- Parameters
-
order | the order of the full set |
- Returns
- the number of channels of the full set