I have a "work-commute" flow that tells me the time every now and then while i listen some music and switches my profile once i plug out my audiojack on arrival.
The audio-stream through which the TTS goes is DTMF and set to volume maximum (15).
(DTMF because i have no other known use for that stream).
Problem:
While the music plays on 10/15 volume, and lowered by "request audio focus", the voice speaks at 15/15 volume.
And yet it seems like the DTMF-volume is more like 2/15 or something.
And other times it seems a lot harder.
Is this some sort of known issue?
Volume per Audiostream
Moderator: Martin
- digitalstone
- Posts: 342
- Joined: 21 Oct 2017 12:36
- Location: The Netherlands
Volume per Audiostream
Phone: LG Nexus 5X (rooted vanilla Android 7.1.2)
Re: Volume per Audiostream
I tried the same DTMF volume, request audio focus - transient. Try speech output when no music playing, the loudness is at x level. When I play music and execute the flow again, the music paused, and the speech still give the same loudness at x level. After speech finish, the song resume. Maybe it depends on the music player, try another music player to rule out the problem. I use minilyric.
If I use transient may duck, the music still playing but at much lower volume. If I use focus - normal, the whole player stop and never resume anymore.
If I use transient may duck, the music still playing but at much lower volume. If I use focus - normal, the whole player stop and never resume anymore.
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.
- digitalstone
- Posts: 342
- Joined: 21 Oct 2017 12:36
- Location: The Netherlands
Re: Volume per Audiostream
Just finished testing.
It appears it has to to with relative volume.
Playing a loud part of a song makes the TTS seem just more quiet for some reason (quieter than you would expect because of other loud music).
Had nothing to do with the 3 audio focus options. They work fine.
I use Rocketplayer as my music app btw. Setting up audio focus to 'normal' makes it stop the music all together as well.
It appears it has to to with relative volume.
Playing a loud part of a song makes the TTS seem just more quiet for some reason (quieter than you would expect because of other loud music).
Had nothing to do with the 3 audio focus options. They work fine.
I use Rocketplayer as my music app btw. Setting up audio focus to 'normal' makes it stop the music all together as well.
Phone: LG Nexus 5X (rooted vanilla Android 7.1.2)
Re: Volume per Audiostream
If you want to lower the volume further when the TTS speaking, store the audio volume, set music volume to lower first. After the TTS finish, restore the audio volume
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.