A compiler for songs.
songexe("Dallas House.wav") // → a score, then a video
Drop a song into songexe and it writes the score as a JavaScript program. Run the score and it draws the song in ASCII, one frame per 16th note. Change a line while it plays and the picture follows.
Nothing to install and no account. Your song is read on your own computer and never uploaded. Recording video needs Chrome or Edge.
dallas_house.jswritten by songexe from the audio
keys()Dallas House · from bar 33 · chorus · C# minor
the chord being playedalso held stronglyloudest note
one bar = 16 steps · at 126.1 BPM a step is 119 ms
From audio file to video
1 · drop
Drop in a song
Any audio file. songexe finds the tempo, the key, the sections and which ones repeat.
Dallas House 24-bit 48kHz.wav
2 · compile
It writes the score
Sections, chords, kick, snare and hats, bar by bar, as code you can read and edit.
9 sections from 4 distinct parts
3 · run
It draws the song
Each section names a field to draw it. Record what it draws as a 9:16 reel or 16:9 video.
chorus(33, 16) · 16 bars · first time
50 fields
33 fields are pictures and 17 read the song as data. These four are from Dallas House.
Four ways to run it
CodeThe score's own characters become the picture.
TerminalThe score runs as program output.
DebugStep through the song beat by beat.
TrackerThe song as pattern rows, one per 16th note.