Audacity (cant record desktop audio, stuck on alsa)
submitted by
edited


I know this is application specific, but this relates to my overrall nix config i think, pipewire, wireplumber, all enabled. But I cannot record internal desktop audio, how do i fix this? is it a nix fix
I set the recording device to pipewire, I heard the host device needed to be set to pipewire or smthin, but only alsa shows up. If any logs are needed tell me.
EDIT:
Not really solved but I found a script that worked for pw-record, now ideally I would like to fix it for audacity at some point, or just some other gui audio recorder
cat > ~/Music/record-desktop.sh << 'EOF'
#!/bin/bash
OUTPUT="${1:-$HOME/Music/Recordings/recording-$(date +%Y%m%d-%H%M%S).wav}"
pw-record --target 0 "$OUTPUT" &
PID=$!
sleep 0.5
pw-link bluez_output.30:50:75:16:40:A6:monitor_FL pw-record:input_FL
pw-link bluez_output.30:50:75:16:40:A6:monitor_FR pw-record:input_FR
echo "Recording to $OUTPUT (PID $PID) — press Enter to stop"
read
kill $PID
echo "Done! Saved to $OUTPUT"
EOF
chmod +x ~/Music/record-desktop.sh
doesn’t either of the loopback devices provide desktop audio?
I tried the loopback devices, didnt work, at most i made a script that worked, but i want it to work for audacity:
I think you need to install pipewire-pulse and pipewire-alsa. Make sure you have the pipewire.service and pipewire-pulse.service services enabled and started. What app are you using to make the app connections?
I am not using any app like qpwgraph to make connections, all i know is that this script works:
as for everything else:
pw-record
I managed to fix it for pw-record, I dont know how to get it working for audacity:
Have you tried changing the connections in this script to use the audacity inputs instead of pw-record?
Also I thought audacity was out, tenacity is in.
Also it looks like wireplumber has some options that my be relevant like node.features.audio.monitor-ports listed here:
https://pipewire.pages.freedesktop.org/wireplumber/daemon/configuration/settings.html
Is this a question?
The question mark usually denotes a question, yes.
Ah yeah. You’re right. There ist this one question mark in between thats i oversaw at first.
Either way, i wanted to hint to you thats maybe your post doesn’t get perceived as a question much…