CCIn:
Filter:
CCIn (extension) | External Control > MIDI

CCIn
ExtensionExtension

CC-Responder MIDI-In wrapper for easy plugging into Synths

Description

This class makes it quick to send MIDI control values to UGen arguments. It initialises a CCResponder and maps the received data onto control busses. Those can be read out by the class itself.

Class Methods

.softWithin

Input withinin range is allowed to set bus (useful if controller has multiple scenes) range - defaul is 0.05, 1 always sets bus.

.verbose

Post source, channel and number.

.new

Create a CCIn object, start the MIDI initialization.

Arguments:

server

Busses will be created on this server (default nil uses Server.default).

source

ID of midi controller (default nil uses all controllers).

Instance Methods

.free

.responder

.server

.source

.init

Arguments:

serverArg
sourceArg

.prSetBusValue

Arguments:

chan
num
value
last

.prGetBus

Arguments:

chan
num

.busses

.kr

Arguments:

chan

MIDI channel, 0 to 15.

num

CC number, 0 to 127.

spec

A Spec, i.e. \freq, \amp, [5, 50], [1, 100, \exp].

lag

lag3 time, default is 0.05.

Examples