The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.
Create music easily, and show musical scores and audio files in R Markdown documents, R Jupyter Notebooks and RStudio.
library(gm)
<-
m # initialize a Music object
Music() +
# add a 4/4 time signature
Meter(4, 4) +
# add a musical line of four quarter notes
Line(list("C5", "D5", "E5", "F5"), list(1, 1, 1, 1))
show(m, to = c("score", "audio"))
Install gm:
install.packages("gm")
Or the development version from GitHub:
::install_github("flujoo/gm") devtools
MuseScore, an open source and free notation software, is required. Get it from https://musescore.org/.
See vignette("gm", package = "gm")
for a complete guide
to gm.
or Alipay (支付宝):
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.