Record from mic and play sound on speaker with docker-compose

Viewed 18

I am building an app that converts speech to text and vice versa. Therefore, I need my container to enable and disable the microphone and the speaker. Is it possible to do so? I am using pyaudio library and docker-compose in Windows 10.

In the Dockerfile, the part

devices:
   - /dev/snd:/dev/snd

is already included.

Thanks in advance.

0 Answers
Related