| Safe Haskell | None |
|---|---|
| Language | GHC2021 |
Harmonic.Interface.Tidal.OctatripentatonicT
Description
Pretty-printers for inspecting the strata / tristrata state of a genP-
generated ProgressionContext at the REPL during a live session. No
semantic behaviour — purely diagnostic output for humans.
s <- seek "*" $ len 8 $ entropy 0.3 $ genI genPReport s
Use these at the REPL between takes to see which strata and tristrata the walk actually visited, rather than re-reading the generation trace.
Synopsis
- renderTristrataReport :: ProgressionContext -> Maybe String
- genPReport :: ProgressionContext -> IO ()
Documentation
renderTristrataReport :: ProgressionContext -> Maybe String Source #
Render a multi-line report of the per-bar provenance of a
ProgressionContext: for each bar, the tristrata index, its three strata,
and the selected strata for that bar. Returns Nothing when the context
has no provenance (e.g., a legacy gen result).
genPReport :: ProgressionContext -> IO () Source #
Live-coding helper: print a pretty tristrata report for a
genP result alongside the standard Show
output. Takes the bound context directly, mirroring
genEReport. Useful at the REPL
for sanity-checking a strata walk.