Launchpad

Launchpad GUI

Launchpad

Supercollider extension to develop a Novation Launchpad based interfaces similar to a GUI. The Interface is designed around the concept that you like to make your launchpad behave like a GUI with buttons and sliders. These widgets can be layered.

The library contains the following widgets:

LPButton, LPButtonArray, LPPushButton, LPPushStepButton, LPSlider, LPFaderH, LPFaderV, LPColorArea, LPInvisibleButtonArray

Installation

Use the Supercollider Quarks GUI:

supercollider Quarks.gui

Examples

Example of creating a button on the launchpad:

supercollider Launchpad.initMIDI; // before the Launchpad can be used it has to be initialized ( a = LPButton(Launchpad.getRange(0,0,0,0),{"Do something when the button is put to the front of the Launchpad.".postln},{"Do something when it is hidden from the Launchpad.".postln}); a.states = [LPLED.green,LPLED.red,LPLED.yellow]; a.action = {|b| "Print Current state:".post; b.value.postln; }; a.front; ) a.hide;// to hide the gui element

Example of a Slider:

supercollider a=LPSlider(Launchpad.getRange(0,1,0,7)); a.incrementArray=[1/80,1/160,1/400,nil,1/ -400,1/ -160,1/ -80]; a.color=\amber; a.background=\green; a.action={|s|s.value.debug(\slidervalue)}; a.default = 0.6 a.front

Change log

  • Thanks to @LiveTiles to fix the results of my forgetfulness.

License

GNU GENERAL PUBLIC LICENSE Version 3

LPButton
Project
Source file
Extension
Superclass:
LPView
LPButtonArray
Project
Source file
Extension
Superclass:
LPView
LPColorArea
Project
Source file
Extension
Superclass:
LPView
LPFaderH
Project
Source file
Extension
Superclass:
LPView
LPFaderV
Project
Source file
Extension
Superclass:
LPView
LPInvisibleButtonArray
Project
Source file
Extension
Superclass:
LPView
LPLED
Project
Source file
Extension
Superclass:
LPPad
Project
Source file
Extension
Superclass:
LPPushButton
Project
Source file
Extension
Superclass:
LPView
LPPushStepButton
Project
Source file
Extension
Superclass:
LPView
LPRange
Project
Source file
Extension
Superclass:
LPSlider
Project
Source file
Extension
Superclass:
LPView
LPSwitchSlider
Project
Source file
Extension
Superclass:
LPView
LPView
Project
Source file
Extension
Superclass:
Launchpad
Project
Source file
Extension
Superclass:
0.1.2
Date
2020-06-19
Git hash
f82156cce8f389e010b6495cfe9bbf2c52c8c195
0.1.1
Date
2019-09-02
Git hash
9cfc569e540fb151e907cfe55426800bff29f9f9

Installation

Repository

URL

https://github.com/olafklingt/Launchpad

Since

2019-08-26

Last update

2020-10-21

Current version

0.1.2

Quark info

url

https://github.com/olafklingt/Launchpad

name

Launchpad

path

Launchpad

since

2018

author

Olaf Hochherz

schelp

Launchpad

summary

Launchpad GUI

ext_dependancy

Possible dependcies

Possible dependants