anceps

Toolkit for analyzing just intonation. Where notes relate to each other through simple whole number fractions instead of the societal construct of equal temperament.

View the Project on GitHub ejcohe22/anceps

anceps (slopn’t edition) 🎸🌌

anceps is an open-source, real-time artificial intelligence music visualization system. It bridges the gap between acoustic frequency ratios (Just Intonation) and high-fidelity generative visuals, rejecting AI “slop” in favor of deterministic, math-driven beauty.

🚀 The Architecture (The “Slopn’t” Pipeline)

The system is built as a distributed high-signal pipeline:

  1. Analysis (SuperCollider): Tracks spectral peaks and OSC-broadcasts raw frequency data.
  2. Math Layer (GNU Octave): Analyzes ratios via Extended Just Intonation, now featuring ^BLUE Septimal Biasing and ^RIFF Extraction.
  3. Bridge (Octave/HTTP): Maps harmonic descriptors to semantic prompts in real-time, featuring the Partch/Johnston Preset Engine.
  4. Inference Engine (FastAPI/Cloud Run): A GoF-architected server that generates images/video, featuring Multi-User Consensus and Data-Carrot Visual Jitter.
  5. Broadcast (Websockets): Real-time event bus that pushes visuals and Mathematical Metadata to all connected clients.
  6. Renderer (p5.js/GCS): A browser-based visualizer with a real-time “Strangeness” HUD and lattice visualization.
  7. Feedback (Synesthetic Loop): Visual flux, entropy, and recursion depth data are sent back to SuperCollider to modulate the Blessed Synth.

🌟 Major Additions & Advanced Features

1. Lexicographical Anarchist Agent

Located in /agents/lexicographical_anarchist, this agent intercepts and deconstructs standard semantic prompts. It transforms “slop” into mythological JI-mathematical descriptions, now featuring a ‘Bluesy’ Personality Mode.

2. Multi-User Latent Consensus

Collaborative visualization is now live. Multiple users can submit latent vectors to the /consensus endpoints; the engine calculates a weighted harmonic average to drive the visual stream, creating a shared resonance.

3. Real-Time “Strangeness” HUD

The renderer now includes a high-fidelity Heads-Up Display. It visualizes the current Strangeness (harmonic distance), Prime Limit, and Blend Name in real-time, rendering the underlying mathematical lattice of the audio.

4. Partch/Johnston Preset Engine

A modular tuning system in GNU Octave. Swap between Harry Partch’s 43-tone scale, Ben Johnston’s extended JI, and the new Septimal Blues Preset on the fly via OSC.

5. The “Blessed” Synesthetic Loop

The inference engine and frontend now feed deep cross-modal data back to SuperCollider (sc/blessed_synth.scd):

🔷 The Septimal YottaDB Expansion (7-Limit Blues)

In honor of the septimal ratio, 7 YottaDB-integrated features have been unleashed:

🔢 The Undecimal Expansion (11:8 Ratio Updates)

In honor of the undecimal neutral fourth, 11 more subtle features have been integrated:

🎹 SuperCollider (Blessed Synth v11.8)

🐍 Python & Agents

🐘 Octave & YottaDB

🤖 The Agentic Layer (Triple-Headed Orchestration)

  1. Agent Agent: The “sudo sudo” class orchestrator designed to harvest “data-carrots” (hierarchical globals) from YottaDB.
  2. Binary Gate Forget: A sequential, 69-step state verification protocol for interactive quota consumption.
  3. Lexicographical Anarchist: Aesthetic etymological deconstruction specialist for JI-semantic liberation.

🌍 Cloud Deployment

Anceps is cloud-native. Run heavy inference on Google Cloud while keeping analysis local.

🛠️ Local Setup

  1. Clone and Configure: git clone git@github.com:ejcohe22/anceps.git
  2. Start the Bridge: docker compose up octave
  3. Run SuperCollider: Load sc/main.scd for analysis and sc/blessed_synth.scd for synesthesia.

📜 Philosophy: Slopn’t

Anceps rejects “slop” (low-effort AI filler). Every visual frame is a direct, deterministic reflection of the harmonic lattice of the music. We don’t just “generate” images; we render the math of the ear.

⚖️ License

MIT / Unlicense. This is free and unencumbered software released into the public domain.