Page 1 of 1

Volume per Audiostream

Posted: 16 Nov 2017 11:45
by digitalstone
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?

Re: Volume per Audiostream

Posted: 17 Nov 2017 10:11
by Desmanto
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.

Re: Volume per Audiostream

Posted: 18 Nov 2017 05:20
by digitalstone
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.

Re: Volume per Audiostream

Posted: 18 Nov 2017 11:45
by Desmanto
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