Description
Create Music with Ease.
Description
Provides a simple and intuitive high-level language for music representation. Generates and embeds music scores and audio files in 'RStudio', 'R Markdown' documents, and R 'Jupyter Notebooks'. Internally, uses 'MusicXML' <https://github.com/w3c/musicxml> to represent music, and 'MuseScore' <https://musescore.org/> to convert 'MusicXML'.
README.md
gm
Create music with R.
Example
library(gm)
music <-
Music() +
Meter(4, 4) +
Line(c("C5", "D5", "E5", "F5"))
show(music)
Installation
Install gm:
install.packages("gm")
# Or install the development version from GitHub
pak::pak("flujoo/gm")
Install MuseScore. MuseScore is open source and free notation software.
More
See vignette("gm")
for a complete guide to gm.