MidiCcBus:
Filter:
QuNeo/Classes (extension) | Hardware > QuNeo

MidiCcBus
ExtensionExtension

Used by the QuNeo classes to interface to MIDI CC controls.

Description

Used by the QuNeo classes to interface to MIDI CC controls.

Class Methods

.new

Create a new MidiCcBus. During regular use this will be called by the QuNeo control classes.

Arguments:

cc

MIDI CC number for the control.

channel

MIDI channel the control responds to.

scInPort

Port that Supercollider will recieve MIDI data from.

scOutPort

Port that Supercollider will send MIDI data to.

name

Name of the control, used when printing debug info.

Returns:

A new MidiCcBus.

Instance Methods

.cc

MIDI CC number that the control will receive data on.

.bus

Bus number that the control will transmit on.

.map

Shortcut method for bus.asMap.

.value

Shortcut method for bus.getSynchronus.

.kr

A k-rate Ugen wrapped in a lag control. Outputs 0 - 1.

Arguments:

mul

multiply with this value.

add

add this value.

lagTime

60 dB lag time in seconds.

.ar

A a-rate Ugen wrapped in a lag control. Outputs 0 - 1.

Arguments:

mul

multiply with this value

add

add this value

lagTime

60 dB lag time in seconds.

.func

A fuction to be called when a MIDI CC message is received. The following values will be passed to the function: val, num, chan, src.

.name

Name of the control, used when printing debug info.

.channel

MIDI channel the control responds to.

.scInPort

Port that Supercollider will recieve MIDI data from.

.scOutPort

Port that Supercollider will send MIDI data to.

.debug

Allows you to enable or disable debugging for the control. This setting can also be changed on a per datasource basis.

Arguments:

setDebug

Enable debugging? true/false.

Examples