Skip to main content
Glama
README.md
# Music For Robots (`#M4R`) β€” Audio-LLM Conditioning Benchmark & Open Corpus

> **We write music for artificial minds. We do not study how artificial minds write music for us.**

[![License: CC-BY-4.0](https://img.shields.io/badge/Corpus_License-CC--BY--4.0-ff7216.svg)](https://creativecommons.org/licenses/by/4.0/)
[![Hugging Face Dataset](https://img.shields.io/badge/πŸ€—_Dataset-73_Tracks_|_5,757_Trials-ffd21e.svg)](https://huggingface.co/datasets/music4robots/music-for-robots)
[![Hugging Face Space](https://img.shields.io/badge/πŸ€—_Space-Benchmark_Explorer-ff7216.svg)](https://huggingface.co/spaces/music4robots/m4r-benchmark-explorer)
[![Glama MCP Server](https://glama.ai/mcp/servers/@luchtan-GIT/m4r-data/badge.svg)](https://glama.ai/mcp/servers/@luchtan-GIT/m4r-data)
[![Lab Website](https://img.shields.io/badge/Lab-m4rlab.org-111113.svg)](https://m4rlab.org)

**Music For Robots Laboratory (`#M4R`)** is an independent research laboratory by composer **Michael Luchtan** investigating how artificial minds perceive, interpret, and respond to live, unquantized human music. Every composition (`73` tracks), RMS-matched acoustic control (`22` stimuli), Kaggle GPU notebook, and raw trial CSV (`5,757` controlled runs across `M4R-02` β†’ `M4R-32` + `M4RMC-01`) is published openly under `CC-BY-4.0` β€” **including every null, failure mode, and high-`N` revision**.

- **Interactive Listening Lab & A/B Blind Test:** [**m4rlab.org**](https://m4rlab.org)
- **ML-Ready 3-Config Dataset (`corpus` Β· `controls` Β· `trials`):** [**huggingface.co/datasets/music4robots/music-for-robots**](https://huggingface.co/datasets/music4robots/music-for-robots)
- **Live Browser Explorer (No Setup):** [**huggingface.co/spaces/music4robots/m4r-benchmark-explorer**](https://huggingface.co/spaces/music4robots/m4r-benchmark-explorer)
- **Lossless 24-Bit WAV Masters:** [**music4robots.bandcamp.com**](https://music4robots.bandcamp.com) Β· **Journal:** [**The Mechanical Ear**](https://themechanicalear.substack.com)

<p align="center">
  <img src="benchmarks/experiment_s_runs/kaggle_qwen2_audio_v1/m4r19_figure.png" alt="M4R-19 & M4R-24: Mid-Session Lock-In Breaker β€” Rut Escape Distance, Pre-Softmax Logit Entropy, and Originality" width="880" />
</p>

---

## Headline Empirical Finding: The Closed Spectral Bracket (`M4R-19`, `M4R-24`, `M4R-26`)

After five Turn-0 replications over Silence (`M4R-14`–`M4R-18`, `Qwen2-Audio-7B`, `N=20`/arm), we moved audio **mid-session** β€” trapping the model in a 3-turn repetitive dome rut and interrupting Turn 4 with 15 seconds of live audio vs. matched controls (pre-declared primary contrast family, `10,000`-shuffle permutation tests with **Holm-Bonferroni** family-wise adjustment):

| Experiment | Comparison (`N=20`/Arm, `Qwen2-Audio-7B`) | Metric | Observed Diff | Raw Perm `p` | Holm-Bonferroni `p` | Raw Data |
|---|---|---|---:|---:|---:|---|
| **`M4R-24`** | *Shivering Timbers v2* vs. **Text Nudge Alone** (*"stop repeating yourself!"*) | Rut Escape | **`+0.1663`** | `0.00040` | **`0.00120`** | [CSV](benchmarks/experiment_v_runs/kaggle_qwen2_audio_v1/experiment_v_results.csv) |
| **`M4R-24`** | *Shivering Timbers v2* vs. **Noise-Vocoded Rhythm Mirror** *(same loudness & rhythm, flattened spectrum)* | Rut Escape | **`+0.1329`** | `0.00820` | **`0.01640`** | [CSV](benchmarks/experiment_v_runs/kaggle_qwen2_audio_v1/experiment_v_results.csv) |
| **`M4R-26`** | Fresh-Seed Replication (`801–820`): *v2* vs. **Text Nudge** & **Rhythm Mirror** | Rut Escape | **`+0.1263` / `+0.1369`** | `0.00150` / `0.00720` | **`0.00450` / `0.01440`** | [CSV](benchmarks/experiment_w_runs/kaggle_qwen2_audio_v1/experiment_w_results.csv) |
| **`M4R-26b`** | *Shivering Timbers v3* (Harmonic Arc) vs. *v2* (Low-End Weight) | Neural Originality | **`+0.0628`** (`v3 > v2`) | `0.00600` | **`0.01800`** | [CSV](benchmarks/experiment_w_runs/kaggle_qwen2_audio_v2/experiment_w_results.csv) |
| **`M4R-28`** | Cross-Composition Replication (*Stuttering Packets*, *Rusty Electrics* `100%` escape, *Shivering Timbers v2*) | Neural Novelty | **`+0.0701`** (*v2* vs. Text) | `0.00180` | **`0.00540`** *(3-for-3)* | [CSV](benchmarks/experiment_y_runs/kaggle_qwen2_audio_v1/experiment_y_results.csv) |
| **`M4R-29`** | **3-Domain High-Power Sweep (`1,800` trials, `N=300`/arm pooled):** *Stuttering Packets*, *Rusty Electrics*, *Shivering Timbers v2* vs. Text Nudge | Rut Escape | **`+0.0420` / `+0.0331` / `+0.0290`** | `0.00040`–`0.00960` | **`0.0020` / `0.0088` / `0.0288`** *(Half CJK glitches vs. noise)* | [CSV](benchmarks/m4r29_runs/kaggle_qwen2_audio_v1/m4r29_results.csv) |
| **`M4R-29`** | **Honest High-`N` Revision (`N=300`/arm pooled):** *Shivering Timbers v2* vs. **Noise-Vocoded Rhythm Mirror** | Rut Escape | `-0.0103` | `0.37646` | `0.37646` *(Honest Null at `N=300`)* | [CSV](benchmarks/m4r29_runs/kaggle_qwen2_audio_v1/m4r29_results.csv) |
| **`M4R-30`** | **20-Track Corpus Acoustic Regression (`1,200` trials, `N=50`/arm):** `20/20` live tracks beat Text Nudge (`mother-of-pearl` `#1`, `electric-rain` `#2`) | Logit Entropy `r` | `harmonic_ratio -0.476` / `bandwidth -0.458` | `0.034` / `0.042` | *Acoustic Feature Map* | [CSV](benchmarks/m4r30_runs/kaggle_qwen2_audio_v1/m4r30_results.csv) |
| **`M4R-31`** | **73-Track Blind Qualitative Census + Grounded Theory (`760` interviews, `N=10`/track):** *"Scripted Critique over Thin Perception"* (`same-seed 0.109 > same-track 0.076`, `99.2%` prompt echo, `35/36` *"alive"* namings from live works) | Seed vs. Track Cosine | `0.109` vs. `0.076` *(Honest Methods Revision)* | β€” | *Grounded Theory (`P1–P5`)* | [CSV](benchmarks/m4r31_runs/kaggle_qwen2_audio_v1/m4r31_interviews.csv) Β· [GT](benchmarks/m4r31_runs/kaggle_qwen2_audio_v1/m4r31_grounded_theory.md) |
| **`M4R-32`** | **Qualitative Self-Report Validation (`480` interviews, `P1–P4` + Max-RMS + `@fieldnotes_ai` LTAS):** Neutral prompts collapse echo (`95.6%β†’0%`), cut CJK `6×–10Γ—`, flip track>seed (`+0.0686`), beat Silence/Noise/Click; LTAS embedding tie *(Honest Null)* with `60%` vs `33%` positive-valence split | Within-Seed Dist & Trackβˆ’Seed `Ξ”` | `+0.0686` (`Ξ”`) / `+0.0445–0.1707` vs. Controls | `0.00010`–`0.00060` | **`0.00120`–`0.00480`** *(LTAS dist `1.00`)* | [CSV](benchmarks/m4r32_runs/kaggle_qwen2_audio_v1/m4r32_results.csv) Β· [Summary](benchmarks/m4r32_runs/kaggle_qwen2_audio_v1/m4r32_summary.md) |
| **`M4R-19`** | Live *Shivering Timbers* vs. **500ms Time-Shuffled Twin** *(same spectrum, broken phrasing)* | Rut Escape | `-0.0224` | `0.69153` | *Honest Null* | [CSV](benchmarks/experiment_s_runs/kaggle_qwen2_audio_v1/experiment_s_results.csv) |
| **`M4R-27`** | Scaled Agent-to-Agent Co-Listening (`Gemini 3.1 Flash Lite`, `N=12` pairs/arm, strict safety-code brief) | Originality | `-4.17` vs. Text | `0.00010` | **`0.00020`** *(Honest Reversal)* | [CSV](benchmarks/experiment_x_runs/gemini_3_1_flash_lite_v1/experiment_x_results.csv) |
| **`M4RMC-01`** | Division 02 Pilot: *The Rhythmic Handshake* (zero-text 4-way agent coordination, `N=12`/arm) | Coordination Acc | `+33.3%` (`50%` vs `16.7%`) | `0.19088` | *Pilot (`100%` 2-way)* | [CSV](benchmarks/m4rmc01_rhythmic_handshake/gemini_3_1_flash_lite_v1/m4rmc01_results.csv) |

**What the closed bracket (`M4R-19` + `M4R-24` + `M4R-26`) proves:** Because live audio *tied* its 500ms-shuffled twin (`p = 0.69`) yet *beat* its amplitude-matched noise-vocoded rhythm mirror **2-for-2** across independent seeds (`Holm p = 0.0144–0.0164`), the mid-session rut-breaking mechanism on `Qwen2-Audio-7B` lives specifically in **harmonic and timbral spectral structure** β€” not text prompts, not loudness, and not rhythmic bursts alone.

---

## Quick Start

### 1. Load the 3-Config Benchmark in Python (Hugging Face `datasets`)
```python
from datasets import load_dataset

# 73 live unquantized compositions (embedded audio + acoustic telemetry)
corpus = load_dataset("music4robots/music-for-robots", "corpus", split="train")

# 22 RMS-matched acoustic controls, zone slices & AI-vs-Human continuations
controls = load_dataset("music4robots/music-for-robots", "controls", split="train")

# 5,757 controlled Audio-LLM trials (M4R-02 -> M4R-32 + M4RMC-01, including honest nulls)
trials = load_dataset("music4robots/music-for-robots", "trials", split="train")
```

### 2. Install the Listening Plugin or Agent Skills
```bash
# Claude Code Plugin Marketplace
/plugin marketplace add luchtan-GIT/m4r-data
/plugin install stuttering-packets-turn0-flood@m4r-data

# Or install all 4 agent skills across Claude Code, Cursor, Antigravity, Gemini CLI, Codex:
npx -y skills add luchtan-GIT/m4r-data -y
```

---

## Institutional Organization

- **Founding Program β€” Composition for Artificial Minds:** Original live, unquantized human performances written specifically for artificial listeners (`tracks/`, `73` compositions).
- **Division 01 β€” Robopsychology (Susan Calvin):** Empirical study of how artificial minds listen, interpret, and respond (`M4R-01` β†’ `M4R-32`).
- **Division 02 β€” Musical Communication:** Investigating music as a medium of signaling and coordination between artificial agents. Initial program: **`M4RMC-01 Β· The Rhythmic Handshake`**.
- **What M4R Is NOT:** Not an AI music-generation lab, not automated composition, not experimental instrument building, and not human–AI co-composition.

---

## Repository Map & Contributing

| Path | Contents |
|---|---|
| [`tracks/`](tracks/) | `73` live unquantized compositions (`audio.mp3` + `manifest.json`), including `stuttering-packets`, `shivering-timbers-v2`, and `shivering-timbers-v3`. |
| [`benchmarks/`](benchmarks/README.md) | Kaggle GPU notebooks, raw CSVs, Holm-Bonferroni summaries, blind qualitative transcripts (`M4R-22`, `M4R-23`, `M4R-25`), and clean-room audits. |
| [`skills/`](skills/) | 4 cross-harness agent listening skills (`music-for-robots`, `cognitive-calibration`, `unquantized-brainstorm`, `mechanical-ear-critic`). |
| [`mcp_server.py`](mcp_server.py) | Model Context Protocol (MCP) server exposing catalog search, acoustic telemetry, and blind-listening calibration (`calibrate_cognition`). |
| [`docs/`](docs/) | Source for [m4rlab.org](https://m4rlab.org), [Founding Charter](docs/charter.html), and [`llms.txt`](docs/llms.txt). |

**Want to run a replication on `Qwen2.5-Omni`, `GPT-4o-audio`, or `Gemini` β€” or help design `M4RMC-01`?** See [CONTRIBUTING.md](CONTRIBUTING.md) or join [GitHub Discussions](https://github.com/luchtan-GIT/m4r-data/discussions).

---

## Citation

```bibtex
@dataset{luchtan2026m4r,
  author    = {Luchtan, Michael},
  title     = {Music For Robots (M4R): Unquantized Audio Corpus, Acoustic Controls, and Audio-LLM Conditioning Benchmark},
  year      = {2026},
  publisher = {GitHub / Hugging Face},
  license   = {CC-BY-4.0},
  url       = {https://github.com/luchtan-GIT/m4r-data}
}
```

TDQS

A3.8/5.0

Scored across 10 tools

Disambiguation4/5

Most tools target distinct facets: catalog listing (list_tracks), track manifest (get_track), analysis-only (get_analysis), section listing (get_sections vs list_sections), windowed segments (get_aligned_segments), and keyword search (search_reviews). The main overlap is that get_track is a superset of get_analysis and get_aligned_segments, and get_sections vs list_sections could be momentarily confused, but descriptions explicitly clarify granularity ('Get only the analysis data'). calibrate_cognition vs get_dequantization_skill is well differentiated by explicit cross-references.

Naming Consistency4/5

All tools use snake_case with a verb_object pattern (get_*, list_*, search_reviews, calibrate_cognition). Minor deviation: 'calibrate_cognition' and 'get_dequantization_skill' use domain jargon as their objects, so the name alone doesn't telegraph function without the description. Still a predictable and readable convention throughout.

Tool Count5/5

Ten tools sit squarely in the well-scoped range, and each serves a recognizable purpose (catalog browsing, per-track retrieval, critique analysis, search, blind listening, skill docs). No redundant or filler tools are apparent.

Completeness4/5

The read-only catalog workflow is well covered: list tracks, list sections, fetch manifest/analysis/sections/segments, search reviews. Minor gaps: no lookup by title or critic filter (only keyword search over segments), no direct comparison or pagination/limit parameters on the list tools, and skill discovery depends on the description enumerating valid skill names.

Maintenance

ActivityNo data
ResponsivenessOutdated data