[LAD] Headless mix line in + Bluetooth

Jeanette C. julien at mail.upb.de
Sat Mar 27 07:15:36 CET 2021


Hi LuKaRo!
Mar 27 2021, LuKaRo has written:
...
> I thought of using regular Bluetooth headphones with an integrated
> microphone, and a Raspberry Pi that gets fed the TV audio. Now it should
> be possible to receive both the microphone audio from the headphones via
> Bluetooth and the TV audio via line in, mix both at a custom ratio, and
> send it back to the Bluetooth headphones.
...
I have never worked with Bluetooth on Linux. Can bluetooth devices show
up as ALSA devices? Or can they be made to appear as JACK devices?

My - unsurprising - suggestion would be to use ecasound. I think sox
works as well. Both speak ALSA and JACK (not 100% on sox). They run
headless and ecasound even has an API that, I think, includes Python, if
you like to be fancy.

PulseAudio would probably not be a good solution. 	 don't know many
commandline tools that support it. It's too much of a desktop thing. :)
If you can get the bluetooth into ALSA that might be the best solution.
It's easy to mix audio from different devices. In JACK you already need
an extra program to bring in audio from a second device (like
alsa_in/alsa_out).

HTH.

Best wishes,

Jeanette

-- 
  * Website: http://juliencoder.de - for summer is a state of sound
  * Youtube: https://www.youtube.com/channel/UCMS4rfGrTwz8W7jhC1Jnv7g
  * Audiobombs: https://www.audiobombs.com/users/jeanette_c
  * GitHub: https://github.com/jeanette-c

I can't believe it's what I see
That the girl in the mirror
The girl in the mirror Is me <3
(Britney Spears)


More information about the Linux-audio-dev mailing list