Base class for busses
Static methods
Methods
inlineplay(aSound:AudioSource, aVolume:Float32 = -1.0, aPan:Float32 = 0.0, aPaused:Bool = false):Handle
Play sound through the bus
inlineplayClocked(aSoundTime:Time, aSound:AudioSource, aVolume:Float32 = -1.0, aPan:Float32 = 0.0):Handle
Play sound through the bus, delayed in relation to other sounds called via this function.
inlineplay3d(aSound:AudioSource, aPosX:Float32, aPosY:Float32, aPosZ:Float32, aVelX:Float32 = 0.0, aVelY:Float32 = 0.0, aVelZ:Float32 = 0.0, aVolume:Float32 = 1.0, aPaused:Bool = false):Handle
Start playing a 3d audio source through the bus
inlineplay3dClocked(aSoundTime:Time, aSound:AudioSource, aPosX:Float32, aPosY:Float32, aPosZ:Float32, aVelX:Float32 = 0.0, aVelY:Float32 = 0.0, aVelZ:Float32 = 0.0, aVolume:Float32 = 1.0):Handle
Start playing a 3d audio source through the bus, delayed in relation to other sounds called via this function.
calcFFT():Pointer<Float32>
Calculate and get 256 floats of FFT data for visualization. Visualization has to be enabled before use.
getWave():Pointer<Float32>
Get 256 floats of wave data for visualization. Visualization has to be enabled before use.
getApproximateVolume(aChannel:UInt32):Float32
Get approximate volume for output channel for visualization. Visualization has to be enabled before use.