/asi:catsharp-sonificationfrom asi
Sonifies GF(3) color streams from Gay.jl using the CatSharp scale, mapping hues to pitch classes and playing via sox. Useful for data sonification or mathematical music experiments.
Ships in asi. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Sonify deterministic color streams using the CatSharp scale (Mazzola's Topos of Music).
seed ⊣ γ ⊣ color ⊣ hue ⊣ pitch ⊣ freq ⊣ tone
| Hue Range | Trit | Role | Temperature |
|---|---|---|---|
| 0-60°, 300-360° | +1 | PLUS | warm |
| 60-180° | 0 | ERGODIC | neutral |
| 180-300° | -1 | MINUS | cold |
| Trit | Waveform | Character |
|---|---|---|
| +1 | sine | smooth, harmonic |
| 0 | triangle | balanced, neutral |
| -1 | square | harsh, digital |
pitch_class = floor(hue / 30) mod 12
30° per semitone maps the color wheel to the chromatic scale.
| Pitch Classes | Trit | Structure |
|---|---|---|
| {0, 4, 8} (C, E, G#) | +1 | Augmented triad |
| {3, 6, 9} (Eb, F#, A) | 0 | Diminished subset |
| Circle of fifths | -1 | Fifths stack |
import subprocess
def play_color(r, g, b, duration=0.15):
hue = rgb_to_hue(r, g, b)
trit = hue_to_trit(hue)
pc = int(hue / 30) % 12
freq = 261.63 * (2 ** (pc / 12)) # C4 base
wave = {1: "sine", 0: "triangle", -1: "square"}[trit]
subprocess.run(["play", "-q", "-n", "synth", str(duration),
wave, str(freq), "vol", "0.3"])
(defn play-trit [trit freq]
(let [wave (case trit 1 "sine" 0 "triangle" -1 "square")]
(shell "play" "-q" "-n" "synth" "0.15" wave (str freq) "vol" "0.3")))
using Gay
function sonify_stream(seed, n=12)
Gay.gay_seed!(seed)
for _ in 1:n
c = Gay.next_color()
hue = Gay.Colors.convert(Gay.HSL, c).h
pc = mod(round(Int, hue / 30), 12)
freq = 261.63 * 2^(pc / 12)
trit = hue < 60 || hue >= 300 ? 1 : hue < 180 ? 0 : -1
wave = Dict(1 => "sine", 0 => "triangle", -1 => "square")[trit]
run(`play -q -n synth 0.15 $wave $freq vol 0.3`)
end
end
Every tripartite emission sums to 0 mod 3:
MINUS(-1) + ERGODIC(0) + PLUS(+1) = 0
See catsharp.mo for acausal equation-based model.
sox (via flox: flox install sox)afplay as fallbackgay-mcp: Deterministic color generationrubato-composer: Mazzola's mathematical music theorytopos-of-music: Full categorical music implementationThis skill connects to the K-Dense-AI/claude-scientific-skills ecosystem:
category-theory: 139 citations in bib.duckdbThis skill maps to Cat# = Comod(P) as a bicomodule in the equipment structure:
Trit: 0 (ERGODIC)
Home: Prof
Poly Op: ⊗
Kan Role: Adj
Color: #26D826
The skill participates in triads satisfying:
(-1) + (0) + (+1) ≡ 0 (mod 3)
This ensures compositional coherence in the Cat# equipment structure.
| Mode | Flag | Description |
|---|---|---|
| Metairony | --metairony | The sound of self-reference |
| Just Intonation | --ji | 5-limit tuning ratios |
| Consonant Only | --consonant | Filter to consonant intervals |
| PLR Sequences | --plr PLRPLR | Neo-Riemannian transformations |
| Tool Algebra | --tools exa,babashka,beeper | S-P-O chain sonification |
| Maximal | --maximal | All modes combined |
| Champions | --champions | Top 3 GF(3)-conserved seeds |
python3 sonify.py --metairony
Four phases of self-referential sonification:
INSIDE THE LINES — Perfect GF(3) conservation
finder_search(-1) + oracle_think(0) + create_file(+1) = 0OUTSIDE THE LINES — Deliberate transgression
read(-1) + read(-1) + read(-1) = -3 ≡ 0 (the heresy was orthodoxy)METAIRONIC BRIDGE — The joke that knows it's a joke
sonify(sonify) — the script sonifying itselfSURPRISING BISIMILARITY
iBeacon physical consensus ≅ PLR transformations ≅ Gay.jl trit streamsBrowser-based p5.js visualization of Hydra live-coding synth taxonomy:
open hydra-grok.html
Distance = Information × Agency × Energy
| Category | Trit | Functions | Profile |
|---|---|---|---|
| Source | +1 🔴 | osc, noise, shape... | High information generation |
| Geometry | 0 🟢 | rotate, scale, kaleid... | Transform, conserve |
| Color | 0 🟢 | posterize, hue... | Low agency |
| Blend | -1 🔵 | add, mult, diff... | Consume/combine |
| Modulate | -1 🔵 | modulate*, feedback | Highest info (0.9) |
| External | -1 🔵 | initCam, initScreen | Max info input |
| Synth | +1 🔴 | render, out, hush | Max agency |
Temperature τ controls clustering:
69 distance metrics cycle through information-theoretic, agency-based, energy-based, GF(3), thermodynamic, and categorical measures.
Synthesis from beeper decision analysis:
Tool Algebra Chain: exa → deepwiki → babashka → beeper
Spectral Gap: λ₂ = 0.32 → tempo = 158.4 BPM
PLR Transitions: Neo-Riemannian as pitch transformations
Bisimulation Indistinguishability:
--tools sonification mode| File | Description |
|---|---|
metairony.html | p5.js + Web Audio metaironic visualization |
hydra-grok.html | 69-candidate temperature-clustered flow analysis |
sonify.py | Extended with --metairony, --ji, --consonant, --plr, --tools |
"color outside and inside the lines - the metairony sonify it"
The request to simultaneously transgress AND conserve GF(3) led to:
-3 ≡ 0 (mod 3) reveals: even breaking the rules conserves| Connected Skill | Morphism | GF(3) Role |
|---|---|---|
gay-mcp | seed → color → pitch | Source (+1) |
topos-of-music | PLR ↔ pitch class | Transform (0) |
hydra-synth | 69 functions → clusters | Analysis (-1) |
rubato-composer | Mazzola forms | Theory (0) |
qri-valence | XY defects → dissonance | Mapping (-1) |
bisimulation-game | Entity indistinguishability | Verification (+1) |
What SKILL.md sets; muted values are Claude Code's defaults
Generated from the plugin's indexed repository (plurigrid/asi) — no native marketplace selected
npx claudepluginhub p/plurigrid-asi-plugins-asi1,393 skills in this plugin
/abductive-replHypothesis-Test Loops via REPL for Exploratory Abductive Inference/academic-researchSearch academic papers across arXiv, PubMed, Semantic Scholar, bioRxiv, medRxiv, Google Scholar, and more. Get BibTeX citations, download PDFs, analyze citation networks. Use for literature reviews, finding papers, and academic research./accept-no-substitutesThis skill should be used when agents generate placeholder tokens like "pseudo-", "mock-", "temporary", "TODO", "demo-", or similar incompleteness markers. Detects substitution patterns in agent OUTPUT and triggers mandatory user interview instead of accepting incomplete work. Activates automatically on any output containing forbidden tokens.Other plugins' skills for the same job