Bitwig Preset Fibonacci Counter
Counts the total number of beats elapsed since last pressing play and emits a modulation signal whenever the playhead is currently on a beat whose count is also a Fibonacci number (the sequence 0, 1, 1, 2, 3, 5, 8, 13, 21...). The unit of time counted is whatever the device phase is. E.g: if the phase is set to 1 bar, the device will count total number of bars elapsed and emit a modulation signal while the playhead is passing over the second bar, third bar, fifth, eighth, and so on. By default the phase is set to quarter notes so that the count matches up w/ the number of clicks emitted by Bitwig's metronome. Though the preset is capable of counting to a maximum of 16,777,216 beats (64 to the fourth power), calculations for anything beyond the 38th Fibonacci number start to become increasingly inaccurate, likely due to floating point precision / rounding issues. And not far beyond the 38th FIbonacci number, the grid simply starts showing ' ∞'. In practice, due to the large values in question, the useful limits of this preset will likely be reached around the 30th number Fibonacci number if not much sooner. The majority of the confusing mess of logic modules are there to facilitate proper resetting / zeroing and initial state config every time Play is started/stopped.
This is a companion discussion topic for the original entry at https://bitwiggers.com/presets/a42c161e-49ea-4493-ba63-24402d9681e5/