Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot connect to Launchpad mini mk3 #9

Open
SimonLeclere opened this issue Jul 17, 2020 · 5 comments
Open

Cannot connect to Launchpad mini mk3 #9

SimonLeclere opened this issue Jul 17, 2020 · 5 comments

Comments

@SimonLeclere
Copy link

SimonLeclere commented Jul 17, 2020

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

@Granjow
Copy link
Owner

Granjow commented Jul 17, 2020

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

@SimonLeclere
Copy link
Author

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

@SimonLeclere
Copy link
Author

SimonLeclere commented Jul 17, 2020

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

@Granjow
Copy link
Owner

Granjow commented Jul 20, 2020

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 …

@SimonLeclere
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants