A reverberation model listens for interface collision callbacks from a wavefront.
- Todo:
- The reverb_model class is currently just a stub for future behaviors.
virtual void collision |
( |
unsigned |
de, |
|
|
unsigned |
az, |
|
|
double |
time, |
|
|
const wposition1 & |
position, |
|
|
const wvector1 & |
ndirection, |
|
|
double |
speed, |
|
|
const seq_vector & |
frequencies, |
|
|
const vector< double > & |
amplitude, |
|
|
const vector< double > & |
phase |
|
) |
| |
|
pure virtual |
React to the collision of a single ray with a reverberation surface.
- Parameters
-
de | D/E angle index number. |
az | AZ angle index number. |
time | Time at which the collision occurs (sec) |
position | Location at which the collision occurs (sec) |
ndirection | Normalized direction at the point of collision. |
speed | Speed of sound at the point of collision. |
frequencies | Frequencies over which to compute reverb. (Hz) |
amplitude | Propagation loss amplitude, at the point of collision. as a function of frequency. |
phase | Propagation loss phase at the point of collision. as a function of frequency. |