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

QuNeoButton
ExtensionExtension

A button controller used by the QuNeo class.

Description

A button controller used by the QuNeo class. Represents the record, stop and play buttons. Can also be used for the bank select buttons depending on the setup.

Class Methods

.new

Create a new button controller. During regular use this is called from the QuNeo.createButton method.

Arguments:

noteNum

MIDI note number for the control.

pressCC

MIDI CC number for pressure data.

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.

Returns:

A new QuNeo button control

Instance Methods

.name

Name of the control, used when printing debug info.

.noteNum

The note number that data will be recieved on.

.note

The MidiNoteFunc that deals with MIDI data related to the note.

.press

MIDI CC number for pressure data.

.channel

MIDI channel that the control will use to recieve MIDI data.

.scInPort

Port that will recieve MIDI data from the QuNeo.

.scOutPort

Port that will send MIDI data to the QuNeo.

.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