Skip to main content
Version: 20 Mar 2024

MLAudioSpatialSoundRadiationProperties

Module: Audio / Audio Definitions / Acoustics / Spatial Sound

More...

#include <ml_audio.h>

Public Attributes

TypeName
floatinner_angle
floatouter_angle
floatouter_gain
floatouter_gain_lf
floatouter_gain_mf
floatouter_gain_hf

Detailed Description

struct MLAudioSpatialSoundRadiationProperties;

Properties describing the directionality of a spatial sound using two cones, between which attention values are interpolated.


Public Attributes Documentation

inner_angle

float inner_angle;

Angle in degrees defining the sides of a cone, within which there is no radiation attenuation. Range is 0 to 360. Default is 50.


outer_angle

float outer_angle;

Angle in degrees defining the sides of a cone, beyond which the outer_gain values are fully applied. Range is 0 to 360. Default is 340.


outer_gain

float outer_gain;

Gain applied beyond outer cone for all frequencies. Range is 0 to 1. Default is 1.


outer_gain_lf

float outer_gain_lf;

Gain applied beyond outer cone for low frequencies. Range is 0 to 1. Default is 0.65.


outer_gain_mf

float outer_gain_mf;

Gain applied beyond outer cone for mid frequencies. Range is 0 to 1. Default is 0.4.


outer_gain_hf

float outer_gain_hf;

Gain applied beyond outer cone for high frequencies. Range is 0 to 1. Default is 0.08.