C# Class AudioAnalyzer, audio_analyzer

Inheritance: MonoBehaviour
Afficher le fichier Open project: zombience/audio_analyzer Class Usage Examples

Méthodes publiques

Свойство Type Description
freqData float[]
masterGain float
output float[]

Protected Properties

Свойство Type Description
band float[]
isListening bool
micSelector SelectInputGUI,
minFreq int
selectedDevice string
source UnityEngine.AudioSource

Méthodes publiques

Méthode Description
GetScaledOutput ( int listenBand, float bandMax, float targetMin, float targetMax ) : float
Start ( ) : void
Update ( ) : void

Méthodes protégées

Méthode Description
GetAverageAmplitude ( ) : float

GetAveragedVolume returns the average volume of the entire signal

GetMultibandAmplitude ( ) : void
ManageBuffer ( ) : IEnumerator
SetInputDevice ( string device ) : void
StopMicrophone ( ) : void

Method Details

GetAverageAmplitude() protected méthode

GetAveragedVolume returns the average volume of the entire signal
protected GetAverageAmplitude ( ) : float
Résultat float

GetMultibandAmplitude() protected méthode

protected GetMultibandAmplitude ( ) : void
Résultat void

GetScaledOutput() public static méthode

public static GetScaledOutput ( int listenBand, float bandMax, float targetMin, float targetMax ) : float
listenBand int
bandMax float
targetMin float
targetMax float
Résultat float

ManageBuffer() protected méthode

protected ManageBuffer ( ) : IEnumerator
Résultat IEnumerator

SetInputDevice() protected méthode

protected SetInputDevice ( string device ) : void
device string
Résultat void

Start() public méthode

public Start ( ) : void
Résultat void

StopMicrophone() protected méthode

protected StopMicrophone ( ) : void
Résultat void

Update() public méthode

public Update ( ) : void
Résultat void

Property Details

band protected_oe property

protected float[] band
Résultat float[]

freqData public_oe static_oe property

public static float[] freqData
Résultat float[]

isListening protected_oe property

protected bool isListening
Résultat bool

masterGain public_oe static_oe property

public static float masterGain
Résultat float

micSelector protected_oe property

protected SelectInputGUI, micSelector
Résultat SelectInputGUI,

minFreq protected_oe property

protected int minFreq
Résultat int

output public_oe static_oe property

public static float[] output
Résultat float[]

selectedDevice protected_oe property

protected string selectedDevice
Résultat string

source protected_oe property

protected AudioSource,UnityEngine source
Résultat UnityEngine.AudioSource