[This article was first published on Statisfactions: The Sounds of Data and Whimsy » R, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.
Here’s the numbers of yearly sunspots, 1700-1988, brought to you by the nimble marimba of R:
See ?sunspot.year
in R for more information about the data. I did this last spring and just discovered it again. I’ve been so caught up in the current sound world of playitbyr
(see this post for an example) that I forgot how good standard MIDI instruments can sound for this kind of thing. I find this much easier to listen to than a lot of what I’ve come out with more recently.
The code is a total hack right now; if you have a Unix-like computer with MIDICSV and Timidity installed it should work, but for everyone else it might be a pain. Hopefully playitbyr
will include this functionality soon.
To leave a comment for the author, please follow the link and comment on their blog: Statisfactions: The Sounds of Data and Whimsy » R.
R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.