Skip to content

Music Analysis · Free

Melody Generator

Explore short melodies within a chosen key and scale.

1

C4

2

C4

3

C4

4

C4

5

D4

6

C4

7

C4

8

D4

9

D4

10

C4

11

D4

12

C4

13

C4

14

C4

15

E4

16

C4

Stopped

Start with a key and scale

Choose a root note and scale, then generate a phrase of 8, 16 or 32 eighth notes. The first and last notes use the root. Between them, a bounded random walk moves through nearby scale degrees rather than jumping freely across the keyboard. Octave selects the root register.

Listen in context

A phrase that stays in a scale can still clash with a chord or feel predictable. Treat the output as a sketch: try it over your progression, then change notes, rests and accents in your music editor. These suggestions are not checked against existing songs and are not a promise of originality.

Tempo and export

Each note starts half a quarter-note beat after the previous one and sounds for 80% of that interval. Play loops the whole phrase. Download MIDI preserves the selected tempo, notes and durations; copying saves a readable note list. The browser makes the phrase without an external service.

Frequently asked questions

Does this write lyrics or recognise a song?

No. It makes a short instrumental note sequence from the scale and settings you choose.

Can I edit the generated notes?

Import the MIDI into a music editor to change notes, rhythm, rests and instrument sounds.

More free music tools