Table of Contents

Class HRTFRenderAudioEffect

Namespace
VisioForge.Core.Types.X.AudioEffects
Assembly
VisioForge.Core.dll

Head-Related Transfer Function (HRTF) spatial audio rendering effect from the rsaudiofx GStreamer plugin. Renders spatial audio using HRTF data for 3D positional audio. Implements the VisioForge.Core.Types.X.AudioEffects.BaseAudioEffect.

public class HRTFRenderAudioEffect : BaseAudioEffect, ISharedAudioEffectX

Inheritance

Implements

Inherited Members

Constructors

HRTFRenderAudioEffect(string, ulong, ulong, float)

Initializes a new instance of the VisioForge.Core.Types.X.AudioEffects.HRTFRenderAudioEffect class.

public HRTFRenderAudioEffect(string hrirFile, ulong interpolationSteps, ulong blockLength, float distanceGain)

Parameters

hrirFile string

The path to the HRIR (Head-Related Impulse Response) file.

interpolationSteps ulong

The number of interpolation steps (default: 8).

blockLength ulong

The block length for processing (default: 512).

distanceGain float

The distance gain factor (default: 1.0).

HRTFRenderAudioEffect(string)

Initializes a new instance of the VisioForge.Core.Types.X.AudioEffects.HRTFRenderAudioEffect class with default values.

public HRTFRenderAudioEffect(string hrirFile)

Parameters

hrirFile string

The path to the HRIR (Head-Related Impulse Response) file.

HRTFRenderAudioEffect()

Initializes a new instance of the VisioForge.Core.Types.X.AudioEffects.HRTFRenderAudioEffect class with empty HRIR file.

public HRTFRenderAudioEffect()

Properties

BlockLength

Gets or sets the block length for processing. Determines the size of audio blocks processed at once. Default: 512.

public ulong BlockLength { get; set; }

Property Value

ulong

DistanceGain

Gets or sets the distance gain factor. Controls how distance affects the audio volume. Default: 1.0.

public float DistanceGain { get; set; }

Property Value

float

HrirFile

Gets or sets the path to the HRIR (Head-Related Impulse Response) file. This file contains the spatial audio data for HRTF rendering.

public string HrirFile { get; set; }

Property Value

string

InterpolationSteps

Gets or sets the number of interpolation steps. Higher values provide smoother transitions but use more CPU. Default: 8.

public ulong InterpolationSteps { get; set; }

Property Value

ulong

See Also