Is there a package to output midi files for sonification of data
Suzen, Mehmet <msuzen <at> gmail.com> writes:
Hi Greg, you can try tuneR : http://cran.r-project.org/web/packages/tuneR/ Best, -m
tuneR writes Wave (.WAV?) files as output; it can also write output suitable for lilypond input -- and lilypond can write MIDI output. Bottom line, I think you may have to use an external program to convert Wave to midi, or something. It wouldn't be too hard to write ABC (http://abcnotation.org) output and run it through abc2midi ... http://rpubs.com/bbolker/3237 is an example of some stuff I was playing with recently along these lines. I don't see any midi input anywhere ... library("sos"); findFn("midi") doesn't give a lot of hits ...
On 26 December 2012 22:04, Greg Hooper <gregstuarthooper <at> gmail.com> wrote:
Hi, I have been using Matlab to produce midi files for sonfication and algorithmic composition projects. I would like to transfer that work into R (in which I am a total newbie) and have been looking for a package that can read and write midi files. No success so far so does anyone know of one? I have seen that I can output to csv and then use a utility to convert csv to midi (and vice-versa). But native R would be better if possible. thanks for any help, Greg