Hum a melody for 10–30 seconds, add a style line and lyrics, and get back a produced song that keeps your tune, builds a structure around it, and carries on long after the hum stops.
This Space runs Mothersuperior/YuE2-hum-to-song
on top of m-a-p/YuE2-3B, following the
adapter's reference scripts (hum_continue.py, infer_hum.py):
[EOD] instructions+style+lyrics [ABC_START] hum score and deliberately left open
(no [ABC_END]), so the planner treats the hummed bars as the opening of a song and
keeps writing — new sections, transitions, an ending — before emitting semantic tokens
for the whole song.Linear(64 → 2048) projections add
it into the NAR hidden state at layers 0 / 7 / 14 / 21 while the rank-96 LoRA-adapted
flow-matching decoder renders the audio. You can hear exactly what the decoder is given
in the Pitch carrier player.Three melody modes: Continue from hum (the above), Hum only (close the score right after the hum, so the song is exactly your melody), and Ignore hum melody (the planner writes its own tune and the adapter only shapes phrasing).
5 commits
Hum a melody for 10–30 seconds, add a style line and lyrics, and get back a produced song that keeps your tune, builds a structure around it, and carries on long after the hum stops.
This Space runs Mothersuperior/YuE2-hum-to-song
on top of m-a-p/YuE2-3B, following the
adapter's reference scripts (hum_continue.py, infer_hum.py):
[EOD] instructions+style+lyrics [ABC_START] hum score and deliberately left open
(no [ABC_END]), so the planner treats the hummed bars as the opening of a song and
keeps writing — new sections, transitions, an ending — before emitting semantic tokens
for the whole song.Linear(64 → 2048) projections add
it into the NAR hidden state at layers 0 / 7 / 14 / 21 while the rank-96 LoRA-adapted
flow-matching decoder renders the audio. You can hear exactly what the decoder is given
in the Pitch carrier player.Three melody modes: Continue from hum (the above), Hum only (close the score right after the hum, so the song is exactly your melody), and Ignore hum melody (the planner writes its own tune and the adapter only shapes phrasing).
5 commits