• Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Strawberry doesn't find my virtual soundcard via alsa

    Scheduled Pinned Locked Moved
    Technical Help
    alsa dac linux
    2
    8
    571
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      desputin
      last edited by desputin

      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...

      jonasJ 1 Reply Last reply Reply Quote 0
      • jonasJ
        jonas @desputin
        last edited by jonas

        @desputin
        Is it pulseaudio or alsa you use for output?
        Does it show up if you do:
        aplay -l
        aplay -L

        You should be able to manually type the device string in the device text field.

        D 1 Reply Last reply Reply Quote 1
        • D
          desputin
          last edited by

          Hi Jonas, thanks for the reply.

          1. I'm using alsa, becaus I want the best possible quality
          2. 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.

          1 Reply Last reply Reply Quote 0
          • D
            desputin
            last edited by

            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....

            1 Reply Last reply Reply Quote 0
            • D
              desputin
              last edited by

              Hm Pipewire doesn't seem to be supported in Strawberry, correct?

              1 Reply Last reply Reply Quote 0
              • D
                desputin
                last edited by desputin

                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.

                1 Reply Last reply Reply Quote 0
                • D
                  desputin @jonas
                  last edited by

                  @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.

                  1 Reply Last reply Reply Quote 0
                  • D
                    desputin
                    last edited by desputin

                    Found a solution!

                    https://debianforum.de/forum/viewtopic.php?p=1358882#p1358665

                    1. Install all Pipewire packages

                    2. Create this file:
                      ~/.config/pipewire/pipewire.conf.d/swapped_channels.conf

                    3. 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"
                    			}
                    		}
                    	}
                    ]
                    
                    1. Then Choose pulseaudio in strawberry in and Choose this device: Switched Channels
                    1 Reply Last reply Reply Quote 0
                    • First post
                      Last post
                    Powered by NodeBB | Contributors