AudioLoFiEffect Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
An audio effect that limits the frequency range of a sound to simulate being played over various telephony or radio sources.
C++
public ref class AudioLoFiEffect : UnityEngine::MonoBehaviour
[UnityEngine.AddComponentMenu("Scripts/MRTK/SDK/AudioLoFiEffect")]
[UnityEngine.DisallowMultipleComponent]
[UnityEngine.RequireComponent(typeof(UnityEngine.AudioSource))]
[UnityEngine.RequireComponent(typeof(UnityEngine.AudioLowPassFilter))]
[UnityEngine.RequireComponent(typeof(UnityEngine.AudioHighPassFilter))]
public class AudioLoFiEffect : UnityEngine.MonoBehaviour
[<UnityEngine.AddComponentMenu("Scripts/MRTK/SDK/AudioLoFiEffect")>]
[<UnityEngine.DisallowMultipleComponent>]
[<UnityEngine.RequireComponent(typeof(UnityEngine.AudioSource))>]
[<UnityEngine.RequireComponent(typeof(UnityEngine.AudioLowPassFilter))>]
[<UnityEngine.RequireComponent(typeof(UnityEngine.AudioHighPassFilter))>]
type AudioLoFiEffect = class
inherit MonoBehaviour
Public Class AudioLoFiEffect
Inherits MonoBehaviour
- Inheritance
-
UnityEngine.MonoBehaviourAudioLoFiEffect
- Attributes
-
UnityEngine.AddComponentMenuAttribute UnityEngine.DisallowMultipleComponentAttribute UnityEngine.RequireComponentAttribute
For the best results, also attach an AudioInfluencerController to the sound source. This will ensure that the proper frequencies will be restored when audio influencers are used in the scene.
Source |
The quality level of the simulated audio source (ex: AM radio). |
Product | Versions |
---|---|
MRTK2 Unity 2018 | 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0 |
MRTK2 Unity 2019 | 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0 |
MRTK2 Unity 2020 | 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0 |