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) _______________________________________________ Linux-audio-dev mailing list Linux-audio-dev@lists.linuxaudio.org https://lists.linuxaudio.org/listinfo/linux-audio-devReceived on Sun Mar 28 04:15:01 2021
This archive was generated by hypermail 2.1.8 : Sun Mar 28 2021 - 04:15:01 EEST