Sonic Pi on Chromebooks

I didn’t get round to it due to there being a lack of interest.

However, knowing there are others who wish for it, I may work on it when I can.

Also, as an update, I upgraded Debian version of the Beta Linux container and found that there is a much more recent version in the repos! It does seem to follow the same pattern of behaviour.

1 Like

OK PEOPLE ! I was defeated for the fall but I am back to give it another try --maybe for quarter 4!! I just want to say thank you everyone who has contributed ( :eyes: @ sonic_giga_pi).

I will try out that suggested route above and will let you know how it goes this weekend perhaps!!

Something I forgot to mention. The jackd command may fail a couple of times. From my experience, just running it over and over again seems to get it to work. May look more into it.

Again, not perfect, but it’s better than nothing, and, so far, seems to be the only solution.

I imagine the problem is to do with how crostini handles audio.

Ok, The best method I’ve got is this:

  1. Go to chrome://flags

  2. search for “Debian version for new Crostini containers”, and select “bullseye”

  3. Go to the settings on your chromebook then to developer options

  4. Once there, install the Linux Developer Environment

  5. Once installed, a terminal window will open. sudo apt update && sudo apt upgrade

  6. Next, type: sudo apt install jackd

  7. Once that’s done, use this command: wget http://ftp.uk.debian.org/debian/pool/main/s/sonic-pi/sonic-pi_3.2.2~repack-7_amd64.deb

  8. Then type: ./sonic-pi_3.2.2~repack-7_amd64.deb

  9. Once installed, run this command: jackd -r -d alsa -r 44100 -P It may fail with “hw:0 in use” My experience has found that after several runs of the command, it’ll eventually start.

  10. open a new tab in terminal and type: sonic-pi, and it should come up

This is certainly better than before, where an older version of sonic pi was used. I will look into compiling the latest version and seeing if I can get that to work.

Once I have time, I’ll work on creating a script that makes this process more streamlined.

2 Likes

From my Chromebook I have been successful using Chrome Remote Desktop to access Sonic Pi running on my Win10 laptop. Passes the audio through just fine and running on my home network inside my WiFi router domain, there is really no latency

Ya Mon !
I have S.P. running fine on a RPi ( Bullseye) .
I have a second RPi with ChromeOS .
The ChromeOS is much smoother for normal websurfing .
I may have an experiment : )

1 Like

For some people, it may work that way.

However, from an education stand point, I wouldn’t think that’s a viable solution

Hey you might be able to run it online on a google cloud shell, Its basically a computer on the internet you can rent. How to deploy an application to Cloud Run with Cloud Shell Editor - YouTube