Sensual marimba sunspots

February 25, 2012
By

(This article was first published on Statisfactions: The Sounds of Data and Whimsy » R, and kindly contributed to R-bloggers)

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 his blog: Statisfactions: The Sounds of Data and Whimsy » R.

R-bloggers.com offers daily e-mail updates about R news and tutorials on topics such as: visualization (ggplot2, Boxplots, maps, animation), programming (RStudio, Sweave, LaTeX, SQL, Eclipse, git, hadoop, Web Scraping) statistics (regression, PCA, time series, trading) and more...



If you got this far, why not subscribe for updates from the site? Choose your flavor: e-mail, twitter, RSS, or facebook...

Comments are closed.