MaxMSP patch creation for Launchpad to Berna -> overwhelmed

    Dec 19 2010 | 5:47 pm
    Hey there,
    I am totally new to Max programming and what I try to do is this:
    I have an application, Berna from, which I'd like to control with the Launchpad for a more intuitive approach.
    Using Automap, I am able to get button press information to Berna, which has an extensive MIDI implementation, but this seems to me as a rather awkward way, since I don't see how I'm changing parameters on the launchpad. I have to press a button on the Launchpad matrix several times to 'step' through different values of a parameter in Berna, instead of having a fader like column, like I have in Live, when I control it with my Launchpad.
    I saw that programming 'faders' (columns that grow or shrink depending on which values you transmit to an application) or pan pots should be possible by getting information from the host application back to the launchpad.
    To keep it short:
    I have several parameters I'd like to be able to control with the Launchpad, which should be displayed as fader columns Every parameter is mapped to a CC value, e.g.: - Oscillator 1 Frequency: MIDI Channel 1, CC1 - Oscillator 1 Range: MIDI Channel 1, CC2 - Oscillator 1 Volume: MIDI Channel 1, CC21
    - Oscillator 2 Frequency: MIDI Channel 1, CC3 - Oscillator 2 Range: MIDI Channel 1, CC4 - Oscillator 2 Volume: MIDI Channel 1, CC22 a.s.o.
    Furthermore, I'd like to access several 8x8 matrices for different groups of parameters. E.g. I push 'Vol' on the right side of the Launchpad and it takes me to the volume matrix of 8 oscillators, or I push 'Pan' on the right side of the launchpad and it takes me to a frequency matrix for the 8 Oscillators. That would for example mean, on one 'page' ('pan') Id' have access to fader columns of CCs 1, 3, 5, 7, 9, 11, 13, 15 to control oscillator 1-8 frequencies, and on the next page ('vol') there would be fader colums for the oscillator 1-8 volume CCs 21-28.
    What would be the best way for me to learn how to do this, specifically get a response back from the application I'd like to control to actually see how I'm changing parameters. Which programs do I need to do this? Is there a maxpatch which I may be able to use to start from there, so I don't have to start from scratch? I have some basic understanding of javascript and I can figure many things programming wise out on the way, but I don't really have the time to really dig deep into it and start everything from scratch, for I might never be programming something like this again.
    During my research I bumped into the monome simulation and 7up for Live, and was able to get all of this running. I have the Launchpad programming (MIDI) documentation. I found the wac-lp-handler (couldn't get the provided synth to run though, but I got the communication between the Launchpad and the handler going). I understood we have a proprietary protocol (OSC) that makes communication between the Launchpad and the host application happen, but also learned MIDI can do the same thing (though slower). This video shows some sort of matrix on the screen on the left, but I find no mention about it anywhere:
    Please don't get me wrong, I don't want someone else to do the job (though I'd happily tweak an existing patch if the author allows it). Finding the correct patch for this is hard though. I just would like to accomplish this with a minimal amount of preliminary work, but I will happily do all the footwork needed to accomplish my goal.
    Thanks for your ideas, I'm sort of overwhelmed and don't know where to start, dualaud

    • Dec 19 2010 | 7:10 pm
      and I'm going to experiment with that. This is post is just for reference as other persons browsing this forum in the futere might be looking for a tool like that.
      cheers, dual
    • Jan 04 2011 | 11:29 pm
      In case Katapult doesn't do it for you, I've recently built some (lower-level) Max objects for working with the Launchpad. Here is the post: I think this is pretty similar to the wac-lp-handler, but they are Max objects, so if you're working in Max that might be easier for you.
      FYI, OSC is not used to communicate with the Launchpad - you always talk to it with MIDI messages. It's the wac-lp-handler that accepts OSC messages and converts them into MIDI messages that the Launchpad can understand.
      I got Berna a little while ago and have been playing around with it a bit. I didn't even know it allowed external MIDI control, so that's exciting. Anyways, let me know where you're at with this, and maybe I can help.
      Regards, Miller