speakerbox icon indicating copy to clipboard operation
speakerbox copied to clipboard

speech to audio file

Open glevinzon opened this issue 7 years ago • 1 comments

hi, i'm impressed with what this module can deliver, very simple to implement yet very functional. I just want to know if there is a way, or an existing function to convert the speech to an audio file. thanks

glevinzon avatar May 10 '17 07:05 glevinzon

Thank you for opening an issue!

At the moment, there isn't support in Speakerbox for such functionality. However, we could certainly add this using the TextToSpeech synthesizeToFile method and expose a listener to deliver audio files back to the user.

In the meantime, you could access the underlying TextToSpeech object exposed on the Speakerbox object and utilize this method, or, better yet, submit a pull request which adds this functionality to Speakerbox :)

sarahsnow1 avatar May 11 '17 20:05 sarahsnow1