This video illustrates the excellent work done recently by Luis Lloret and Sam Aaron to bring Ableton Live link technology to the development version of Sonic Pi. It is planned that this exciting development will be further refined and included in the next release version.
In this video I use copies of the latest development built on my Mac and also on a Raspberry Pi 4 (from the github link branch), and use Ableton Live 10 to control them while they play the Bach example program included with Sonic Pi. This is modified by adding two lines to the Mac version
sync "/link/start" and
use_bpm :link the second line replacing the
The Raspberry Pi version has the same two lines added, plus a third one
set_audio_latency! -200 to the Raspberry Pi one, this last line adjusting for the longer latency in the Raspberry Pi so that its audio plays in sync with that of the Mac.
On Ableton I used an empty midi track, but recorded on the master track a varying tempo line, that started at 60bpm and rose linearly after 2 bars up to 120bpm at 12 bars then decayed again in two ramps back down to 60bpm. You can hear the smooth transitions of tempo as the two Sonic Pi instances play together.