Sorry, I was MIA on this. Yes, @siimphh - that’s exactly what I put in the article that @nlb mentioned. You may not be able to do this with the Lite version, but LiveOSC does work. What didn’t seem to work the last time I tried, was using OSC to actually arm the transport for recording and then starting it with ‘play’. So, I used a normal MIDI map. It takes some screwing around because you need to make a small loop of just the midi send from Sonic Pi in order to have Ableton pick up on it and map it to the record button. But if you do things in the right order it does work.
Let me know if you have issues and maybe I can help. It’s been a bit since I’ve done this, and since have moved to REAPER and Bitwig Studio for the same exact thing on Linux, but if you run into some issue maybe it will trigger a memory
Oh, and if you do have the full version of Ableton Live with Max For Live, another way of doing this is with the TouchOSC device and mapping any custom OSC commands you want to make with it to Ableton. I preferred to use Live OSC because it’s got a ton of commands already working and ready. But I’d check out @robin.newman’s great video.