powered by
Convert an object of class 'measure' into the corresponding MusicXML chunk
# S3 method for measure toMXL(x)
A MusicXML string.
measure to be converted.
notes=list(note(p=pitch('Db5'),d=duration(2)),note(p=pitch('B5'),d=duration(2))) m <- measure(number=1,notes=notes) toMXL(m)
Run the code above in your browser using DataLab