PushPullOSC:
Filter:
PushPull/classes/HelpSource/Classes (extension) | Control | 3DMIN

PushPullOSC
ExtensionExtension

interfacing the PushPull controller via OSC

Description

This is the class to interface with a pre-SE PushPull.

NOTE: There are only two of them in the world, so chances are that you do not have one but a PushPullOSC_SE.

PushPull is an instrument prototype created as part of the 3DMIN project. It features digital and analog controls, most prominently a bellow made from cardboard. Sound synthesis combines analogue sound generation with digital sound manipulation. Moving the hand piece activates the bellow: hand movements restricted by the limitations of the bellow turn into gestures and create air flow over a microphone. Inertial sensors in the hand piece together with a thumb stick allow for continuous sound shaping, while four buttons complete the setup to trigger changes or change between synthesis engines.

This class provides an interface to the hardware via OSC.

Class Methods

.new

Creates a new PushPull instance.

Arguments:

netAddr

the network port at which the PushPull is accessible.

Instance Methods

actions

.imuAction

Action that is evaluated for each IMU update (progressive).

.capAction

Action that is evaluated for each update of the capacitive sensors readings (progressive).

.encoderAction

Action that is evaluated when an encoder is turned or a button is pressed.

.batteryWarnAction

Action that is evaluated when battery viltage drops below a threshold set in batteryWarnThresh.

.batteryWarnThresh

Threshold voltage below which the battery warning is issued.

.pingAction

Action that is evaluated every time the pushpull sends a ping message. Can be used to implement a life sign.

values

.capRawVals

.capNormVals

.capTrigs

capacitive sensor values in raw, normalised, resp. made into triggers (if > capTrigThresh)

.imuDict

a dictionary with IMU values from the last read

.encoderDict

a dictionary with encoder values from the last read

.setLight

Set the lights in the bellow to color.

Arguments:

color

either a Color or an array of colors.

config

.batteryUri

.capUri

.imuUri

.pingUri

.encoderUri

OSC URIs under which the information on battery, cap, imu, ping and encoder arrive.

tareing

.tareCap

Arguments:

isOn

Enable/disable tareing of the capacitive sensing.

.capMinMax

Returns:

array of minima and maxima of capacitive sensors as given by tareCap.

.capMinThresh

minimum value for caps, used instead of minimum value.

.tareMag

Experimental. tare Magnitude sensor.

.direction

where is east wrt. measured magnitude?

info

.netAddr

the netAddr under which the PushPull is reachable.

.trace

Dictionary of Boolean values indicating trace-state for the various sensors:

Examples