britalmeida / push_to_talk

Add-on for recording audio in Blender's Sequencer
GNU General Public License v3.0
49 stars 11 forks source link

Add `arecord` linux requirement for Microphone detection #22

Closed rainerschoe closed 5 months ago

rainerschoe commented 8 months ago

On some modern Linux distributions the Alsa sound system and its tools are not installed anymore, as mostly pulseaudio is used.

However this plugin relies on arecord to detect microphones. arecord will still work fine even with pulseaudio, however it needs to be installed.

If it is not installed, push_to_talk will fail to detect any microphones.

I updated the documentation accordingly.

rainerschoe commented 6 months ago

Thank you very much for your PR! Hi! 👋 I wasn't aware that more recent Linux distros removed arecord. Thank you for taking the time to make this project better.

As far as I recall, it wasn't easy/possible to do the audio detection on Linux via ffmpeg. If you know of better way than arecord, we could also do that?

Sorry for the late reply, I kind of forgot about this PR :P I also don't know much about ffmpeg sound recording under linux, I just tried getting the plugin to run. I think for now listing arecord in the requirements should be sufficient.

Thanks for the plugin! It helps me a lot when editing video and I use it every week!

britalmeida commented 5 months ago

Np! Glad to know the plugin is useful 😊