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

QuNeo
ExtensionExtension

A class to make it easier to interface with the Keith McMillen QuNeo.

Description

A class to make it easier to interface with the Keith McMillen QuNeo - http://www.keithmcmillen.com/QuNeo/ .

If this is your first time using the class I recommend looking at the example QuNeo preset and Supercollider code in the \QuNeo\QuNeoPresets\ directory of your Supercollider extentions directory.

Class Methods

.new

Create a new instance of the QuNeo class to interface with the QuNeo hardware

Arguments:

defaultChannel

This is the MIDI channel that will be used when creating new controls if one is not specified.

scInPort

Specify the port within Supercollider that will recieve MIDI data from the QuNeo. If this argument is not provided it will be auto-detected.

scOutPort

Specify the port within Supercollider that will send MIDI data to the QuNeo. If this argument is not provided it will be auto-detected.

Returns:

A new instance of the QuNeo class.

Instance Methods

.createDrumPad

Create a new drum pad controller and add it to the pads array.

Arguments:

index

The index to create the new drum pad control with.

noteNum

MIDI note number for the control.

pressCC

MIDI CC number for pressure data.

xCC

(describe argument here)

yCC

(describe argument here)

channel

MIDI channel for the control. Will use the default if one is not provided.

.createVSlider

Create a new vertical slider controller and add it to the vSliders array.

Arguments:

index

The index to create the new verticle slider control with.

noteNum

MIDI note number for the control.

pressCC

MIDI CC number for pressure data.

locCC

MIDI CC number for location data.

channel

MIDI channel for the control. Will use the default if one is not provided.

scInPort

The port that this control will recieve MIDI data from the QuNeo on.

scOutPort

The port that this control will use to send MIDI to the QuNeo.

.createHSlider

Create a new horizontal slider controller and add it to the hSliders array.

Arguments:

index

The index to create the new horizontal slider control with.

noteNum

MIDI note number for the control.

pressCC

MIDI CC number for pressure data.

locCC

MIDI CC number for location data.

channel

MIDI channel for the control. Will use the default if one is not provided.

scInPort

The port that this control will recieve MIDI data from the QuNeo on.

scOutPort

The port that this control will use to send MIDI to the QuNeo.

.createLSlider

Create a new long slider controller and add it to the lSliders array.

Arguments:

index

The index to create the new long slider control with.

noteNum

MIDI note number for the control.

pressCC

MIDI CC number for pressure data.

locCC

MIDI CC number for location data.

widthCC

MIDI CC number for width data.

channel

MIDI channel for the control. Will use the default if one is not provided.

scInPort

The port that this control will recieve MIDI data from the QuNeo on.

scOutPort

The port that this control will use to send MIDI to the QuNeo.

.createCircle

Create a new circle controller and add it to the circles array.

Arguments:

index

The index to create the new circle control with.

noteNum

MIDI note number for the control.

pressCC

MIDI CC number for pressure data.

locCC

MIDI CC number for location data.

channel

MIDI channel for the control. Will use the default if one is not provided.

scInPort

The port that this control will use to recieve MIDI data from the QuNeo.

scOutPort

The port that this control will use to send MIDI to the QuNeo.

.createButton

Create a new button controller and add it to the buttons array.

Arguments:

index

The index to create the new button control with.

noteNum

MIDI note number for the control.

pressCC

MIDI CC number for pressure data.

channel

MIDI channel for the control. Will use the default if one is not provided.

scInPort

The port that this control will recieve MIDI data from the QuNeo on.

scOutPort

The port that this control will use to send MIDI to the QuNeo.

.pads

Array of pad controls.

.vSliders

Array of verticle slider controls.

.hSliders

Array of horizontal slider controls.

.lSliders

Array of long slider controls.

.circles

Array of circle controls.

.buttons

Array of button controls

.scInPort

Port that will recieve MIDI data from the QuNeo.

.scOutPort

Port that will send MIDI data to the QuNeo.

.defaultChannel

MIDI channel that new controls will use to recieve MIDI data unless one is specified when they are created.

.detectInPort

Searches the MIDIClient source for a device named "QuNeo" and returns the port number.

Returns:

The MIDIClient port number.

.detectOutPort

Searches the MIDIClient destinations for a device named "QuNeo" and returns the port number.

Returns:

The MIDIClient port number.

.debug

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

Arguments:

setDebug

Enable debugging? true/false.

.postInfo

Posts info about the current QuNeo setup to the console.

Examples