by seantosz » 01 October 2018, 03:40
I understand better what you mean now. My original interest was only to get a pulsing dimmer line similar to that in the sound switch demos that I have seen. So I was talking about only one channel.
But to have a multiple channel generator program a BPM sync would lock everything into multiples or divisions of the BPM. This would even be better and enhance a more musical lighting performance. Also possibly with division or multiples of the BPM such that it would make sense to the function of each channel. For instance I would not want a pan/tilt to be repeating to the quarter note of a typical pop song (90-120 bpm) but I might want the dimmer to.
Following your example a BPM lock (or sync in other words) for 120 BPM would be something like.....
Create a Generator scene with:
- for pan/tilt channels - circle curve - fan = 10% - duration = 4s (15bpm, 2 whole notes in 4/4 time, 2 measure repeat)
- for color channel - one color chasing - fan = 25% - duration = .5s (120bpm, quarter notes in 4/4 time, every beat)
- iris channel - sinus curve - fan = 0% - duration = 1s (60bpm, half notes in 4/4 time, half a measure)
The fan % would still work the same way.
The period calculation is simple enough. Ver 8 only gives integer input options for the period input of the generators. More decimals places (bit length) would be needed to accommodate a more accurate time divisions for a BPM sync. My example worked out easily but say change that to 119bpm and you would need 0.504 seconds per beat. Ideally you would only be programming the coefficients in the generator periods and then the BPM in live menu will determine the actual timing that are needed so they line up with the tempo.