Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/flujoo/gm
R Package for Music Creation
https://github.com/flujoo/gm
algorithmic-composition music-programming musicxml r
Last synced: 6 days ago
JSON representation
R Package for Music Creation
- Host: GitHub
- URL: https://github.com/flujoo/gm
- Owner: flujoo
- License: other
- Created: 2020-07-06T11:29:20.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-09-04T12:36:23.000Z (5 months ago)
- Last Synced: 2025-01-05T20:06:17.271Z (14 days ago)
- Topics: algorithmic-composition, music-programming, musicxml, r
- Language: R
- Homepage: https://flujoo.github.io/gm/
- Size: 8.93 MB
- Stars: 207
- Watchers: 4
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.Rmd
- Changelog: NEWS.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
- jimsghstars - flujoo/gm - R Package for Music Creation (R)
README
---
output: github_document
---```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
out.width = "100%"
)# Cannot add audio files in GitHub README, so let pkgdown use `index.md`
# rather than `README.md` to generate the home page. The two differences:
#
#
#
#
#
# See `vignette("gm")` for a complete guide to gm.
```# gm
Create music with R.
## Example
```r
library(gm)music <-
Music() +
Meter(4, 4) +
Line(c("C5", "D5", "E5", "F5"))
show(music)
```![](man/figures/readme.png)
![](man/figures/readme_audio.png)
## Installation
Install gm:
``` r
install.packages("gm")# Or install the development version from GitHub
pak::pak("flujoo/gm")
```Install [MuseScore](https://musescore.org/). MuseScore is open source and free notation software.
## More
See [`vignette("gm")`](https://flujoo.github.io/gm/articles/gm.html) for a complete guide to gm.