hxn

AudioBus

Static methods

function hxnAdopt(hxnRaw:Handle):AudioBus

An object for a value the library returned.

Properties

var hxnRaw:Handle

Methods

function setGain(gain:Float):Void
function setPan(pan:Float):Void
function setLowpass(hz:Float):Void

Zero bypasses this filter. Cutoff may not exceed the mixer Nyquist rate.

function setDelay(frames:UInt, feedback:Float, wet:Float):Void
function routeTo(parent:AudioBus):Void
function same(other:Null<AudioBus>):Bool

Whether other holds the value this does. Two objects can: each time the library returns the value, a new object gets a share of it.

function weak():AudioBusWeak

A reference to the value that does not keep it alive.

function close():Void

Gives up this object's share of the value now. The collector does it otherwise. The value lives while anything else holds a share. Using this object afterwards throws.