dlutton / flutter_tts

Flutter Text to Speech package
MIT License
617 stars 258 forks source link

Ability to Change Volume Type/Audio Usage for Android. Only Works with Media Volume at the Moment. audio_session Package Doesn't Work #524

Open imperialmarch55 opened 2 months ago

imperialmarch55 commented 2 months ago

🚀 Feature Requests

Need to be able to change which volume controls the volume of TTS. Right now it's only controlled by Media volume, I want it to use Alarm volume for example. Usually I can just use the audio_session package to do this for other sounds, but it doesn't work for flutter_tts for some reason.

Contextualize the feature

People use TTS for things like Alarms, so it makes sense for it to not just use media volume.

Describe the feature

This package either needs a method to directly change the volume type, or something needs to be done about whatever is keeping it from working with the audio_session package. This is the only package I've found that doesn't work with audio_session.

Platforms affected (mark all that apply)