theHarmonicAlgorithm-3.1.0: Real-time harmonic progression generation for TidalCycles live performance
Safe HaskellNone
LanguageGHC2021

Harmonic.Interface.Tidal.Display

Description

Broadcasts the truth from the Tidal side; SuperCollider paints what it receives.

  • CC 113 — bar number (1..8) at each chord onset; 0 on bar-off, an eighth of a cycle later.
  • CC 114 / CC 115 — 14-bit form loop length (high << 7 .|. low). Zero means atemporal (lK, or a single-node iK) and the counter cells stay blank.
  • CC 117 / CC 118 — 14-bit current form-local position, sampled 30 times a cycle. Derived from the same cycle time that drives the form interpolation, so the displayed value is always in lockstep with the form's kinetics — no anchor signal needed.

SuperCollider owns CC 50-53, the display cells themselves; these are only the signals feeding them. Both functions return a pattern, so the launcher decides which stream carries it:

, display k where display k = p "displayClock" $ displayClock k

Synopsis

Documentation

displayClock :: IK -> ControlPattern Source #

Counter cells show elapsed SECONDS within the form loop.

displayClock' :: IK -> ControlPattern Source #

As displayClock, but the counter shows the current BAR NUMBER (1-indexed) within the form loop instead of elapsed seconds. One bar is four cycles, so the count ticks in lockstep with the chord selection.