!EAGpsNNWRMltlOrGdy:nixos.org

NixOS Audio

163 Members
42 Servers

Load older messages


SenderMessageTime
8 Nov 2025
@null:nullspace.lolnullI'm no guru, but happy to take a look at your config and see if I have any insights16:14:56
@backtail:matrix.orgbacktailsolved it already, had to switch the device to Pro Audio in pipewire because it didn't happen by default16:23:59
@backtail:matrix.orgbacktailI would be interested on how to setup in my config though16:24:15
@jon:nixos-1.jschmidt.cajon
In reply to @backtail:matrix.org
solved it already, had to switch the device to Pro Audio in pipewire because it didn't happen by default
Can you post the code that made this change?
17:19:40
@backtail:matrix.orgbacktail No code necessary. In pwvucontrol, i had to just enable it manually. 17:20:53
@backtail:matrix.orgbacktailbasically choose Pro Audio for my TR-817:21:32
@jon:nixos-1.jschmidt.cajonThanks, I'll have a look17:22:21
@backtail:matrix.orgbacktailHowever, you have to set it manually every time you reconnect the TR-8, which is quite annoying. So I'm trying to figure out to always set this particular device to Pro Audio by default.17:28:10
@jon:nixos-1.jschmidt.cajonIt would be nice if it was declarative17:35:45
@bandithedoge:matrix.org@bandithedoge:matrix.orgyou can make this permanent in wireplumber17:36:51
@bandithedoge:matrix.org@bandithedoge:matrix.orghere's how i do it: https://codeberg.org/bandithedoge/dotfiles/src/branch/main/hosts/machine/default.nix#L206-L22017:37:00
@backtail:matrix.orgbacktailOh wow, thanks! :D18:17:01
@null:nullspace.lolnullNot setting things manually is the whole reason to nix18:32:37
@backtail:matrix.orgbacktailIt actually ended up not working. It still doesn't get automatically set to Pro Audio19:39:02
@bandithedoge:matrix.org@bandithedoge:matrix.orgare you sure you set the right matching rule for your device?19:48:43
@backtail:matrix.orgbacktailAh, I thought this applies to all USB audio devices that might have a pro audio config20:14:45
@backtail:matrix.orgbacktailYeah, gotta look into that then20:14:56
9 Nov 2025
@backtail:matrix.orgbacktail

hm, form some reason I am completely unable to get this working. My wireplumber config is so simple, basically cannot fail, right?

wireplumber.extraConfig = {
      "52-roland-tr8-pro-audio"."monitor.alsa.rules" = [
        {
          matches = [
            { "device.name" = "*TR-8*"; }
          ];
          actions.update-props = {
            "device.profile" = "pro-audio";
          };
        }
      ];
    };
21:30:33
@backtail:matrix.orgbacktailwireplumber is also explicity enabled21:31:08
@bandithedoge:matrix.org@bandithedoge:matrix.org try "~*TR-8*" 21:34:07
@bandithedoge:matrix.org@bandithedoge:matrix.org ~ means regex 21:34:22
@bandithedoge:matrix.org@bandithedoge:matrix.org or better yet, match the entire device.name if possible 21:34:32
@backtail:matrix.orgbacktailpw-cli tells me that the device name is: device.name = "alsa_card.usb-Roland_TR-8-01"21:35:29
@backtail:matrix.orgbacktailaaaag21:35:36
@backtail:matrix.orgbacktailah*21:35:40
@backtail:matrix.orgbacktailthat makes so much sense21:35:51
@bandithedoge:matrix.org@bandithedoge:matrix.org wait, device.name? 21:36:07
@bandithedoge:matrix.org@bandithedoge:matrix.org oh you meant node.name 21:36:25
@bandithedoge:matrix.org@bandithedoge:matrix.orgbut yeah it's probably better to match the entire string instead of regex21:36:48
@backtail:matrix.orgbacktail At the end of that device.name is the trailing "-01", so I guess I should probably use regex because that might change if add more stuff 21:37:42

Show newer messages


Back to Room ListRoom Version: 10