-
Notifications
You must be signed in to change notification settings - Fork 19
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
LaunchPad X support #16
Comments
Some details ... The code detects the type of LaunchPad by looking at the MIDI port name. The detection is done here: It should be relatively easy to add support for the LaunchPad X (assuming that the MIDI messages are not too different). |
I have a Launchpad X, very little Python but lots of programming experience. Just running grode and there is a port_name (in detected_ports) of Added a class in The pad lights up and when I press a button that is not lit I get: No sound yet |
Running as:
|
Hi! You're definitely on the right track 👍 I downloaded the LaunchPad X programmer manual and compared it to the LaunchPad Pro programmer manual. Good news: the "programmer layout" of the LaunchPad X seems to be exactly the same note# and CC# than on the Pro! However, the fact that you mention green/blue/pink means that the LaunchPad is probably still in its default layout (the "Note" layout), as opposed to the "Programmer layout" used by Griode on the LP Pro. Normally, when Griode starts, it sends a special MIDI sequence (a SysEx) to the LP Pro to switch modes automatically; then it "refreshes" the display, and at that point, the LaunchPad should show the default initial layout, which should be a C scale where C is in red, DEFGAB are in white, and the flats and sharps are in black. (This should all happen almost immediately when starting Griode.) Here is what I would try.
If that works, then I would add code in Griode to automatically send the SysEx to switch modes. That part should be relatively easy because there is already that behavior for the LP Pro, and the sequences are well documented in Novation's programmers manuals, so I would be able to help if needed. |
Fantastic. It will be a few days before I get a chance to look closely at this again. But in the meantime may I ask... I see: in the log from FluidSynth but not....
All there is between the two logging messages is:
I know almost no Python, but I cannot see how that would fail |
I downloaded the user manual. I cannot see how to get into set up I changed the code as you suggested. Buttons green, blue and pink |
Got sound! Happy happy joy joy! |
I found this in the doc:
This is what I'd try to switch modes. Normally when switching modes the grid should go all black ... Then start Griode, and it should show the C scale with red octaves. Fingers crossed :-) And congrats on qjackctl! I had missed that point in your message; but yes, I am not very familiar with Jack myself (I need to learn it, though) so I never know which extra steps are necessary ... |
I start griode No change in what I see This is the output of
Only one of the Launchpad X's midis is connected to griode. But I kknow less about midi than I do about python some pads are producing sound This is the output of the griode command. If it wouldhelp next time I will turn up logging.
|
Update: I am also tryingouy After that eperiment I started the Launchpad as above and get: I cannot quite work out what these colours are.... Clicking If it helps here is
ANd the output of
/home/patch/griode/palette.py:51: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
|
Hi! Sorry, for some reason I had missed the notification about your message above; I just saw your pull request (#17). This looks like it works! To understand the modes, scales, etc., perhaps this poster can help? I'm going to take a look at your PR, and let me know if you have further questions meanwhile! |
Originally posted by @worikgh in #8 (comment)
The LaunchPad X is not supported at the moment. There is a good chance that the MIDI messages are very similar and that we can get at least basic features just by adding it to the detection code. If you have a LaunchPad X and some Python skills, I'll be happy to walk you through the process!
The text was updated successfully, but these errors were encountered: