C# 클래스 AudioAnalyzer, audio_analyzer

상속: MonoBehaviour
파일 보기 프로젝트 열기: zombience/audio_analyzer 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
freqData float[]
masterGain float
output float[]

보호된 프로퍼티들

프로퍼티 타입 설명
band float[]
isListening bool
micSelector SelectInputGUI,
minFreq int
selectedDevice string
source UnityEngine.AudioSource

공개 메소드들

메소드 설명
GetScaledOutput ( int listenBand, float bandMax, float targetMin, float targetMax ) : float
Start ( ) : void
Update ( ) : void

보호된 메소드들

메소드 설명
GetAverageAmplitude ( ) : float

GetAveragedVolume returns the average volume of the entire signal

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

메소드 상세

GetAverageAmplitude() 보호된 메소드

GetAveragedVolume returns the average volume of the entire signal
protected GetAverageAmplitude ( ) : float
리턴 float

GetMultibandAmplitude() 보호된 메소드

protected GetMultibandAmplitude ( ) : void
리턴 void

GetScaledOutput() 공개 정적인 메소드

public static GetScaledOutput ( int listenBand, float bandMax, float targetMin, float targetMax ) : float
listenBand int
bandMax float
targetMin float
targetMax float
리턴 float

ManageBuffer() 보호된 메소드

protected ManageBuffer ( ) : IEnumerator
리턴 IEnumerator

SetInputDevice() 보호된 메소드

protected SetInputDevice ( string device ) : void
device string
리턴 void

Start() 공개 메소드

public Start ( ) : void
리턴 void

StopMicrophone() 보호된 메소드

protected StopMicrophone ( ) : void
리턴 void

Update() 공개 메소드

public Update ( ) : void
리턴 void

프로퍼티 상세

band 보호되어 있는 프로퍼티

protected float[] band
리턴 float[]

freqData 공개적으로 정적으로 프로퍼티

public static float[] freqData
리턴 float[]

isListening 보호되어 있는 프로퍼티

protected bool isListening
리턴 bool

masterGain 공개적으로 정적으로 프로퍼티

public static float masterGain
리턴 float

micSelector 보호되어 있는 프로퍼티

protected SelectInputGUI, micSelector
리턴 SelectInputGUI,

minFreq 보호되어 있는 프로퍼티

protected int minFreq
리턴 int

output 공개적으로 정적으로 프로퍼티

public static float[] output
리턴 float[]

selectedDevice 보호되어 있는 프로퍼티

protected string selectedDevice
리턴 string

source 보호되어 있는 프로퍼티

protected AudioSource,UnityEngine source
리턴 UnityEngine.AudioSource