| Safe Haskell | None |
|---|---|
| Language | GHC2021 |
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-nodeiK) 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 (bars; display' = seconds)
Synopsis
- displayClock :: IK -> ControlPattern
- displayClock' :: IK -> ControlPattern
Documentation
displayClock :: IK -> ControlPattern Source #
Counter cells show the current BAR NUMBER (1-indexed) within the form loop. One bar is four cycles, so the count ticks in lockstep with the chord selection. The primed variant shows seconds instead.
displayClock' :: IK -> ControlPattern Source #
As displayClock, but the counter cells show elapsed SECONDS within the
form loop (time-unit doctrine: unprimed = bars, primed = seconds).