|
SAF
|
Main structure for ambi_roomsim. More...
#include <ambi_roomsim_internal.h>
Data Fields | |
| float | inputFrameTD [MAX_NUM_INPUTS][AMBI_ROOMSIM_FRAME_SIZE] |
| Input frame of signals. | |
| float | outputFrameTD [MAX_NUM_SH_SIGNALS][AMBI_ROOMSIM_FRAME_SIZE] |
| Output frame of SH signals. | |
| float | fs |
| Host sampling rate, in Hz. | |
| void * | hIms |
| Image source implementation handle. | |
| int | sourceIDs [ROOM_SIM_MAX_NUM_SOURCES] |
| Unique IDs per source in the simulation. | |
| int | receiverIDs [ROOM_SIM_MAX_NUM_RECEIVERS] |
| Unique IDs per receiver in the simulation. | |
| float ** | src_sigs |
| Source signal buffers; ROOM_SIM_MAX_NUM_SOURCES x AMBI_ROOMSIM_FRAME_SIZE. | |
| float *** | rec_sh_outsigs |
| Receiver signal buffers; ROOM_SIM_MAX_NUM_RECEIVERS x MAX_NUM_SH_SIGNALS x AMBI_ROOMSIM_FRAME_SIZE. | |
| _Atomic_INT32 | reinit_room |
| Flag, 1: re-init required, 0: not required. | |
| _Atomic_INT32 | new_sh_order |
| New receiver SH order (current value will be replaced by this after next re-init) | |
| _Atomic_INT32 | new_nSources |
| New number of sources (current value will be replaced by this after next re-init) | |
| _Atomic_INT32 | new_nReceivers |
| New number of receivers (current value will be replaced by this after next re-init) | |
| _Atomic_INT32 | sh_order |
| Current SH order of receivers. | |
| _Atomic_INT32 | enableReflections |
| 0: disabled, 1: enabled | |
| _Atomic_INT32 | refl_order |
| Current maximum image source reflection order. | |
| _Atomic_INT32 | nSources |
| Current number of sources. | |
| _Atomic_INT32 | nReceivers |
| Current number of receivers. | |
| _Atomic_FLOAT32 | room_dims [3] |
| Room dimensions along the x,y,z axes in meters. | |
| _Atomic_FLOAT32 | abs_wall [6] |
| Absorption coefficients per wall, in the order in which the axis intersect walls: +x -x +y -y +z -z. | |
| _Atomic_FLOAT32 | src_pos [ROOM_SIM_MAX_NUM_SOURCES][3] |
| Current source Cartesian coordinates, meters. | |
| _Atomic_FLOAT32 | rec_pos [ROOM_SIM_MAX_NUM_RECEIVERS][3] |
| Current receiver Cartesian coordinates, meters. | |
| _Atomic_CH_ORDER | chOrdering |
| Ambisonic channel order convention (see CH_ORDER) | |
| _Atomic_NORM_TYPES | norm |
| Ambisonic normalisation convention (see NORM_TYPES) | |
Main structure for ambi_roomsim.
Contains variables for audio buffers, internal variables, user parameters
Definition at line 57 of file ambi_roomsim_internal.h.
| _Atomic_FLOAT32 ambi_roomsim_data::abs_wall[6] |
Absorption coefficients per wall, in the order in which the axis intersect walls: +x -x +y -y +z -z.
Definition at line 82 of file ambi_roomsim_internal.h.
| _Atomic_CH_ORDER ambi_roomsim_data::chOrdering |
Ambisonic channel order convention (see CH_ORDER)
Definition at line 85 of file ambi_roomsim_internal.h.
| _Atomic_INT32 ambi_roomsim_data::enableReflections |
0: disabled, 1: enabled
Definition at line 77 of file ambi_roomsim_internal.h.
| float ambi_roomsim_data::fs |
Host sampling rate, in Hz.
Definition at line 62 of file ambi_roomsim_internal.h.
| void* ambi_roomsim_data::hIms |
Image source implementation handle.
Definition at line 65 of file ambi_roomsim_internal.h.
| float ambi_roomsim_data::inputFrameTD[MAX_NUM_INPUTS][AMBI_ROOMSIM_FRAME_SIZE] |
Input frame of signals.
Definition at line 60 of file ambi_roomsim_internal.h.
| _Atomic_INT32 ambi_roomsim_data::new_nReceivers |
New number of receivers (current value will be replaced by this after next re-init)
Definition at line 73 of file ambi_roomsim_internal.h.
| _Atomic_INT32 ambi_roomsim_data::new_nSources |
New number of sources (current value will be replaced by this after next re-init)
Definition at line 72 of file ambi_roomsim_internal.h.
| _Atomic_INT32 ambi_roomsim_data::new_sh_order |
New receiver SH order (current value will be replaced by this after next re-init)
Definition at line 71 of file ambi_roomsim_internal.h.
| _Atomic_NORM_TYPES ambi_roomsim_data::norm |
Ambisonic normalisation convention (see NORM_TYPES)
Definition at line 86 of file ambi_roomsim_internal.h.
| _Atomic_INT32 ambi_roomsim_data::nReceivers |
Current number of receivers.
Definition at line 80 of file ambi_roomsim_internal.h.
| _Atomic_INT32 ambi_roomsim_data::nSources |
Current number of sources.
Definition at line 79 of file ambi_roomsim_internal.h.
| float ambi_roomsim_data::outputFrameTD[MAX_NUM_SH_SIGNALS][AMBI_ROOMSIM_FRAME_SIZE] |
Output frame of SH signals.
Definition at line 61 of file ambi_roomsim_internal.h.
| _Atomic_FLOAT32 ambi_roomsim_data::rec_pos[ROOM_SIM_MAX_NUM_RECEIVERS][3] |
Current receiver Cartesian coordinates, meters.
Definition at line 84 of file ambi_roomsim_internal.h.
| float*** ambi_roomsim_data::rec_sh_outsigs |
Receiver signal buffers; ROOM_SIM_MAX_NUM_RECEIVERS x MAX_NUM_SH_SIGNALS x AMBI_ROOMSIM_FRAME_SIZE.
Definition at line 69 of file ambi_roomsim_internal.h.
| int ambi_roomsim_data::receiverIDs[ROOM_SIM_MAX_NUM_RECEIVERS] |
Unique IDs per receiver in the simulation.
Definition at line 67 of file ambi_roomsim_internal.h.
| _Atomic_INT32 ambi_roomsim_data::refl_order |
Current maximum image source reflection order.
Definition at line 78 of file ambi_roomsim_internal.h.
| _Atomic_INT32 ambi_roomsim_data::reinit_room |
Flag, 1: re-init required, 0: not required.
Definition at line 70 of file ambi_roomsim_internal.h.
| _Atomic_FLOAT32 ambi_roomsim_data::room_dims[3] |
Room dimensions along the x,y,z axes in meters.
Definition at line 81 of file ambi_roomsim_internal.h.
| _Atomic_INT32 ambi_roomsim_data::sh_order |
Current SH order of receivers.
Definition at line 76 of file ambi_roomsim_internal.h.
| int ambi_roomsim_data::sourceIDs[ROOM_SIM_MAX_NUM_SOURCES] |
Unique IDs per source in the simulation.
Definition at line 66 of file ambi_roomsim_internal.h.
| _Atomic_FLOAT32 ambi_roomsim_data::src_pos[ROOM_SIM_MAX_NUM_SOURCES][3] |
Current source Cartesian coordinates, meters.
Definition at line 83 of file ambi_roomsim_internal.h.
| float** ambi_roomsim_data::src_sigs |
Source signal buffers; ROOM_SIM_MAX_NUM_SOURCES x AMBI_ROOMSIM_FRAME_SIZE.
Definition at line 68 of file ambi_roomsim_internal.h.