adjusted the sample code for Sonic-Pi compatability