Package | verlocity.components |
Class | public final class verSoundAnalyzer |
Inheritance | verSoundAnalyzer Component Singleton Object |
Property | Defined By | ||
---|---|---|---|
AverageBass : Number [read-only]
Returns the current average bass. | verSoundAnalyzer | ||
AverageHarmonic : Number [read-only]
Returns the current average harmonic. | verSoundAnalyzer | ||
AverageHigh : Number [read-only]
Returns the current average high. | verSoundAnalyzer | ||
AverageMid : Number [read-only]
Returns the current average mid. | verSoundAnalyzer | ||
AverageVolume : Number [read-only]
Returns the current average volume. | verSoundAnalyzer | ||
BeatDelay : int [read-only]
Returns the beat delay (for beat detection). | verSoundAnalyzer | ||
className : Object [read-only]
Returns the class name of the component for
dictionary registration. | Component | ||
CutOff : Number [read-only]
Returns the cut off (for beat detection). | verSoundAnalyzer |
Method | Defined By | ||
---|---|---|---|
Constructor of the component. | verSoundAnalyzer | ||
_Destruct():void [override]
Destructor of the component. | verSoundAnalyzer | ||
_IsNotUpdating():Boolean
Returns if the component is not updating (paused). | Component | ||
_IsValid():Boolean
Returns if this singleton is active/valid. | Singleton | ||
_SetUpdating(bUpdating:Boolean):void
Pauses/resumes the component updating, if it's pausable. | Component | ||
_UpdateComponent():void
Updates the component, if possible. | Component | ||
Beat():Boolean
Returns if there was a beat that occured. | verSoundAnalyzer | ||
EnableAnalyzer(bEnabled:Boolean = true):void
Enables/disables the real-time analyzation. | verSoundAnalyzer | ||
GetFrequency():Vector.<Number>
Returns the current audio FFT. | verSoundAnalyzer |
Method | Defined By | ||
---|---|---|---|
_Concommands():void
Called if verConsole is enabled, used to create concommands for the component. | Component | ||
_Update():void [override]
Updates the FFT and averages. | verSoundAnalyzer |
AverageBass | property |
AverageBass:Number
[read-only] Returns the current average bass. 20Hz - 200Hz
public function get AverageBass():Number
AverageHarmonic | property |
AverageHarmonic:Number
[read-only] Returns the current average harmonic. 630Hz - 800Hz
public function get AverageHarmonic():Number
AverageHigh | property |
AverageHigh:Number
[read-only] Returns the current average high. 2kHz - 20kHz
public function get AverageHigh():Number
AverageMid | property |
AverageMid:Number
[read-only] Returns the current average mid. 630Hz - 2.5kHz
public function get AverageMid():Number
AverageVolume | property |
AverageVolume:Number
[read-only] Returns the current average volume. 20Hz - 20kHz
public function get AverageVolume():Number
BeatDelay | property |
BeatDelay:int
[read-only] Returns the beat delay (for beat detection).
public function get BeatDelay():int
CutOff | property |
CutOff:Number
[read-only] Returns the cut off (for beat detection).
public function get CutOff():Number
verSoundAnalyzer | () | Constructor |
public function verSoundAnalyzer()
Constructor of the component.
_Destruct | () | method |
override public function _Destruct():void
Destructor of the component.
_Update | () | method |
override protected function _Update():void
Updates the FFT and averages.
Beat | () | method |
public final function Beat():Boolean
Returns if there was a beat that occured.
ReturnsBoolean —
|
EnableAnalyzer | () | method |
public final function EnableAnalyzer(bEnabled:Boolean = true):void
Enables/disables the real-time analyzation.
Parameters
bEnabled:Boolean (default = true )
|
GetFrequency | () | method |
public final function GetFrequency():Vector.<Number>
Returns the current audio FFT.
ReturnsVector.<Number> —
|