How can i record bluetooth audio in linux? - eviltoast

Hi all,

I have a USB C headset.

I am setting it up, so it’s plugged into my Linux box, so it can listen to music, and make calls, etc from my phone, via bluetooth.

Then I don’t have to keep unplugging my headset and plugging it into my phone.

Also so I can record directly to the Linux machine, that is broadcast from my phone.

But, how can I intercept the Bluetooth audio, and record it?

Thank you.

    • tal@lemmy.today
      link
      fedilink
      English
      arrow-up
      1
      arrow-down
      1
      ·
      3 months ago

      I don’t know off-the-cuff, but I’m pretty sure that most people in 2024 have PulseAudio in their audio stack. They might be using software that has a different interface that’s being routed into PulseAudio. I have apps using PipeWire, PulseAudio, and ALSA APIs, but it’s passing through PulseAudio.

      I actually do occasionally use JACK, which is the main present-day alternative, but not for general system playback. And if you’re the kind of person who is running JACK because you want to absolutely minimize latency in your audio stack for real-time stuff, I’d give reasonable odds that you aren’t putting Bluetooth headphones in that stack, either.

      Other sound servers that I can think of – YIFF, esd, stuff like that – are all ancient.