Step Sequencer for lights
I made a sequencer to control lights (see attached). Right now this will turn a light on and off as defined by the selected toggles. But moving forward I would like to manipulate that signal so I can add effects like:
-Adjust the duration of time that a light is on when it receives a signal.
-Add and adjust a fade on/fade off option so the lights have a smooth pulse or an aggressive attack.
Basically make a drum machine, but for triggering lights.
At first I thought I should look into something like pulse width modulation, but I’m not sure how to convert an audio signal into an int (the brightness of the lights are defined by float 0. to 1.) or if that’s even a direction I should go in to achieve this.
Any help or would be greatly appreciated!

if you use a delay to make the "off" event from the "on" event, you can control "pulse width" globally by multiplying all delay times with e.g. 0.7
and if you dont want to code that on your own, you could abuse the makenote object to play 1 (or 1-16?) and 0, for on and off.
you might even want to use its midi velocity value for the brightness (then do / 127. to get a float)
no, dont use signals at all here.