Lab · Phase 3
Tension Mapper
Prototype agent workflow: run analyze_chord on each chord in a progression,
map tension (0–1) to filter brightness and FM index in Csound score p-fields via
@thiri/csound-core.
Agent prompt (copy-paste)
Requires dual MCP: thiri + thiri-conductor. Tool: render_with_tension.
Map harmonic tension to Csound synthesis for this progression in C: Dm7b5 → G7alt → Cmaj9. For each chord: 1. analyze_chord (key C) — extract tension / function 2. Map tension 0–1 to filter cutoff + FM index (see @thiri/csound-core tensionMapper) 3. build_csound_score with render_with_tension OR manual p-field edits 4. render_csound_wav — 4 bars, tempo 96 Critique: do brighter chords (G7alt) sound more tense than Cmaj9? If not, adjust p-field mapping and re-render once.
Recipe index: /lab/agent-recipes
{
"slug": "tension-mapper",
"version": "0.1.0",
"generatedAt": "2026-06-19T23:54:49Z",
"commit": "fe55abe",
"status": "building",
"description": "Maps analyze_chord tension coefficients to Csound score amplitude and brightness p-fields.",
"demo": "/lab/tension-mapper",
"agentPrompt": "/lab/tension-mapper#agent-prompt"
} See blog: devlog · recipe on build.thiri.ai innovators.
← Lab index