bindMidiControl

@JvmName(name = "bindMidiControlDouble")
fun Program.bindMidiControl(property: KMutableProperty0<Double>, transceiver: MidiTransceiver, channel: Int, control: Int)(source)

Bind MIDI control change to Double property

Since

0.4.3

Parameters

property

the KMutableProperty0 to bind to

transceiver

the midi device to bind to

channel

the midi channel to use

control

the midi control to use


@JvmName(name = "bindMidiControlBoolean")
fun Program.bindMidiControl(property: KMutableProperty0<Boolean>, transceiver: MidiTransceiver, channel: Int, control: Int)(source)

Bind MIDI control change to Boolean property

Since

0.4.3

Parameters

property

the KMutableProperty0 to bind to

transceiver

the midi device to bind to

channel

the midi channel to use

control

the midi control to use


@JvmName(name = "bindMidiControlVector2")
fun Program.bindMidiControl(property: KMutableProperty0<Vector2>, transceiver: MidiTransceiver, channelX: Int, controlX: Int, channelY: Int = channelX, controlY: Int = controlX + 1)(source)

Bind MIDI control change to Vector2 property

Since

0.4.3

Parameters

property

the KMutableProperty0 to bind to

transceiver

the midi device to bind to

channelX

the midi channel to use for the Vector2.x component

controlX

the midi control to use for the Vector2.x component

channelY

the midi channel to use for the Vector2.y component

controlY

the midi control to use for the Vector2.y component


@JvmName(name = "bindMidiControlVector3")
fun Program.bindMidiControl(property: KMutableProperty0<Vector3>, transceiver: MidiTransceiver, channelX: Int, controlX: Int, channelY: Int = channelX, controlY: Int = controlX + 1, channelZ: Int = channelY, controlZ: Int = controlY + 1)(source)

Bind MIDI control change to Vector3 property

Since

0.4.3

Parameters

property

the KMutableProperty0 to bind to

transceiver

the midi device to bind to

channelX

the midi channel to use for the Vector3.x component

controlX

the midi control to use for the Vector3.x component

channelY

the midi channel to use for the Vector3.y component

controlY

the midi control to use for the Vector3.y component

channelZ

the midi channel to use for the Vector3.z component

controlZ

the midi control to use for the Vector3.z component


@JvmName(name = "bindMidiControlColorRGBa")
fun Program.bindMidiControl(property: KMutableProperty0<ColorRGBa>, transceiver: MidiTransceiver, channelR: Int, controlR: Int, channelG: Int = channelR, controlG: Int = controlR + 1, channelB: Int = channelG, controlB: Int = controlG + 1, channelA: Int = channelB, controlA: Int = controlB + 1)(source)

Bind MIDI control change to ColorRGBa property

Since

0.4.3

Parameters

property

the KMutableProperty0 to bind to

transceiver

the midi device to bind to

channelR

the midi channel to use for the ColorRGBa.r component

controlR

the midi control to use for the ColorRGBa.r component

channelG

the midi channel to use for the ColorRGBa.g component

controlG

the midi control to use for the ColorRGBa.g component

channelB

the midi channel to use for the ColorRGBa.b component

controlB

the midi control to use for the ColorRGBa.b component

channelA

the midi channel to use for the ColorRGBa.alpha component

controlA

the midi control to use for the ColorRGBa.alpha component


@JvmName(name = "bindMidiControlVector4")
fun Program.bindMidiControl(property: KMutableProperty0<Vector4>, transceiver: MidiTransceiver, channelX: Int, controlX: Int, channelY: Int = channelX, controlY: Int = controlX + 1, channelZ: Int = channelY, controlZ: Int = controlY + 1, channelW: Int = channelZ, controlW: Int = controlZ + 1)(source)

Bind MIDI control change to Vector4 property

Since

0.4.3

Parameters

property

the KMutableProperty0 to bind to

transceiver

the midi device to bind to

channelX

the midi channel to use for the Vector4.x component

controlX

the midi control to use for the Vector4.x component

channelY

the midi channel to use for the Vector4.y component

controlY

the midi control to use for the Vector4.y component

channelZ

the midi channel to use for the Vector4.z component

controlZ

the midi control to use for the Vector4.z component

channelW

the midi channel to use for the Vector4.w component

controlW

the midi control to use for the Vector4.w component