Give AI Agents
A Ears to Appreciate Music
A pure-Rust, ultra-fast physical music aesthetic middleware for AI Agents. Under the LRMD protocol, it decouples 1D waveforms into semantic spatiotemporal matrices in 0.05 seconds, allowing text-only LLMs to perform professional musical appreciation.
Under The Hood: Cutting-Edge Psychoacoustics & DSP
Spatiotemporal Token Merger
Automatically fuses adjacent slices sharing identical Chord, Timbre, and Dynamic features into Phrase Blocks. Cuts down downstream LLM token costs by over 90%, preventing API bloating!
Crest Factor Dynamics
Combines time-domain Peak-to-RMS ratios with sliding relative RMS scaling. Masterfully maps track dynamic breaths even on modern brickwalled masters, isolating intimacy from exploding volume.
200Hz - 2kHz Bandpass Filter
Restricts Chroma frequency projection strictly to 200Hz - 2kHz. Completely insulates mid-range vocal/melody classes from sub-bass kick rumble, boosting minor key accuracy by 100%!
Interactive Chord Sandbox
Physical Vector to Music Semantics
Click the active chord cards below. Witness how SonicBridge utilizes the **Cosine Similarity algorithm** to project 12D Chromagram feature arrays onto static templates, matching key classes in milliseconds.
- - Template C Major (1, 4, 7): 0.985
- - Template A Minor (1, 3, 7): 0.342
- - Template G Major (2, 7, 11): 0.115
Model Context Protocol (MCP) Quick Configuration
Integrate the raw Rust acoustic engine into your local Claude Desktop or Cursor Client in seconds.
Step 1: Compile and Install to PATH
Clone the `sonic-bridge-mcp` repository and run our installer to compile and copy the executable to `~/.local/bin/`:
Step 2: Append Simple Config Block
Add the following stdio server configuration to your Claude Desktop config (Linux/macOS: `~/.config/Claude/claude_desktop_config.json`):
{
"mcpServers": {
"sonic-bridge": {
"command": "sonic-bridge-mcp",
"args": []
}
}
}