Sonic Pi and Mozart’s Dice Game to produce a Waltz

I have just completed a program on Sonic Pi which plays the waltzes produced by Mozart’s dice throwing game, which chooses the bars in the waltz from the scores of a pair of dice. I first visited this in August 2013, when I worked with python and the music engraving program lilypond to produce midi-files of the waltzes, and the associated contredanses.
In this new article, the sounds are produce by Sonic Pi, but you can also copy and paste the dice scores into a text file, from which lilypond will produce a manuscript of the music.

Full details, including downloads of all the programs required, and a video of the system in operation are contained in the new article which is here

Sonic Pi at BETT

Today I gave a short talk on Sonic Pi at the BETT Show on the Raspberry Pi HUB stand. Full details of the talk together with downloadable links to all the programs I used are available from the following link.

How to build the latest version of Sonic Pi

github-logo-80px sonic-pi-web-logo

I regularly build copies of the latest version of Sonic Pi on my Mac and also on a Raspberry Pi and on another computer running Ubuntu Linux. When I first started to do this I found the whole process rather bewildering and quite tricky to get right, especially as initially there were not very good instructions on to how to do it. I thought it would be a good idea to go through this in an article in a step by step process on the Raspberry Pi, in the hope that others too would have a go at building their own cutting edge version of Raspberry Pi. New features are introduced between each version and bugs that may have appeared are corrected. Doing this means that you can access these features before they are available on general release. The new version can coexist quite happily with the official latest release. In a way the article is superflous as the Sonic-Pi site cotains an file with details of what to do. However this is fairly brief and I hope that my article pads this out and gives reassurance along the way. I hope that you find it useful.
The article can be found here

Flight of The Bumble Bee code for Sonic Pi 2 posted


Some time ago I published a video which had a Sonic Pi version of Flight of the Bumble Bee as sound track. I said at the time that the code needed tidying up a bit before I would publish it. One of the problems was that it was rather large, and I had problems getting it to run on a Mac, and it was rather taxing on the resources of the Raspberry Pi. Having discovered that is was possible to link workspaces together using the cue and sync system I have now revised the code and have a version that works on Raspberry Pi, Mac and PC, although there is one aspect which doesn’t work on the PC (current version 2.1.1), but will when the next PC version 2.3 is released. However the program can be amended to work round this as described in the instructions.

The program files, and an instructions file to get it going can be downloaded from my gist site here

The score arrangement I use was written by Bernard Dewagetere and is used with his permission. You can see it here

Here is a link to the previously posted video of the piece, produced by Sonic Pi