BusNodeSetter

A factory for setting node controls to read from buses.

Companion
class
class Object
trait Matchable
class Any

Value members

Concrete methods

def mapper(controlName: String, bus: AudioBus, node: Node): AudioBusNodeSetter

Sets a control be mapped to an audio bus (using n_mapan). It registers a reader with the given bus that is freed along with the provided node.

Sets a control be mapped to an audio bus (using n_mapan). It registers a reader with the given bus that is freed along with the provided node.

Value Params
bus

the audio-bus from which to read

controlName

the name of the control to be mapped to a bus signal

node

the node which reads from the control

Returns

the bus user that can be engaged via add() and disengaged via remove()

def mapper(controlName: String, bus: ControlBus, node: Node): ControlBusNodeSetter

Sets a control be mapped to a control bus (using n_mapn). It registers a reader with the given bus that is freed along with the provided node.

Sets a control be mapped to a control bus (using n_mapn). It registers a reader with the given bus that is freed along with the provided node.

Value Params
bus

the control-bus from which to read

controlName

the name of the control to be mapped to a bus signal

node

the node which reads from the control

def reader(controlName: String, bus: AudioBus, node: Node): AudioBusNodeSetter

Creates a user that sets a control to an audio bus index. It registers a reader with the given bus.

Creates a user that sets a control to an audio bus index. It registers a reader with the given bus.

Value Params
bus

the audio-bus from which to read

controlName

the name of the control to set

node

the node which reads from the bus.

Returns

the bus user that can be engaged via add() and disengaged via remove()

def reader(controlName: String, bus: ControlBus, node: Node): ControlBusNodeSetter

Creates a user that sets a control to a control bus index. It registers a reader with the given bus.

Creates a user that sets a control to a control bus index. It registers a reader with the given bus.

Value Params
bus

the control-bus from which to read

controlName

the name of the control to set

node

the node which reads from the bus.

Returns

the bus user that can be engaged via add() and disengaged via remove()

def readerWriter(controlName: String, bus: AudioBus, node: Node): AudioBusNodeSetter

Creates a user that sets a control to an audio bus index. It registers both a reader and a writer with the given bus.

Creates a user that sets a control to an audio bus index. It registers both a reader and a writer with the given bus.

Value Params
bus

the audio-bus from which to read and to which to write

controlName

the name of the control to set

node

the node which reads from and writes to the bus.

Returns

the bus user that can be engaged via add() and disengaged via remove()

def readerWriter(controlName: String, bus: ControlBus, node: Node): ControlBusNodeSetter

Creates a user that sets a control to a control bus index. It registers both a reader and a writer with the given bus.

Creates a user that sets a control to a control bus index. It registers both a reader and a writer with the given bus.

Value Params
bus

the control-bus from which to read and to which to write

controlName

the name of the control to set

node

the node which reads from and writes to the bus.

Returns

the bus user that can be engaged via add() and disengaged via remove()

def writer(controlName: String, bus: AudioBus, node: Node): AudioBusNodeSetter

Creates a user that sets a control to an audio bus index. It registers a writer with the given bus.

Creates a user that sets a control to an audio bus index. It registers a writer with the given bus.

Value Params
bus

the audio-bus to which to write

controlName

the name of the control to set

node

the node which writes to the bus.

Returns

the bus user that can be engaged via add() and disengaged via remove()

def writer(controlName: String, bus: ControlBus, node: Node): ControlBusNodeSetter

Creates a user that setes a control to a control bus index. It registers a writer with the given bus.

Creates a user that setes a control to a control bus index. It registers a writer with the given bus.

Value Params
bus

the control-bus to which to write

controlName

the name of the control to set

node

the node which writes to the bus.

Returns

the bus user that can be engaged via add() and disengaged via remove()