Re: [R] Is there a package to output midi files for sonification of data

2012-12-27 Thread Suzen, Mehmet
On 27 December 2012 21:23, Ben Bolker wrote: > On 12-12-27 03:04 PM, Greg Hooper wrote: > it more closely into R I would take the C code and figure out how I > could integrate it into an R package as compiled code with a thin R > wrapper around it. Since the code "license" is "public domain", you

Re: [R] Is there a package to output midi files for sonification of data

2012-12-27 Thread Greg Hooper
thanks Ben - that sounds a lot more efficient On 28 December 2012 06:23, Ben Bolker wrote: > On 12-12-27 03:04 PM, Greg Hooper wrote: > > thanks again Mehmet - the midicsv utility is in C (of which I am > > ignorant). I will have a look at that to see if I can write a native R > > version. It on

Re: [R] Is there a package to output midi files for sonification of data

2012-12-27 Thread Ben Bolker
On 12-12-27 03:04 PM, Greg Hooper wrote: > thanks again Mehmet - the midicsv utility is in C (of which I am > ignorant). I will have a look at that to see if I can write a native R > version. It only has to do midi_in and midi_out, the rest can be left up > to R. That will take me ages, but I can j

Re: [R] Is there a package to output midi files for sonification of data

2012-12-27 Thread Greg Hooper
thanks again Mehmet - the midicsv utility is in C (of which I am ignorant). I will have a look at that to see if I can write a native R version. It only has to do midi_in and midi_out, the rest can be left up to R. That will take me ages, but I can just use the utility externally for the moment Gr

Re: [R] Is there a package to output midi files for sonification of data

2012-12-27 Thread Suzen, Mehmet
On 27 December 2012 08:46, Greg Hooper wrote: > thanks Ben - hmm I think I will use a midi/csv utility > http://www.fourmilab.ch/webtools/midicsv/ and see how that goes. Another Hi Greg, Yes you are right, It is for wav analysis but as Ben suggests. Conversion should not be difficult. Also I thin

Re: [R] Is there a package to output midi files for sonification of data

2012-12-27 Thread Suzen, Mehmet
On 27 December 2012 08:46, Greg Hooper wrote: > thanks Ben - hmm I think I will use a midi/csv utility > http://www.fourmilab.ch/webtools/midicsv/ and see how that goes. Another Hi Greg, Yes you are right, It is for wav analysis but as Ben suggests. Conversion should not be difficult. Also I thin

Re: [R] Is there a package to output midi files for sonification of data

2012-12-26 Thread Greg Hooper
thanks Ben - hmm I think I will use a midi/csv utility http://www.fourmilab.ch/webtools/midicsv/ and see how that goes. Another option is http://playitbyr.org/index.html and output to Csound and from there to midi. PlayitbyR and into Csound might be something that suits your work, Csound being enor

Re: [R] Is there a package to output midi files for sonification of data

2012-12-26 Thread Greg Hooper
thanks Mehmet - but I can't see how to read or write midifiles from the tuneR docs. Looks primarily for wav file analysis. Am I missing something? Greg On 27 December 2012 09:49, Suzen, Mehmet wrote: > Hi Greg, > > you can try tuneR : > http://cran.r-project.org/web/packages/tuneR/ > > Best, >

Re: [R] Is there a package to output midi files for sonification of data

2012-12-26 Thread Ben Bolker
Suzen, Mehmet 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 th

Re: [R] Is there a package to output midi files for sonification of data

2012-12-26 Thread Suzen, Mehmet
Hi Greg, you can try tuneR : http://cran.r-project.org/web/packages/tuneR/ Best, -m On 26 December 2012 22:04, Greg Hooper 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

[R] Is there a package to output midi files for sonification of data

2012-12-26 Thread Greg Hooper
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 h