launchpad-mini
launchpad-mini copied to clipboard
Cannot connect to Launchpad mini mk3
Hi, I wanted to try to connect my Launchpad to my pc with launchpad-mini but I always get this error in the console:
No Launchpad on MIDI ports found.
.
However my launchpad is well connected via a usb cable to my computer.
Is there a solution ?
Thank you in advance, Simon
Hi Simon, what kind of Launchpad is it (MINI or another one) and what OS are you using?
It's a Launchpad mini mk3 and I'm using Windows.
Here is my code (this is your example):
const Launchpad = require( 'launchpad-mini' ),
pad = new Launchpad();
pad.connect().then(() => { // Auto-detect Launchpad
pad.reset( 2 ); // Make Launchpad glow yellow
pad.on( 'key', k => {
// Make button red while pressed, green after pressing
pad.col( k.pressed ? pad.red : pad.green, k );
} );
}).catch(err => { console.log(err) });
Ah. The code does not support the Mk3 yet, I would need to get it somewhere and test it. Unless you feel like extending this package, but depending on the protocol change it might require some work …
Oh... I have no idea how to develop this, I've never used the midi protocols --' Thanks anyway, have a nice evening :)