AudioClip.frequency
var frequency: int;
int frequency;
frequency as int
Description

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 Example : MonoBehaviour {
    void Example() {
        Debug.Log(audio.clip.frequency);
    }
}
import UnityEngine
import System.Collections

public class Example(MonoBehaviour):

	def Example() as void:
		Debug.Log(audio.clip.frequency)