afterglow.controllers.launchpad-mini

Allows the Novation Launchpad Mini and Launchpad S to be used as control surfaces for Afterglow.

add-button-held-feedback-overlay

(add-button-held-feedback-overlay controller button)(add-button-held-feedback-overlay controller button color)

Adds a simple overlay which keeps a control button bright as long as the user is holding it down.

button-active-color

The color of an available button that is currently being pressed.

button-available-color

The color of buttons that can be pressed but haven’t yet been.

button-dimmed-color

The color of buttons that can be pressed but are in conflict or otherwise backgrounded.

button-off-color

The color of buttons that are completely off.

clear-interface

(clear-interface controller)

Clears all illuminated buttons and pads.

control-buttons

The round buttons along the top which send and respond to Control Change events.

cue-held-color

The color to light up a pad when a cue runs only as long as it is held.

cue-running-color

The color to light up a pad when it is running a cue.

deactivate

(deactivate controller & {:keys [disconnected], :or {disconnected false}})

Deactivates a controller interface, killing its update thread and removing its MIDI listeners. If :disconnected is passed with a true value, it means that the controller has already been removed from the MIDI environment, so no effort will be made to clear its display or take it out of User mode.

In general you will not need to call this function directly; it will be dispatched to via controllers/deactivate when that is called with a controller binding implementation from this namespace. It is also called automatically when one of the controllers being used disappears from the MIDI environment.

note-buttons

The round buttons along the right which send and respond to Note events.

set-control-button-color

(set-control-button-color controller button color)

Set one of the top row of control buttons to one of the color values specified above.

set-note-button-color

(set-note-button-color controller button color)

Set one of the right hand row of note buttons to one of the color values specified above.

set-pad-color

(set-pad-color controller x y color)

Set one of the 64 grid pads to one of the color values specified above.

shift-active-color

The color of the Shift button when active.

shift-available-color

The color of the Shift button when not active.

show-round-buttons

(show-round-buttons controller)(show-round-buttons controller color)

Illuminates all round buttons.

stop-active-color

The color of the Stop button when active.

stop-available-color

The color of the Stop button when not active.

tempo-synced-beat-color

The color of the tap tempo button when the metronome is synchronzied and a beat is taking place.

tempo-synced-off-beat-color

The color of the tap tempo button when the metronome is synchronized and a beat is not taking place.

tempo-unsynced-beat-color

The color of the tap tempo button when synchronization is off and a beat is taking place.

tempo-unsynced-off-beat-color

The color of the tap tempo button when synchronization is off and a beat is not taking place.