Skip to main content

OdinApmConfig

Per-room configuration of the ODIN audio processing module which provides a variety of smart enhancement algorithms.

Declaration
typedef struct OdinApmConfig {
bool voice_activity_detection;
float voice_activity_detection_attack_probability;
float voice_activity_detection_release_probability;
bool volume_gate;
float volume_gate_attack_loudness;
float volume_gate_release_loudness;
bool echo_canceller;
bool high_pass_filter;
bool pre_amplifier;
enum OdinNoiseSuppressionLevel noise_suppression_level;
bool transient_suppressor;
bool gain_controller;
} OdinApmConfig;

Fields

voice_activity_detection

Enables or disables voice activity detection (VAD).

Declaration
bool voice_activity_detection;

voice_activity_detection_attack_probability

Voice probability value when the VAD should engage.

Declaration
float voice_activity_detection_attack_probability;

voice_activity_detection_release_probability

Voice probability value when the VAD should disengage.

Declaration
float voice_activity_detection_release_probability;

volume_gate

Enables or disables the input volume gate.

Declaration
bool volume_gate;

volume_gate_attack_loudness

Root mean square power (dBFS) when the volume gate should engage.

Declaration
float volume_gate_attack_loudness;

volume_gate_release_loudness

Root mean square power (dBFS) when the volume gate should disengage.

Declaration
float volume_gate_release_loudness;

echo_canceller

Enable or disable echo cancellation.

Declaration
bool echo_canceller;

high_pass_filter

Enable or disable high pass filtering.

Declaration
bool high_pass_filter;

pre_amplifier

Enable or disable the pre amplifier.

Declaration
bool pre_amplifier;

noise_suppression_level

Set the aggressiveness of the suppression.

Declaration
enum OdinNoiseSuppressionLevel noise_suppression_level;

transient_suppressor

Enable or disable the transient suppressor.

Declaration
bool transient_suppressor;

gain_controller

Enable or disable the gain controller.

Declaration
bool gain_controller;