Class AudioInfluencerController
Class which supports components implementing IAudioInfluencer being used with audio sources.
Namespace: Microsoft.MixedReality.Toolkit.Audio
Assembly: cs.temp.dll.dll
Syntax
public class AudioInfluencerController : MonoBehaviour
Remarks
AudioInfluencerController requires an AudioSource component. If one is not attached, it will be added automatically. Each sound playing game object needs to have an AudioInfluencerController attached in order to have it's audio influenced.
Fields
NeutralHighFrequency
Frequency above the nominal range of human hearing.
Declaration
public static readonly float NeutralHighFrequency
Field Value
Type | Description |
---|---|
Single |
Remarks
This frequency can be used to set a low pass filter to allow all audible frequencies through the filter.
NeutralLowFrequency
Frequency below the nominal range of human hearing.
Declaration
public static readonly float NeutralLowFrequency
Field Value
Type | Description |
---|---|
Single |
Remarks
This frequency can be used to set a high pass filter to allow all audible frequencies through the filter.
Properties
MaxDistance
Declaration
public float MaxDistance { get; set; }
Property Value
Type | Description |
---|---|
Single |
NativeHighPassCutoffFrequency
Gets or sets the native high pass cutoff frequency for the sound emitter.
Declaration
public float NativeHighPassCutoffFrequency { get; set; }
Property Value
Type | Description |
---|---|
Single |
NativeLowPassCutoffFrequency
Gets or sets the native low pass cutoff frequency for the sound emitter.
Declaration
public float NativeLowPassCutoffFrequency { get; set; }
Property Value
Type | Description |
---|---|
Single |
UpdateInterval
Declaration
public float UpdateInterval { get; set; }
Property Value
Type | Description |
---|---|
Single |