Sonic Pi, Raspberry Pi, C-Media audio interface


To get Sonic Pi on the Raspberryt PI to use the C-Media USB audio interface:

edit sudo vi /opt/sonic-pi/app/server/sonicpi/lib/sonicpi/scsynthexternal.rb to use these lines:

sys("jackd -R -T -p 32 -d alsa -d hw:1,0 -n 3 -p 2048 -i 0 -o 0 -r 44100 -s& ")

sys("jackd -R -T -p 32 -d hw:1,0 -n 3 -p 2048 -r 44100 -s& ")

 

Forums: