HrtfDirectivity structure (hrtfapoapi.h)
Base directivity pattern descriptor. Describes the type of directivity applied to a sound.
typedef struct HrtfDirectivity {
HrtfDirectivityType type;
float scaling;
} HrtfDirectivity;
type
Indicates the type of directivity.
scaling
A normalized value between zero and one. Specifies the amount of linear interpolation between omnidirectional sound and the full directivity pattern, where 0 is fully omnidirectional and 1 is fully directional.
The scaling parameter is used to interpolate between directivity behavior and omnidirectional; it determines how much attenuation is applied to the source outside of the directivity pattern and controls how directional the source is.
For fully directional sources, while direct path signal outside the directivity pattern will be fully attenuated, any environmental reflections will still be audible.
Requirement | Value |
---|---|
Header | hrtfapoapi.h |