Skip to content
SFX skill · PlaygroundGet the skill on GitHub

The sfx skill, running in this tab

sfx is a Claude skill that makes sound effects with code. It starts from 392 sounds a person listened to and kept, sorted by what they are for and the world they belong to; its recipes and its Bfxr generator make new ones from any seed. This page runs the skill's own Python in the tab.

Presets · 77 of 392

Pick a sound

Each one is a sound a person listened to and kept. Seed 1 is that exact take, sample for sample; where the sound has randomness in it, other seeds are other takes.

Loads Python, numpy and scipy into this tab: about 25 MB, kept by the browser after the first time. Pressing any sound switches it on too. The sound is made on this device; no audio and no settings are sent anywhere.

No sound yet

NES and Game Boy: pulse waves, a stepped triangle and noise, changing once per video frame. Mono and dry.

This exact sound, from the skill

uv run skills/sfx/scripts/sfx.py list --world 8-bit --job jingle

What the skill is doing

  1. 01  It starts from kept sounds

    A preset is one sound a person listened to and kept, filed by the job it does (an accent, a transition, feedback, a signal, a bed, a jingle) and the world it belongs to (8-bit, 16-bit, a commentary edit, a cartoon, horror, sci-fi). Seed 1 is the kept take, sample for sample. Where the sound has randomness in it, every other seed is another take.

  2. 02  A recipe is a function

    Each sound is a Python function. It takes a seed for its randomness and the settings on the dials, and it returns the samples: 48,000 numbers a second for each ear. There are no recordings in it.

  3. 03  Bfxr is in it

    The chip machine is Bfxr's synthesis loop and its buttons, translated to Python: the same numbers give the same sound, a string copied out of Bfxr pastes in, and Copy for Bfxr goes the other way.

  4. 04  It is built round one moment

    Every sound has a sync point, the red line on the display: the moment that has to meet the picture. The file is worked out backwards from that moment, so the hit after a two-second build is at two seconds to the sample.

  5. 05  The parts are listed

    A recipe made of many small events (raindrops, crackles, key presses) reports each one with its time and its place between the ears. Those are the dots under the waveform. A video can be drawn from the same list.

  6. 06  It is measured, then heard

    Claude can't hear. It works from the numbers in the readout and from the spectrogram picture, and flags what a person should listen for. A person still picks.

  7. 07  It repeats

    The same seed and the same dials give the same samples. The command under the display makes this exact sound with the skill.

Get the skill

In Claude Code the skill does this from a sentence: "add a build-up and a hit where the title lands at 4.2 seconds". It picks the recipe, sets the timing and puts the file on the frame. It is free, under the MIT licence.

/plugin marketplace add latentastronaut/la-sfx-skill
/plugin install sfx@la-sfx-skill

The engine is Pyodide: Python, numpy and scipy compiled to WebAssembly. Every file it loads is served from this site.

Not everything runs here. The shelf holds 77 of the 392 presets: common sounds from each family that a browser makes in under about two seconds. The long ambiences (city streets, a dawn chorus, applause, the American police wail) take longer and stay in the skill, as do its timeline for laying sounds on a video and its search for free recordings. Some sounds still fail when made with code (breaking glass, footsteps on snow, engines); the skill finds a recording for those.

The chip machine is the skill's port of Bfxr by increpare, built on Thomas Vian's as3sfxr, after sfxr by Tomas Pettersson. Their notices.