This is just an idea, though not at all what you asked for, but why don't you do something similar to the composer on the cellphone where you write musical "codes" like 'c' for c, 'cc' for high c, c# for c sharp, c2 for c one octave up, c3 for c 2 octaves up, and have 1c, 2c, 4c, 8c, 16c, 32c for note lengths and have _ or something for a rest. Then they write it in notepad or whatever and you read it with your program and convert it to music. So they would have something like:
tempo: 150
8e1 8d1 8c1 8d1 8e1 8e1 4e1 8d1 8d1 4d1 8e1 8e1 8e1 8_ 8e1 8d1 8c1 8d1 8e1 8e1 8e1 8c1 8d1 8d1 8e1 8d1 1c1
and that's
mary had a little lamb. I think. Anyway, it's just an idea, not what you asked for but hope you find it useful...
[ERROR 16: unable to retrieve user signature]