snakers4 / silero-models

Silero Models: pre-trained speech-to-text, text-to-speech and text-enhancement models made embarrassingly simple
Other
5k stars 315 forks source link

❓ How to save result of TTS model directly to stdout #241

Closed 3da closed 1 year ago

3da commented 1 year ago

Hello.

I am working on C# wrapper for TTS models. I see method "save_wav". But is it possible to save result directly to stdout? Then I would read it directly without temporary file.

snakers4 commented 1 year ago

You can invoke the apply_tts method and proceed with the resulting array the way you want.