writeMXL | R Documentation |
Write a score to a musicXML-formatted file
writeMXL(s, file, ...)
s |
Score, score object to be written |
file |
Character, destination file |
... |
additional arguments passed to method xml2::write_xml |
No return value, called for side effects.
m <- getMeasures(notes=getNotes(pitches=pitchMapping(x=rnorm(100))))
s <- score(m)
tfile= file.path(tempdir(),'myMusicXML.xml')
writeMXL(s,tfile)
file.remove(tfile)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.