HrtfDirectivity structure (hrtfapoapi.h)

Base directivity pattern descriptor. Describes the type of directivity applied to a sound.

Syntax

typedef struct HrtfDirectivity {
  HrtfDirectivityType type;
  float               scaling;
} HrtfDirectivity;

Members

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.

Remarks

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.

Requirements

Requirement Value
Header hrtfapoapi.h

See also

HrtfDirectivityType

Structures