Page 1 of 1

Send BPM or Ms from tap to a DMX channel ?

Posted: Mon Sep 30, 2024 7:03 pm
by gotchock
Hello !

I use DMX channels to control the general behavior of an ESP32 doing its own complex pixel calculations internally.
My ESP32 is using an arbitrary variable BPM=125 to align some effects to a certain tempo.

I would like to send the BPM value (or the interval in ms divided by 4 to fit the 0..255 range) based on what I have tapped in QLC+ using the timer widget.

At the moment all I can do is a chaser function going 0..255 with a duration controlled by the QLC clock, but then I have to do the calculation on the ESP32 to determine the BPM.
Would it be possible to send the actual number through a channel ? I haven't found how to do this. Ideally I could pulse the channel with the beat, but at a value allowing me to extract the BPM from the DMX channel value.

Thank you !

Re: Send BPM or Ms from tap to a DMX channel ?

Posted: Mon Sep 30, 2024 7:05 pm
by janosvitok
Just a guess: assign external control to speed dial widget, enable feedback and take the value from the feedback.

Jano

Re: Send BPM or Ms from tap to a DMX channel ?

Posted: Mon Sep 30, 2024 7:12 pm
by gotchock
Thank you for your quick answer !

Though I'm confused on how to do this ?
I can map the speed dial to a MIDI board I have but how do I enable feedback ? I don't think it's this is it ? How do you get the feedback ?

Thank you !

Re: Send BPM or Ms from tap to a DMX channel ?

Posted: Thu Oct 03, 2024 6:38 am
by gotchock
Hello !

So I did a bit or tests on my side, the only way I've found is to create a sequence with a ramp up synchronized to the clock (1 step at 0 and 1 step at 255), and send it to a channel, which gives me a signal going from 255 to 0 over the clock.
By switching between different sequences with a different multiplier of the clock, I am able to send a separate BPM to each fixture. It's good but if I lose the DMX signal, my fixture will stop processing the BPM properly unless I have calculated internally, which i'm trying to avoid.