Help w/M4L patch that sends trigger from Ableton to Resolume
Hey all,
I'm working on a live show where I'm playing the score for film live, building it in loops & layers and also semi live-editing the accompanying video.
One thing I've needed to do is to be able to hit a different midi pads throughout my setup that each can send a trigger to Resolume (VJ software) to play the next column of visuals on the next beat #1. Resolume has a device called Parameter Forwarder that sends a signal from Ableton to Resolume, so I've just created a very simple patch that can send the Parameter Forwarder a bang immediately when I hit a midi pad, or have the bang wait until the next beat #1.
I am a total Max noob, but I figured it out enough to create a very basic patch and get it working most of the time, but there are still a few gremlins in the patch that are coming back to haunt me now that I'm starting to play the show for people live. Here are the issues:
Very occasionally, the bang that I'm using as a trigger to Resolume gets stuck on and prevents me from sending a new bang to Resolume. This is the main issue and is a real show-stopper. I would think this would be pretty simple to solve, with having some addition to the bang that has it switch off after a short amount of time, but I'm not sure how to do that.
The patch only works when it's highlighted in Ableton. It doesn't matter what program has focus in my OS, but if say for instance a synth track is highlighted in Ableton, the patch won't work. I've mostly figured out a workaround for this but it still trips me up a lot when I'm practicing and would be really nice to sort out. I have no idea why this is happening and would love any insight you have. A friend thought maybe it was the Parameter Forwarder causing this, but the Parameter Forwarder works without the track being in focus elsewhere in the set.
The patch only works in 4/4, and loses where the 1st beat is when I switch for 5/4. Similarly to issue #2, I've figured out a workaround for the show, but this still trips me up frequently when I'm practicing the show. According to ChatGPT I would need to create an additional part of the patch to get the current time signature from Ableton but I don't understand that well enough to do it successfully. I would love to sort this out so that the patch can work seamlessly in the future for other shows that I'll make.
I've asked ChatGPT which had some thoughts but honestly I don't understand Max well enough to be able to implement the ideas. I would love to learn Max fully someday but I'm really daunted by the thought of it currently. I'd be super grateful for any insight you have. This patch is really important to this show that I'm making and I'd be happy to pay someone for their time helping me to make it more robust. I'd also be happy to do some kind of skill swap, I've learned a ton about Ableton and Resolume for this show and have been a filmmaker & video editor for 15 years in case any of that is helpful to you!
Here is the patch that I created. I've also attached a photo showing how it's setup in Ableton. (First row are midi mappable buttons that send a next column signal to Resolume, second row of big circles send a next columnn signal to Resolume on the next beat #1)
and here is the Resolume Forwarder:
and here is a little more info for how the parameter forwarder works from Resolume's website
thank you so much for your time reading this, and thank you in advance for your help! i really appreciate it.
kyle
If you would post which OSC strings you want to send
and few more details, one could get rid of that patches,
which I would never try to use live on the stage.
simple udpsend with associated strings and trigger, fired fom
source of your choice.
hey source audio!
thanks for the reply. i had a source audio reflex expression pedal years ago that was amazing! slimmed down the pedalboard since, but that thing was mighty.
below are the 4 OSC strings i'm looking to send, as well as the resolume address & OSC port. let me know if there's any other information that would be helpful. would love to hear why you would never use those patches live if you have time to explain, would love to understand what you mean.
launches column 1:
/composition/columns/1/connect
launches previous column:
/composition/connectprevcolumn
launches next column:
/composition/connectnextcolumn
launches next deck:
/composition/selectnextdeck
the resolume address is
127.0.0.1
and the OSC port is
7000