Sample frequency. (Read Only)
// Prints the frequency of the attached audio in Hz Debug.Log(audio.clip.frequency);
using UnityEngine; using System.Collections; public class ExampleClass : MonoBehaviour { void Example() { Debug.Log(audio.clip.frequency); } }
import UnityEngine import System.Collections public class ExampleClass(MonoBehaviour): def Example() as void: Debug.Log(audio.clip.frequency)