8-bit JRPG Chiptune Song Machine

Generates original two-square-wave + triangle-bass songs for Arduino Nano style hardware. Listen in the browser, export MP3, or export compact Arduino .ino code with PROGMEM song arrays. The Type dial blends strict functional harmony with chaotic random chromatic behavior. The upload analyser can estimate parameters from MP3/WAV/OGG files, play a MIDI-like square/triangle version, and use that extraction as the base for variations.

1. Generator Parameters

0% is strict tonal mode: chord tones on strong beats, stepwise passing tones on weak beats, chord-root bass, and consonant second-square support. 100% allows random chromatic melody, unstable bass, and dissonant intervals.

2. Variation controls

Variation mixes the existing song with a fresh song generated from the current settings. Low % keeps the melody close; high % changes more notes, bass, durations, and harmony.

3. Upload analysis / MIDI extraction

The analyser estimates BPM, root, scale, mood, density, leap amount, repetition, bass motion, and chaotic/harmonic type from the audio. It also extracts a simple monophonic MIDI-like version for square-wave playback.

4. Actions

Ready. Press “Generate song”, then “Listen”.

Generated song

No song yet.

Song data preview

Melody note preview

MP3 export note: The HTML loads the small lamejs encoder from a CDN. If you use the file fully offline, listening and Arduino export still work, but MP3 export needs internet or a local copy of the encoder.