dlutton / flutter_tts

Flutter Text to Speech package
MIT License
582 stars 239 forks source link

synthesizeToFile Saving to External Storage #492

Open drexhacker opened 2 months ago

drexhacker commented 2 months ago

🐛 Bug Report

Hello I think the program should save the generated audio to the given path because each app has different use case and for my case I use Application Support Directory because I only generate tts for copyrighted content which should only be accessible via the app not externally. Here is an example filePath

I also saw similar issues where this same case was resolved in the previous versions.

Expected behavior

Save to Given Path

Reproduction steps

Just Call synthesizeToFile with a full path

Configuration

No Configuration Changed am just calling the method as it is and supplying the text along side the destination filepath.

Version: 4.0.2

Platform:

drexhacker commented 2 months ago

I have Temporarily reverted to flutter_tts: ^3.8.5 which includes the support to save to a given path, as am waiting for any update on this. Thank You for the Wonderful work

j-ixcayau commented 5 days ago

Please check this PR, I added a flag to handler custom paths

https://github.com/dlutton/flutter_tts/pull/509

yunchiri commented 1 day ago

Same issue