Warning: sprintf(): Too few arguments in /homepages/29/d78451536/htdocs/scarkord/wp-content/themes/edigital/template-parts/content.php on line 34
I bought a Raspberry Pi when they first came out, with plans to turn it into a MIDI arpeggiator or something similar. Like many of my ideas though, I never actually got around to doing anything about it so the Pi has sat in a drawer for the last couple of years, never once being powered on.
This evening, I’ve been dabbling with Sonic Pi, a simple audio programming language that comes pre-installed on Raspbian.
With very little effort, I managed to get a nice, random sequence generator up and running in 5 lines of code:-
play_pattern [45, 50, 60, 72, 79, 84].shuffle
Version 2.0 of Sonic Pi is currently in Beta and promises to do a lot more than simple pattern playback including sample manipulation, more synthesis models and some effects processing too. Definitely worth checking out if you already have a Raspberry Pi and maybe an excuse to get one if you don’t!