Does strudel support multi channels output on Linux?

Hello folks,

I am trying to play multiple patterns independently with the channels function, e.g. using "3:4" and "5:6" to separate the audio, but I can't get it to work on Linux.

I tried creating a fake sink with pactl load-module module-null-sink media.class=Audio/Sink sink_name=strudel-output channels=8 assigned with pavucontrol, it looks like this:

Unfortunately, neither firefox nor chrome seems to be able to use the outputs greater than 2. Does anyone got the channels function to work on Linux? For example, this is actually playing in mono on my system:

$: s("bd").channels("3:4")
$: s("sd").channels("5:6")

I'm testing on this branch:

https://github.com/lytex/strudel

the device discovery has to be run on localhost, otherwise you get permission denied, i.e. you have to run strudel locally, see the instructions

If you run sudo modprobe snd-aloop then you get a loopback audio that hopefully has more channels, but maybe a proper audio interface is needed, then you can select it with strudel

No luck so far, I'm always getting 48000 and 2 channels in the console

1 Like

Hello,
Any news on this this? I am struggling to get multichannel output working on Linux.

Apparently this is not possible, at least on Firefox/Linux. Perhaps strudel can do multi channel on other system? Would be good to know:)

Thank you Tristan.

It works apparently properly on Mac using Blackhole (which creates a virtual interface). On Linux, it does not work on Chrome, and I could only get 2 separate channels on Firefox.

I am trying the OSC method which seems working ok with the generic samples (bs sd etc…) but not the custom ones for which I observe strange behaviors (samples played faster, more harshness in the sound, different chopping…).

1 Like

If you use the StrudelDirt fork of SuperDirt, it works better with strudel

GitHub - daslyfe/StrudelDirt: Super dirt fork intended to have feature parity/ response with the strudel webaudio engine

2 Likes

Thank you. It works much better with some drumloops but remains imperfect. As an example, this becomes this :frowning: .

Edit: the different mainly comes from a different implementation of the filter. Resonance values must be much lower in the StrudelDirt fork. I can finally get multichannel out from Strudel in Linux :-).

Just had a go at getting multichannel from strudel/superdough under linux… No luck. It seems a general lack in linux support for both chrome and firefox - I tried some simple multichannel javascript and that didn’t work either.