1. Skills
  2. Music
  3. Collision Music Machine
Music Claude quick start

Collision Music Machine

A melody in. A machine that plays it, one visible hit per note, out.

/fp-collision-music-machine

What it does

Get a 3D machine that plays your melody: balls arc from turrets and drop from hoppers onto tuned brass bars and drums, and every note you hear is a hit you see, solved backwards from the score.

  • Layout solved backwards so every hit lands on the beat
  • Sound made from the collisions, so it can never drift
  • 16:9 or 9:16 video plus a live page that plays it

You bring, you get

You bring

Bring a short melody as a note list or a MIDI file, or ask for an original one. Say whether you want 16:9 or 9:16.

You get

You get a 15 to 20 second mastered video of the machine playing it in one continuous shot, a measured sync report, and an HTML page that plays it live with sound.

Perfect for

  • Satisfying music loops
  • Song teasers
  • Music class demos
  • Marble machine reels
  • Jingles and stingers

How it works

  1. GATHERTake the melody, or write an original one.
  2. PLANScore, bars, drums and camera. Approve first.
  3. SOLVELaunch times worked back from each note.
  4. PREVIEWCheck every hit, colour and frame.
  5. RENDEROne continuous shot, sound from the hits.
  6. DELIVERVideo, sync report and the live page.

What you need

Runs in Claude Code or a Claude app with local code execution. Needs Node.js 18+, Python 3 with numpy, and ffmpeg. three.js and fonts load from the web, so rendering needs internet.

Example prompts

SONG HOOK TEASER

You bring: The MIDI of your chorus melody and its tempo

Use fp-collision-music-machine to play the hook from my MIDI file on brass bars and drums, 9:16, for a release teaser.

You get: A 9:16 video of the machine playing your hook note for note, mastered to -14 LUFS, plus a live page fans can open and play.

BRAND JINGLE STINGER

You bring: Your five-note jingle as note names and a tempo

Use fp-collision-music-machine to play our five-note jingle ending on a chord, 16:9, with our name as the title.

You get: A short 16:9 piece where five balls play the jingle and four land together for the final chord, with your title on screen.

MUSIC CLASS INTERVALS

You bring: The scale or intervals you are teaching

Use fp-collision-music-machine to write an original melody in A minor pentatonic that a class can follow, with note names on the bars.

You get: An original melody on labelled bars with a score strip and playhead, so students see each note's name, colour and timing as it lands.

Not the right fit?

Not for a music video cut to an existing song (use Music Video (fp-music-video)) or an interactive science simulation with sliders (use Science Sim Lab (fp-science-sim-lab)).

Made with this skill

Pairs well with