Send BPM or Ms from tap to a DMX channel ?
Posted: Mon Sep 30, 2024 7:03 pm
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 !
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 !