Coding Your School Play - In Scratch 2 and Sonic Pi

Scratch is a great introduction to computing. It uses a simple interface based on attaching blocks together to form a sequence.
Scratch can be used on all manner of projects, from simple games all the way to interfacing with hardware components such as Raspberry Pi and Arduino
One project that I have always wanted to use Scratch for is to control the music and sound effects for a school play. The children create the Scratch project to control the playback of the audio.

Here is my first attempt at a simple interface.

alt

Now this got me thinking, the children could also code their own music using Sonic Pi
By combining these two aspects into a larger project, children would have a practical application for cross curricular work.