Thanks! I'll let you know when I've fixed that bug.
I had the same thought about about composing an actual melody then placing the letters accordingly, but didn't have time to implement it. Maybe I'll add some more puzzles later and try that approach. Will definitely be tricky on my end, but would probably make it a little easier for players.