Hi all,

I'm currently using my raspberry PI 4 with the octo soundcard for a creative performance project that involves the use of several ultrasonic transducers. (both speakers and mics)
I'm using Supercollider (and specifically the scsynth server), to process and receive/playback the signal in real-time at 96 kHz (the application deal with these tasks, no other parties involved).
Finally, I use jackd to route the audio buses of supercollider to the physical output of the octo.
Every time I try to make it work, I notice channel swapping both on input and output side (RCA).
The supercollider bus order is the same every time.
 I've read several topics on this problem, but it looks like this is something different.
As far as I understand, Supercollider audio server works in a synchronous way.
May you help me to find a cue to address this problem?


Here's some additional info.

I'm currently using this line in my /boot/config.txt file:

dtoverlay=audioinjector-addons,non-stop-clocks=true

This is my .asoundrc file:

pcm.!default {
#       type hw
#       card 0
        type plug
        slave.pcm "anyChannelCount"
}

ctl.!default {
        type hw
        card 0
}

pcm.anyChannelCount {
    type route
    slave.pcm "hw:0"
    slave.channels 8;
    ttable {
           0.0 1
           1.1 1
           2.2 1
           3.3 1
           4.4 1
           5.5 1
           6.6 1
           7.7 1
    }
}

ctl.anyChannelCount {
    type hw;
    card 0;
}


Thanks for the availability,

Alberto Rizzo