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-dimmed-color
The color of buttons that can be pressed but are in conflict or otherwise backgrounded.
control-buttons
The round buttons along the top which send and respond to Control Change events.
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.
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.
show-round-buttons
(show-round-buttons controller)
(show-round-buttons controller color)
Illuminates all round buttons.
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.