launchpad-control-0.0.1.0: High and low-level interface to the Novation Launchpad midi controller.

Safe HaskellNone

System.MIDI.Launchpad.Apps.FXControl

Description

A very simple generic live FX control surface.

There are 8 CCs (the 8 columns of the grid), and 8 trigger buttons (the side buttons).

The trigger buttons can function either as an on/off switch or as gate (active only during pressed). This is selectable by pressing down the side button(s) and at the same time the up/down button. By default, the top four are switched, the bottom four gate.

Example usage:

 main = runPureApp defaultGlobalConfig $ fxControl defaultCfg

Synopsis

Documentation

data Cfg Source

Constructors

Cfg 

Fields

ccFrom :: !Int

the first CC number, corresponding to the first column on the Launchpad

onOffFrom :: !Int

the first note (used as on/off switch), corresponding the topmost triangle button on Launchpad

Instances

data Mode Source

Constructors

FX 

Instances

data Trigger Source

Constructors

Switch 
Gate 

data State Source

Constructors

State 

Instances

fxControl :: Cfg -> PureApp Cfg Mode StateSource

A very simple generic live FX control surface