You can run Sonic Pi automatically from boot as per this entry
Sonic Pi for standalone installations
You can use the sonic-pi-cli to run text files remotely from a gpiopin. Via a python script. See example of of gpio control
You can run Sonic Pi automatically from boot as per this entry
Sonic Pi for standalone installations
You can use the sonic-pi-cli to run text files remotely from a gpiopin. Via a python script. See example of of gpio control