- Home
- Skills
- Game Development
- ChipTune
More screenshots
Works with the AI Agents you already use
ChipTune
Compose and synthesise game music, stingers, ambience and sound effects in Python: NES, SNES and Genesis kits, seamless loops, MIDI export, any engine.
Free
ChipTune
Example session with this skill installed
Give my NES-style puzzle game a looping title theme and a short victory stinger. Dark fairground mood. Put the generator in design/audio/ and the files in assets/audio/.
- Read your context and instructions
- Compiled the chiptune
- Generated the document
Two cues written, checked and documented. You will want to listen to both; here is what to listen for.
Brief. NES palette, dark fairground: a waltz on a detuned calliope-style pulse, minor key with a bare-fifth bass, and the same motif in the parallel major for the win.
Composed. One motif (6 notes, D minor) and a four-bar progression (Dm, Bb, Gm, A). title is a 16-bar waltz at 84 bpm (steps_per_beat=2, beats_per_bar=3), lead on pulse duty 0.25 with delayed vibrato, counter on 0.5 a sixth below, triangle bass on roots and fifths, noise hat on the off-beats, one echo a dotted eighth later, no reverb. win is the motif in D major, twice as fast, over a I–IV–V–I, as a 2-bar stinger with a 1.5 s tail.
Files. design/audio/music.py (scores and kits, seeded, regenerates byte for byte), assets/audio/mus_title.wav (34.3 s, mono), assets/audio/fx_win.wav (3.1 s), design/audio/midi/title.mid and win.mid. The skill's chip.py and sfx.py are copied beside music.py, so the project regenerates its own sound without this skill installed.
Checked. Title loop seam 0.004 (limit 0.19), RMS −14.8 dBFS, peak −1.0 after the master limiter. Stinger ends silent, peak −3.0, no clipping. Spectrogram sheet at design/audio/sheet.png: the lead steps between clear lines, the bass holds under 150 Hz, the hat shows as thin columns on beats 2 and 3.
Listen for. Whether the waltz lilt reads as "fairground" or just "slow"; if not, bpm=96 is the one-line change. Whether the loop wrap on the A chord lands as a downbeat. Whether the win stinger is too bright next to the title; gain=0.35 on its lead brings it down.
Decisions I made for you (all one-line reverts): mono, as the NES kit is; no drums beyond the hat, to keep the creepiness; the stinger shares the motif rather than being a generic fanfare.
sheet.png
PDF · document
Example file from a real run - the skill writes it into your workspace.
Connects securely to your tools. The creator never sees your data.
About this skill
Your game needs a title theme, a battle loop, a victory stinger and forty sound effects, and you have no composer, no samples and no DAW. This skill gives your agent a tracker written in Python with numpy: it composes the music, renders it with chip-era or acoustic-flavoured instruments, checks what it cannot hear, and writes files your engine plays as they are.
What it does
- Composes: a Score is the composition (tempo, meter, bars, note patterns per part, drum grids), written from a motif and a chord progression so every cue in a game shares material and sounds like one game.
- Renders: a Kit is the instruments. NES (two pulses, triangle, noise), SNES (echo, wide pads, FM bass), Genesis (FM everywhere), acoustic (piano, strings, music box), lo-fi, and a plain graybox kit. The same score through another kit is the same tune on other instruments.
- Exports MIDI of every score, so a human can take the composition into a DAW or tracker later.
- Makes sound effects and ambience: one-shots for UI, hits, doors, machines, weather and jingles, and seamless beds such as wind, hum and crickets.
- Checks the result: every render enforces a seamless loop seam or clean stinger ends, no clipping, and loudness targets per family, and prints peak and RMS per cue. Spectrogram sheets let the agent see a melody, a bass line and a drum pattern it cannot hear.
- Writes files for any engine: WAV always, OGG for long loops, with integration notes for AGS, Decentraland, Unity, Godot and the web.
How it works
- Brief to cue list: the agent reads the design and the code that triggers music, then writes a table of cues (where each plays, loop or stinger, mood, tempo, bars) and effects, and asks only for what it cannot infer.
- Palette: picks or mixes a kit per era and mood.
- Motif and harmony first: one short motif and a progression per mood, reused across cues at other tempos, modes and instruments.
- Generator scripts: one
music.pywith the scores and kits, oneeffects.py, both seeded so every file regenerates byte for byte. The skill's two library scripts are copied into the project so the game owns its own sound pipeline. - Graybox, check, dress: render on placeholder instruments, read the spectrograms, fix the composition while a change is one pattern string, then choose instruments. The scores do not change in the dressing pass; the MIDI files prove it.
- Report what it cannot hear: the cue table with levels, what each cue should sound like, what to listen for, and the one-line knobs (tempo, loudness, a voice) for your ear to adjust.
Frameworks & tools
Python 3 with numpy. Optional: soundfile for OGG output, Pillow for spectrogram sheets. Two readable scripts, about 2,000 lines, no samples, no binaries, no network access. Output plays in AGS, Decentraland SDK7, Unity, Godot, web audio or anything that plays a WAV or OGG file.
Why this beats prompting it yourself
Asked for "chiptune music", an agent writes a sine-wave loop that clicks at the seam, sits at the wrong loudness and sounds like a cheap emulator. This skill carries what makes the difference: band-limited oscillators and release tails that make chip voices sound finished, the era rules (how many NES voices sound at once, where the echo goes on a SNES lead, why the bass line has to move), the loudness targets and why they matter per engine, the seam and clipping checks that fail a render instead of shipping a flaw, and a workflow that keeps composition and instrumentation apart so the soundtrack can be upgraded later without rewriting a note.
Use cases
- A placeholder soundtrack for a prototype that can be re-instrumented later without changing the tunes.
- A full cue set for a small game: title, exploration, danger, victory, defeat, all from one motif.
- Sound effects to spec: doors, pickups, UI clicks, footsteps, a machine hum that loops.
- Ambience beds for scenes, mixed under the music at the right level.
- Converting a tune the agent composed into MIDI for a musician to finish.
What you should know before installing
The agent cannot listen. The skill makes it measure instead (seam, peak, RMS, spectrograms) and report what you should listen for, but the final judgement of whether a melody is good is yours. The scripts read and write files inside your project only.
Known limitations
Synthesis only: no samples, no imported audio, no vocals. OGG output needs the optional soundfile package. The music is chip- and small-ensemble flavoured by design; it does not imitate orchestral or recorded production. Loudness defaults were tuned by ear in two engines and should be checked in yours.
ChipTune Pro
This free edition is frozen at 0.1.1. It keeps everything it has, but it gets no further changes. Its maintained successor is ChipTune Pro: a one-time purchase, with future versions included. Pro installs over this edition in place, under the same skill name. Your music.py and effects.py keep running, and your .mid files stay the same while the audio improves.
Pro adds measurement and lint of its own music, mastering, groove, song form, adaptive layers and stems, MIDI import, reference-track analysis, character voices, more eras and genres, a library of 101 sound effects with takes, and two complete example soundtracks.
Synthesis only: no samples, no imported audio, no vocals. OGG output needs the optional soundfile package. The music is chip- and small-ensemble flavoured by design; it does not imitate orchestral or recorded production. Loudness defaults were tuned by ear in two engines and should be checked in yours.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before any payment.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Free forever
No account required to browse
Trust & safety
Security scan
Security scan passed 13 days ago
- Free with an Agensi account
Requires