Skip to content
Back to skills

Music

ASecurity

Render a chiptune loop from MML text to WAV with pulse, triangle, and noise presets, standard library only. Use when: 'chiptune', '8-bit music', 'retro game loop', 'MML to wav'. Not for a one-shot effect (use /retro-audio:sfx) or lyrics.

  • 20 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 29, 2026
ai-agentspythongobash

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned October 4, 2026

npx -y skills add melodic-software/claude-code-plugins --skill music --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Music?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Music
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/melodic-software-music/badge)](https://www.skillsdirectory.com/skills/melodic-software-music)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
description: "Render a chiptune loop from MML text to WAV with pulse, triangle, and noise presets, standard library only. Use when: 'chiptune', '8-bit music', 'retro game loop', 'MML to wav'. Not for a one-shot effect (use /retro-audio:sfx) or lyrics."
argument-hint: "<mood or score> [chip gameboy|nes|pico-8]"
user-invocable: true
disable-model-invocation: false
metadata:
  workflow-stage: implement
  summary: Render a short chiptune score to a WAV file
---

# Music

Turn a short description or a pasted score into one looping WAV.

## 1. Write the score

Use the MML subset in [`${CLAUDE_PLUGIN_ROOT}/scripts/mml.py`](${CLAUDE_PLUGIN_ROOT}/scripts/mml.py): `t` tempo, `o`
octave, `l` length, `v` volume 1-15, `@0` bass, `@1` to `@4` pulse duties 12.5, 25, 50, 75
(claim = those four duties; basis = [`chips.md`](${CLAUDE_PLUGIN_ROOT}/reference/chips.md); as of
2026-09-28; recheck when that file's Pan Docs or NESDev basis changes), `<` and
`>` for octave, `[` `]` repeats, `|` between parts, `n` for noise. Notes are `a` through `g` and
`r`. Presets cap channels and noise parts only, not the hardware voice mix, and pico-8 shares the
Game Boy and NES duties. A dot after a length is 1.5 times. Pick `--chip gameboy`, `nes`, or
`pico-8`. Four parts at most, and only one part may use `n`.

A worked loop is `${CLAUDE_PLUGIN_ROOT}/examples/campfire.mml`.

## 2. Render

```bash
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/mml.py" --chip gameboy --out <dir>/loop.wav "<score>"
```

## 3. Deliver

Give the WAV path and the score text beside it. A pixel-art scene takes the path as its audio
argument and inlines the file. Do not edit that plugin from here.

## Next

/pixel-art:scene <scene> <wav path> to play the loop in a scene.

## Gotchas

- Length numbers are denominators: `l4` is a quarter note, `l8` an eighth.
- The renderer does not write MP3.

Files in this skill

  • SKILL.md1.7 KB
  • evals/evals.json1.5 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…