Melody Generator
A small motif. An answering phrase. A melody you can make your own.
Opening your interactive tool…
The interactive controls need JavaScript. You can explore the guide below while they open.
The starting melody
| Setting | Value |
|---|---|
| Key and tempo | C natural minor · 120 BPM |
| Shape | Arch · balanced density |
| Motif, bar 1 | C4 · Eb4 · G4 · rest |
| Answer, bar 2 | F4 · Eb4 · D4 · C4 |
| Length | 2 bars of 4/4 · 8 beats · 4 seconds |
| Pitch range | C3–B6 · MIDI 48–95 |
Start with a motif and hear its answer
The first bar introduces an idea; the second responds to it. The starting C minor phrase rises from C through E-flat to G, leaves a gap, then answers by stepping back to C. Press Play once to hear the complete two-bar result before changing anything.
Choose a major or natural-minor key and an arch, rising or falling contour. Density offers a spacious, balanced or every-beat starting rhythm. Variations use phrase shapes and gaps, giving you material to develop rather than a judgment about the one correct melody.
Give every beat a pitch, rest and length
Select one of four beat slots in either bar. Change its pitch across C3 to B6, make it a rest, move its start within the beat or change its duration. Chromatic notes are available when the musical idea needs them; editing is not limited to a fixed scale palette.
The editor keeps each note inside its beat. A later start can shorten its visible held length so the result stays monophonic. Lock a slot to preserve its exact settings through new variations or key changes. Locked notes may fall outside a changed key; Undo lets you return to a previous phrase.
Keep a sketch you can develop further
MIDI preserves the displayed pitches, rests, starts and durations over eight quarter-note beats. Choose your own lead, keys or other instrument after importing it. The reference WAV contains a simple synthesized tone following the same musical events.
A settings link restores the editable phrase without autoplay. This browser tool makes a short musical sketch without signup, recording or AI credits. To develop it into a track, keep the file and bring it into your chosen session; opening TunePal’s app does not transfer it automatically.
Common questions
Can I edit the rhythm instead of only changing the key?
Yes. Each of the eight beat slots can hold a note or rest, with a selectable within-beat start and held length. You can directly edit pitches, including chromatic notes, and preserve slots with locks.
How long is the generated melody?
Two bars of 4/4: a one-bar motif followed by a one-bar answer. At the starting 120 BPM, that is four seconds. The tempo can be set from 60 to 180 BPM.
Does this generate vocals or a complete song?
It creates an editable monophonic melody sketch. The MIDI contains note instructions, and the WAV uses a synthesized reference tone. It does not generate vocals, lyrics or a backing track.