[R] [External] Re: Playing a music file in R

Rasmus Liland jr@| @end|ng |rom po@teo@no
Fri Jul 24 02:27:52 CEST 2020


On 2020-07-23 16:25 -0700, Henrik Bengtsson wrote:
> FWIW, see also the 'midi' R package
> (https://github.com/moodymudskipper/midi).  
> It's not on CRAN.  /Henrik 

Interesting!  I tried to play the midi 
running these lines, but failed:

	> mid <- midi::midi$new(file.path(find.package("midi"), "extdata/vivaldi_spring.mid"))
	> mid$play("Violin")
	sh: /tmp/RtmpTGH8Qu/tuneRtemp.wav: Permission denied

This blogpost[1] is good for francophile 
music theorists.

/Rasmus

[1] https://www.davidsolito.com/post/midiplayer-avec-r-part-2/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20200724/05ad3883/attachment.sig>


More information about the R-help mailing list