launchpad-mini icon indicating copy to clipboard operation
launchpad-mini copied to clipboard

Cannot connect to Launchpad mini mk3

Open SimonLeclere opened this issue 4 years ago • 5 comments

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

SimonLeclere avatar Jul 17 '20 17:07 SimonLeclere

Hi Simon, what kind of Launchpad is it (MINI or another one) and what OS are you using?

Granjow avatar Jul 17 '20 20:07 Granjow

It's a Launchpad mini mk3 and I'm using Windows.

SimonLeclere avatar Jul 17 '20 22:07 SimonLeclere

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) });

SimonLeclere avatar Jul 17 '20 22:07 SimonLeclere

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 …

Granjow avatar Jul 20 '20 12:07 Granjow

Oh... I have no idea how to develop this, I've never used the midi protocols --' Thanks anyway, have a nice evening :)

SimonLeclere avatar Jul 20 '20 19:07 SimonLeclere