You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This will also require ffmpeg to be installed on the system. Something I find a little much for a TTS package.
I use this package in an environment where this can not guaranteed. So I suggest to convert it after the retrieval to keep this package as modular as possible
That would make the package more usable. If you don't consider this a core functionality, you could make it optional. It's not like I can't do that myself. It's about ease of use.
I would much prefer to replace most of that code with something like:
# Return MP3 file as bytesreturnmary_tts.synth_raw_mp3(self.content)
Adding a couple of additional helper methods would certainly not hurt the package. And as I said, making things optional but available makes more developers happy.
ffmpeg-python
would be a dependency:Sample code:
The text was updated successfully, but these errors were encountered: