gm: Generate Music Easily and Show Them Anywhere

Provides a simple and intuitive high-level language, with which you can create music easily. Takes care of all the dirty technical details in converting your music to musical scores and audio files. Works in 'R Markdown' documents <>, R 'Jupyter Notebooks' <>, and 'RStudio' <>, so you can embed generated music anywhere. Internally, uses 'MusicXML' <> to represent musical scores, and 'MuseScore' <> to convert 'MusicXML'.

Version: 1.0.2
Imports: base64enc, glue, htmltools, knitr, magick, magrittr, MASS, rlang, rstudioapi, stringr, utils
Suggests: rmarkdown, testthat
Published: 2021-04-17
DOI: 10.32614/
Author: Renfei Mao
Maintainer: Renfei Mao <renfeimao at>
License: MIT + file LICENSE
NeedsCompilation: no
SystemRequirements: MuseScore -
Materials: README NEWS
CRAN checks: gm results


Reference manual: gm.pdf
Vignettes: 用 R 写音乐
Complete Guide to gm


Package source: gm_1.0.2.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): gm_1.0.2.tgz, r-oldrel (arm64): gm_1.0.2.tgz, r-release (x86_64): gm_1.0.2.tgz, r-oldrel (x86_64): gm_1.0.2.tgz
Old sources: gm archive

Reverse dependencies:

Reverse suggests: voice


Please use the canonical form to link to this page.