KoljaB / RealtimeTTS

Converts text to speech in realtime
1.39k stars 119 forks source link

[Feature request] Ability to specify the output device #64

Closed daswer123 closed 2 months ago

daswer123 commented 2 months ago

Hi, I'm doing a project now, and I really need to be able to specify the output device (I want to output to a virtual microphone) the result of streaming.

It would be cool if it would be possible to specify the output device as it is done in RealtimeSTT with the input device.

Thanks for your work )

KoljaB commented 2 months ago

Oops, fixed it in parallel. Code is on, new output_device_index parameter for TextToAudioStream, thx for issue and PR :)

daswer123 commented 2 months ago

Great )