How do I switch on and off the LEDs on my Launchpad?

Mar 1, 2012 at 9:23pm

How do I switch on and off the LEDs on my Launchpad?

Hi, been trying to figure out how to do something reeeeealy simple, but it just ain’t working: How do I switch on and off the buttons of my Launchpad? Tried using a combination of matrixctrl and the phi.lpad.in and phi.lpad.out abstractions, but the pad is behaving in weird ways: THe launchpad is always lighting up one step behind me. And the matrixctrol is sometimes listening to what my launchpad tells it to do, sometimes not at all… Any bright ideas how to accomplish this?

Here’s my ineffectual patch:

– Pasted Max Patch, click to expand. –
#62086
Mar 2, 2012 at 7:58am

Oh, and one more thing: I would like to do it in such a way that I can switch on a button, and when I press it the next time it will switch itself off. Toggle-style, basically.

#224235
Mar 2, 2012 at 9:23am
#224236
Mar 2, 2012 at 9:35am

The following is an example for the first square button.

– Pasted Max Patch, click to expand. –
#224237
Mar 2, 2012 at 10:11am

Hi, Jeff,

Tutorial patch no 7 did the job exactly as I wanted it to :-) Thanks!

#224238
Mar 2, 2012 at 11:48am

part of the problem with your previous patch was the [pack] and [unpack] objects. the switching around of middle inlet [unpack] to left inlet [pack] causes it to trigger before it has received all the appropriate messages.

#224239
Mar 2, 2012 at 11:55am

oh and here is my Lpan.in abstraction if it helps I too used the phi. ones initially and they are very helpful to get you started.

– Pasted Max Patch, click to expand. –
#224240
Mar 2, 2012 at 5:26pm

Just to shamelessly plug my stuff, my Launchpad abstractions are in the toolbox here: http://cycling74.com/toolbox/launchpad-abstractions/

#224241
Mar 5, 2012 at 11:53am

On tour now, but will check these things out when I’m back to my homebase!

#224242
Mar 11, 2012 at 1:21pm

Sooooo, I’m back from tour, and been getting a bit more serious with my launchpad programming. I’ve found a way to use the pads to make a jit.cellblock object behave like a matrix of toggles, remembering all of their 1/0 states and all, but it seems to me it’s a very cumbersome and inelegant way of doing it. I’m sure there must be a better way to do this, using some fancy object combination my beginner’s mind hasn’t been able to crack yet?

– Pasted Max Patch, click to expand. –
#224243
Mar 11, 2012 at 1:40pm

with a matrix message of visual feedback note-ons and offs sent back to the novation launchpad

#224244
Mar 11, 2012 at 10:23pm

@Tiago Morgado: How does that work precisely? I’ve tried using a matrixctrl as well, but the thing is that I want to switch the toggles on AND off using the note-on message from the Launchpad. If I pipe the numbers from LPad directly into a matrix they will only stay on for as long as I hold the pad down. Basically what I’m trying to emulate is something similar to the default behavior of the Launchpad when working in clip view in Live… Are there any ways of working with matrix directly that would make this possible?

#224245
Mar 11, 2012 at 10:35pm

Hi kflac,

You will probably want to make an abstraction using [stripnote] to get rid of the “note off” message, perhaps using something like the following:

– Pasted Max Patch, click to expand. –
#224246
Mar 11, 2012 at 10:45pm

Thanks, Jeff! This is exactly the kind of stuff I’m looking for! I’m just now digging into the workings of jit.matrix, I have a feeling this be the solution to the whole storage problem… Or? Is this just a potential dead end that will cost me numerous nights of lost sleep?

#224247
Mar 11, 2012 at 11:11pm

Storage of what exactly? I love the autopattr/pattrstorage combination for storing states of buttons, matrices, et cetera.

#224248
Mar 11, 2012 at 11:20pm

Well, basically what I’m imagining building over the next couple of months is a kind of multi-instrument where I can use the launchpad to trigger live recording and playback of different sound files, with the added possibilities of routing and rerouting to different effects. To top it all off I would like to throw in a stepsequencer. So, basically, what I need is a way to flip back and forth between different pages of the Launchpad and be able to see what’s been triggered in the different pages, what’s running and what’s not. Is it possible to use the autopatter/pattrstorage for that kind of on-the-fly stuff? One of the functions I’ve already been thinking of is to use the launchpad to trigger different presets… So I’m very sympathetic to the idea.

#224249
Mar 11, 2012 at 11:30pm

I think it is perfect for such things, I use it that way all the time. Feel free to message me if you have any questions.

#224250
Mar 11, 2012 at 11:42pm

I might just pick you up on that offer :-) For the next couple of days I’ll be in the forest blessed with no internet connection, just trying out stuff. Can’t wait, and I’m sure to come back with a few questions…

#224251
Mar 12, 2012 at 1:53am

If you’re looking for other Launchpad UI inspiration, check out Five12′s Numerology and how it does Launchpad support. If you’re not familiar with it, Numerology is a kind of modular step sequencer. It currently has support for triggering presets, controlling the mixer, and programming notes through the Launchpad.

Apart from pattr objects, there are other data storage objects like coll that can be used. For the Launchpad work I’ve been doing recently, I ended up using the coll object for storing information about the state of Launchpad LEDs.

#224252
Mar 12, 2012 at 11:24am

Miller: Nice tips about Numerology. Looks pretty impressive.
I’ve never really got my head around using coll in a good way, but I guess now is a good time to dive into it…

#224253
Mar 13, 2012 at 9:05am

Hi Folks,

I’ve been building my own Launchpad based instruments and patches for a while now. I found the easiest way was to use wac.lphandler on this website

http://chippanfire.com/software/

It is an OSC wrapper for the launchpad, which means that all the messages are easy to read and write. It offers you 8 separate banks on which to program and can be switched back and forth from OSC mode to Ableton Live mode by pressing buttons on the Launchpad. It can also be used with up to 6 Launchpads at a time.

One of the great things about this is that the basic Monome tutorials on sending and receiving messages help out a lot.

I don’t have my patches in front of me right now but I’ll post one in the next few hours.

#224254
Mar 13, 2012 at 12:38pm

Here is an example patch. As I mentioned above the Monome site has basic tutorials on how to have multiple pages and a few other handy tips. Good luck with it.

– Pasted Max Patch, click to expand. –
#224255
Mar 14, 2012 at 10:48am

johno: great stuff, that last patcher of yours solved a lot of problems involving literally hundreds of patchlines and very unwieldy numbers of toggles… Thanks a lot!

#224256
Mar 15, 2012 at 3:59pm

Glad to hear it

#224258

You must be logged in to reply to this topic.