[solved] init.rb file not working on Windows or Raspberry Pi (Sonic Pi 4.4.0)

I’ve been trying to get Sonic Pi to play a simple sample :loop_amen_full or play 60 upon opening. I’ve tried putting the code in the init.rb file on both Windows and Raspberry Pi and neither seems to work at all.

On Windows, the location is:

C:/Program Files/Sonic P/iapp/config/user-examples/init.rb

On Raspberry Pi:


Any idea what might be wrong?

Answer: I was editing the wrong file! The real locations are:



Raspberry Pi: