The goal of midiblender
is to mangle midi files in R and listen to what happens.
This is an experimental, use at your own frustration package. I’m writing this for my own use cases, and using the R package format because it helps me to clarify and track the goals I’m chasing down. This is an R package, but perhaps should not be confused with one.
I’m sharing this for fun and in case others find it useful.
Installation
You can install the midiblender like so:
## install remotes package if it's not already
if (!requireNamespace("remotes", quietly = TRUE)) {
install.packages("remotes")
}
## install dev version of rtweettree from github
remotes::install_github("CrumpLab/midiblender")
Aspects of this package rely on pyramidi, which is also in an experimental lifecycle. That package wraps some python libraries (miditapyr and mido) that handle midi import and export. See the pyramidi documentation for more information about what is necessary to install before this will work.
To Do
- a conceptual getting started document
- Using vignettes to conduct various tests and concepts for midi blending
- [] Fill out example code in the function documentation
- Slowly adding more examples
The primary style of development here is me trying things out for fun and listening to them…with a side eye toward posterity in case the mangling pattern seems like a tool I’d want to use again.
Thanks to
Thanks to the R community for building such wonderful tools. Special thanks to Urs Wilke for pyramidi, that helped me get up to speed very quickly.