I got often asked, if you can code music on the fly without stopping the output. The short answer ist: yes. Use use threads to sync single channels and defines to dynamically overwrite single sound-commands.
In fact, you’ll need a little code-overhead, but once you mastered this technique, live improvisation of live-coded music is possible. I made this video-screencast, that shows how to do it! Feel free to share.
3 Comments November 11, 2014
[…] Next I made a videocast explaining how to sync threads in Sonic Pi. […]
Posted on November 11th, 2014 at 16:40Could you paste the code into your example? That would help trying your tutorial.
Posted on November 15th, 2014 at 19:51Oh, I haven’t saved that code… Maybe I’ll find the time to redo it, then I will also share the code!
Posted on November 15th, 2014 at 20:28