Hi all,
In the past with a friend of mine, which was using a HOG4 we build a bridge between the Pioneer CDJ/DJM gear and his HOG leveraging Beat-Link-Trigger and OSC commands.
We build a beat Expression in Beat Link Trigger that per defined beat (1-4) send a OSC command to his HOG where we had chases build with steps. Each OSC command send the HOG to the next step in the chase. Giving us a "poor mans BPM sync".
I'm now trying to follow the same approach with Lightjams, but I'm not completely following the concept yet in that regard. The whole idea of Lightjams seems to have a different approach in general if we talk about chases, steps and all that.
I was able to successfully map an OSC command against "Power", but that off course doesn't give the desired outcome besides turning a light on/off pretty brutal. But it's a start!
After that I've mapped it against Master Speed, but as you can expect it get's all wonky because Master Speed ranges from 0x-5x where my OSC commands do not, but even if they did I cannot make sure only 1 step of a chase gets executed and we'll wait till the next beat.
So, my question:
Is there a different way to build that same approach where a chase gets build within Lightjams and I can send a per OSC command "next step" in the chase command? Or do I need to try and go nuts with the formula's, sending the current BPM over OSC and trying to recalculate to something that makes sense on the 0-5 scale?
I've tried the Music inputs, but with not having an ASIO device and the lights came a bit late to the party and I do see more future in leveraging this poor mans solution, or even something like Ableton Link to send a general Tempo control.
On a side note:
I've noticed that when leveraging OSC I needed to add a sleep of 40 MS in the OSC commands that follow each other. So if I only want a flash on the 1st and 3th beat I'd do this:
(when (#{1 3} beat-within-bar)
(osc/osc-send (:Magic @globals) "/magic/0" 1)
(Thread/sleep 40)
(osc/osc-send (:Magic @globals) "/magic/0" 0))
If I would remove that Sleep, Lightjams OSC retrieval stays at 0, even though I see the 1 and 0 incoming. That's not a problem we've encountered with other software so far. I am still in demo mode by the way and truth be told, it doesn't really matter since this is still quick enough.
Thanks in advanced for reading this and thinking with me!
Kevin