Thu, 26 Sep 2024 15:22:10 +0900 Masaru Nomiya <nomiya@lake.dti.ne.jp> :
If you use pipewire for recording, I think it's better to use this pipewire, don't you?
Normally I would prefer using whatever is in the TW repos as it gets updated with "zypper dup"
https://download.opensuse.org/repositories/home:/X0F:/branches:/multimedia/o... ... If you install lv2-gxplugins-0.9-2.54.x86_64.rpm, you may be happy using the GX-100.
There is no such file there, I don't know what that plugin would give me, and I don't like doing things I don't know the result or effect of. Presuming that it has to do with the gx-100 effects-board, what will it give me? All I need is for the board to be plugged into the sound card 1/4" Line-In jack, which it almost always is.
MN> > If it is, there shouldn't be a problem, right?
BTF> Right, but there is: I cannot hear it unless I launch Audacity and BTF> start recording. There was a Leap version that needed no other BTF> intervention, but I stopped using Leap when its future became BTF> uncertain. IT was doing it the way it should be done and I think it BTF> was the only distro to do so.
This means that pipewire does not recognize the microphone, and the microphone is recognized via pulseaudio, which is called when Audacity is started.
The sound card has "Line-In", no "Mic" port https://www.ocinside.de/media/uploads/asus_xonar_essence_stx_ii_9.jpg For some reason the PAVUCONTROL shows both Line-In and Mic input sources. It doesn't matter which one I select. With the Gx-100 "PHONES" output.. https://www.nantelmusique.ca/wp-content/uploads/2022/04/BOS-GX100-back.jpg.w... ..plugged into the soundcard Line-In port I get sound if either PAVUCONTROL-Line-In or PAVUCONTROL-Mix is selected as input IF I start recording with Audacity. I should hear the guitar with no particular app running.
How about this?
1. $ mkdir ~/.config/wireplumber $ mkdir ~/.config/wireplumber/scripts $ mkdir ~/.config/wireplumber/scripts/monitors
2. $ cp /usr/share/wireplumber/scripts/monitors/alsa.lua ~/.config/wireplumber/scripts/monitors
3. edit ~/.config/wireplumber/scripts/monitors/alsa.lua
Done
--- alsa.lua.orig 2024-09-26 15:16:03.144780625 +0900 +++ alsa.lua 2024-09-26 15:17:05.531345910 +0900 @@ -23,6 +23,7 @@
function applyDefaultDeviceProperties (properties) properties["api.alsa.use-acp"] = true + properties["api.alsa.use-ucm"] = true properties["api.acp.auto-port"] = false properties["api.dbus.ReserveDevice1.Priority"] = -20 end
Appended to the script just before these last 2 lines -- create the monitor monitor = createMonitor()
4. $ systemctl --user daemon-reload $ systemctl --user restart pipewire pipewire-pulse wireplumber
Done, I did hear a click in the headphones when one of those executed, but otherwise no change. I rebooted, the guitar was still plugged in but I could not hear it in the headphones until I started recording with Audacity. As I said earlier there was a version of Leap which facilitated this and that was before pipewire so pipewire was not the actiuve agent in that scenario.