Strawberry doesn't find my virtual soundcard via alsa
-
Hi, I have a speaker setting in my room that makes it necessary to swap left-and-right stereo channels in Alsa für Strawberry.
So what I did was to write this into the .asoundrc in my home directory:
pcm.swapped_dac { type route hint.description "Musical Fidelity V90 (L/R vertauscht)" slave.pcm "hw:M2496,0" ttable.0.0 0 ttable.1.1 0 ttable.0.1 1 ttable.1.0 1 }
But Strawberry doesn't find my virtual soundcard named swapped_dac. Also not by the Name "Musical Fidelity V90 (L/R vertauscht)".
Any chance I can use Strawberry with that virtual sound card? Both the deadbeef-player as well as audacity are able to play back with hat device...
-
@desputin
Is it pulseaudio or alsa you use for output?
Does it show up if you do:
aplay -l
aplay -LYou should be able to manually type the device string in the device text field.
-
Hi Jonas, thanks for the reply.
- I'm using alsa, becaus I want the best possible quality
- aplay -L shows the virtual device:
"swapped_dac
Musical Fidelity V90 (L/R vertauscht)"aplay -l doesn't seem to show it.
I already tried to put swapped_dac int the "custom" field in Straberry settings unser PCM and HW. It played back, but the channels were not switched. -
Hi Jonas, any new ideas about that? In my debian forum someone wrote that pipewire passes music in original quality on to ALSA. I might try that instead of pulseaudio....
-
Hm Pipewire doesn't seem to be supported in Strawberry, correct?
-
Ok now it seems to be working with pipewire and qpwgraph for changing channels. Needs to activate "auto pin" though and put qpwgraph into the autostart programs. Also needs to set Strawberry to Pulse and then choose the audio card.
But this is buggy because qpwgraph keeps forgetting settings. Hm, not a very good solution.
-
@jonas Hm, but why doesn't strawberry use the custom audio device when I choose "custom" and then paste swapped_dac into the text field? Why does strawberry play back anything at all, if I do that. That seems to be strange. But as I said, when I do the custom thing, the playback channels are not switched.
-
Found a solution!
https://debianforum.de/forum/viewtopic.php?p=1358882#p1358665
-
Install all Pipewire packages
-
Create this file:
~/.config/pipewire/pipewire.conf.d/swapped_channels.conf -
and paste this:
context.modules = [ { name = libpipewire-module-loopback args = { audio.position = [ FL FR ] capture.props = { media.class = Audio/Sink node.name = swapped_channels node.description = "Switched Channels" } playback.props = { node.name = swapped_channels node.description = "my-sink" audio.position = [ FR FL ] node.target = "Switched Channels" } } } ]
- Then Choose pulseaudio in strawberry in and Choose this device: Switched Channels
-