Ambient Datascapes - Sonification with Sonic Pi

Some sonification work done in Sonic Pi for analyzing univariate distributions of Portuguese red wine data. Creates a nice ambience; you can listen in the background while doing yoga or something…

In short it normalizes data parameters like ‘ph’ and ‘alcohol’ then maps them to pitch, amplitude, and pan, creating chord clusters. Parameter information is sent over OSC to Processing which displays the data from a folder of images.

I found Sonic Pi (and ruby) to be quite enjoyable to work with in this context because its built in structures help maintain a tonal aesthetic in the final result. I initially tried this in SuperCollider, and although more flexible/powerful, the results just didn’t sound as nice.

Hopefully this furthers the discussion on the use of Sonic Pi for data sonification, and maybe opens up some compositional doors for those who are interested.


excellent work, building off the classic data visualization work by UB40

the ph balance of a slightly different character from the prior “Neil Diamond” dataset

1 Like

I like this work. I’ve been wanting to do this for some bioinformatics data recently. Thanks very much for sharing.

Can you comment on the .pde code? It looks like its making ggplot2 graphs but I’m unfamiliar with the details.

Thanks again!

Hi Kegunder,

Thanks for your interest and the nice comments. For the processing code the implementation is really simple - just an image folder of png’s that are conditionally displayed based on a string sent via OSC. The .pde sketch is based off of @robin.newman’s video tutorial found here:

This was my first time doing any work in Processing so I’m still unfamiliar with it’s capabilities. ggplot2 seems like a great suggestion that I will have to explore.