rate
Chorus modulation rate in hz. 0.0 to 20.0. Default = 0.8 hz.
Read time 1 minuteLast updated 5 days ago
Definition
- Type: Property
- Namespace: UnityEngine
- Assembly: UnityEngine.AudioModule
public float rate { get; set; }
Examples
using UnityEngine;[RequireComponent(typeof(AudioSource))][RequireComponent(typeof(AudioChorusFilter))]public class Example : MonoBehaviour{ // Set the rate on the chorus filter to 15hz. void Start() { GetComponent<AudioChorusFilter>().rate = 15; }}