Translate melodies


Format of input:

<note> := <note_in_octave><octave> <duration> | <pause> <duration>

<note_in_octave> := c | c# | d | d# | e | f | f# | g | g# | a | a# | h

<pause> := _

<octave> := V | M | 1 | 2 | 3

<duration> := 1 | 2 | 4 | 8 | 16


Enter your notes here (separate by new lines, commas, or semicolons):