A research diary

The Journal.

What was tried, what was measured, and what it taught us. Findings are reported as they land, including the disappointing ones; that is the point of the instrument.

30 Aug 2026

The loops were in the decoder

Op. 10's raw samples looped as badly as op. 9's, which briefly read as a failed study. A sampling sweep told a different story: the model knew more music than its decoding let out. Sharpened by training, unpenalised sampling kept collapsing it into its favourite figures. The full grid, two styles by three temperatures by three repetition penalties, 500 tokens per run, fixed seed. rep4 is the fraction of repeated four note figures; the real corpus averages 0.54 with about 12 unique pitches per melody.

StyleTempPenaltyNotesPitchesDurationsrep4
pop0.91.0166950.85
pop0.91.22411550.54
pop0.91.422910110.34
pop1.11.0249330.94
pop1.11.223012210.22
pop1.11.420316180.19
pop1.31.018917260.39
pop1.31.218932200.06
pop1.31.418822200.13
jazz0.91.0167630.90
jazz0.91.221414130.27
jazz0.91.419818140.18
jazz1.11.020110120.76
jazz1.11.22033060.07
jazz1.11.420720160.09
jazz1.31.018522160.26
jazz1.31.219826160.04
jazz1.31.421125130.01

Serving settled on penalty 1.2 near temperature 0.95: repetition lands at the corpus statistic without drifting into the incoherence the hottest settings show. The full listening batch regenerated at those settings, three melodies per style, 600 tokens each:

StyleNotesRangePitchesDurationsrep4
classical24056 to 1012690.11
rock25154 to 9420220.16
dance26259 to 9824110.19
pop27753 to 9017110.34
rnb25262 to 9617130.34
folk26940 to 9322110.34
jazz28138 to 831870.39
standards29041 to 8316150.61
real corpus12380.54

Every style now exceeds the corpus in pitch variety, and the styles separate: classical roams furthest, standards keeps the tightest song form repetition. Op. 10 serves on the desk with the tuned decoder, and a study that looked disappointing became the best finding of the week for the price of a five minute experiment.

30 Aug 2026

Op. 10 measures the scaling slope, and it is shallow

The tenth study trained on 30,007 melodies, 1.6 times the ninth corpus, on a rented A100. Validation loss reached 1.30 against op. 9's 1.33 before the same overfitting pattern returned. The finding: at 34M parameters, raw data volume alone buys little. The next study attacks quality instead, filtering the corpus by the same repetition and variety metrics we judge output with, and training with heavier regularisation. A disappointing number, and a useful one.

30 Aug 2026

Op. 9 goes public, honestly labeled

The ninth study is live on the composer's desk as a research preview: the first Melograph model with working style conditioning. Choose a genre and the model is steered by a style token it learned in training. It is repetitive, and we say so; its melodies sit in a proper vocal register for the first time, and generation is from scratch, with no data seeding. The style dropdown now only advertises what a loaded model actually understands.

30 Aug 2026

The bar 31 problem

The first listener of an op. 9 melody noticed it began with thirty silent bars. The model had faithfully learned instrumental intros: melodies extracted from real songs keep their original timestamps, so a vocal entering after an intro carried its dead air into training. Nearly three quarters of the corpus had the artifact. Every melody is now shifted left by whole bars, preserving pickup phrasing, and future studies learn from music that starts when the file does.

29 Aug 2026

A corpus of true melodies

The ninth study's training data went from 275 full arrangements to 18,758 single-voice melodies: POP909's human-labeled melody tracks, 5,981 Wikifonia lead sheets, and 11,870 lines extracted from the Lakh MIDI dataset by a skyline algorithm validated against human annotations (mean F1 0.869, roughly one accompaniment leak per nine hundred songs). Each melody carries a genre tag resolved from MusicBrainz and Last.fm metadata.

29 Aug 2026

The Melograph gets its name

The site formerly known as AI Melody Generator is now The Melograph, after the nineteenth century instrument built to capture melodies as they were played. New domain, new engraved look, and a working monograph describing the method behind all nine studies.