launchpadcore
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

Launchpad Core

Simple way to control your Novation Launchpad.

Features

  • Driver system (for supporting all Launchpad - more compatibility in progress)
  • Advanced commands
  • Light, powerful and flexible.

Note: Only tested with Launchpad X for now.

Installation

  // NPM
  npm install launchpadcore

  // Yarn
  yarn add launchpadcore

Supported devices

Launchpad Core offers a driver system to adapt to the different existing models of Novation Launchpad.

Name Status
Launchpad X Available
Launchpad MK2 Partially available
Launchpad Pro MK3 Work in progress...
Launchpad Mini MK3 Available

Usage/Examples

Here is a typical example of what can be done with this module.

import { LaunchpadCore } from "launchpadcore"

const App = new LaunchpadCore("LaunchpadX");

App.on("onEnabled", (instance, driver) => {
    instance.out.send(driver.textScrolling(15, "Welcome!"))
})

App.on("onMidiIn", (data) => {
    console.log(data)
})

App.on("onDisabled", () => {
    console.log("Shutdown...")
})

What's can I do ?

Events

Name Description
onConnected When connected to Launchpad
onDisabled When disabled (exit the program)
onMidiIn When new MIDI message received

MIDI methods

Usable on a MidiService object. Find more at: https://jazz-soft.net/doc/JZZ/.

Name Description
out.send() Send whatever you want
out.noteOn() Send noteOn
out.noteOff() Send noteOff

Launchpad features (DriverQuery Builder)

Usable on a Driver object.

Name Description Driver
setLayout() Set your LaunchPad layout LaunchpadX, Launchpad Mini MK3, Launchpad MK2
textScrolling() Scroll a text along your launchpad pads LaunchpadX, Launchpad Mini MK3, Launchpad MK2
programmerToggle() Toggle to programmer mode LaunchpadX, Launchpad Mini MK3
dawClear() Clear DAW layouts LaunchpadX, Launchpad Mini MK3
ledLightning() Set pads colors by SysEx LaunchpadX, Launchpad Mini MK3
ledBrightness() Set brightness of your launchpad LaunchpadX, Launchpad Mini MK3
ledSleep() Disable LED of your launchpad LaunchpadX, Launchpad Mini MK3

Package Sidebar

Install

npm i launchpadcore

Weekly Downloads

8

Version

0.1.0

License

ISC

Unpacked Size

11.3 kB

Total Files

4

Last publish

Collaborators

  • antt0n