Sonic Pi & Octo Sound Card

Moderator: flatmax

Post Reply
sonicpi
Posts: 1
Joined: Mon Jul 31, 2017 2:32 am

Sonic Pi & Octo Sound Card

Post by sonicpi » Mon Jul 31, 2017 2:53 am

Hi there,

the newest version of Sonic Pi (3.0.0) supports multichannel audio. You have to upgrade the RPi to "stretch" to run it. I did that. I also did the "easy automatic setup" described here: viewtopic.php?f=9&t=1222

Octo sound is runnig, i tried this with sox and an 8 channel text wav file.

Problem is how to route the sound from Sonic Pi into the octo... You have to change one line of code in the ruby source of Sonic Pi here:
https://github.com/samaaron/sonic-pi/bl ... al.rb#L359
( "-o" "8" instead of "-o" "2")...

Sam Aaron said, you should do the routing with jack. So i openend qjackctl. In the connect window, there are 8 outputs from sonic pi as expected. But there are no sound card inputs, just "playback 1" and "playback 2".

I gues this is the problem. What can i do to see the 8 soundcard channels in the connect window?

Thanks in advance

sonicpi

flatmax
Posts: 609
Joined: Sat Jul 23, 2016 11:39 pm

Re: Sonic Pi & Octo Sound Card

Post by flatmax » Tue Aug 01, 2017 9:08 am

OK - I did a test on a fresh install, using the new installation instructions, which disable lxpanel's volume plugin and remove pulseaudio. They also setup a .asoundrc file.

As a test, I then start jackd like so :
jackd -dalsa

I look at the available ports (either in qjackctl or like this) :

Code: Select all

pi@raspberrypi:~ $ jack_lsp
system:capture_1
system:capture_2
system:capture_3
system:capture_4
system:capture_5
system:capture_6
system:capture_7
system:capture_8
system:playback_1
system:playback_2
system:playback_3
system:playback_4
system:playback_5
system:playback_6
system:playback_7
system:playback_8
OK - all looks good.
I shutdown jackd, startup speaker-test for a quick test and all good :

Code: Select all

speaker-test
I start sonic pi - but it hangs ? Is there a special way to start sonic-pi ?
Check out our audiophile quality crossovers : https://bit.ly/2kb1nzZ
Please review the Zero sound card on Amazon USA : https://www.amazon.com/dp/B075V1VNDD
---
Check out our new forum on github : https://github.com/Audio-Injector

flatmax
Posts: 609
Joined: Sat Jul 23, 2016 11:39 pm

Re: Sonic Pi & Octo Sound Card

Post by flatmax » Tue Aug 01, 2017 9:20 am

I downloaded the deb file from the sonic pi webpage :

Code: Select all

wget http://sonic-pi.net/files/releases/v3.0.0/sonic-pi_1_3.0.0-armhf.deb
Before I install, I make sure my system is up to date :

Code: Select all

sudo apt update
sudo apt upgrade
The installer complains about missing dependencies, so I fix it like so :

Code: Select all

sudo apt -f install
I install sonic pi again :

Code: Select all

sudo dpkg -i sonic-pi_1_3.0.0-armhf.deb 
It still complains because it is missing required packages - which aren't in the raspbian release (jessie).

I fallback and try to install 1:2.11 ... but when I install that, and try to start it, it hangs.
Not sure where to go from here with sonic-pi.

Matt
Check out our audiophile quality crossovers : https://bit.ly/2kb1nzZ
Please review the Zero sound card on Amazon USA : https://www.amazon.com/dp/B075V1VNDD
---
Check out our new forum on github : https://github.com/Audio-Injector

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests