timer-machine-android icon indicating copy to clipboard operation
timer-machine-android copied to clipboard

Notifier step music selection volume much lower compared to Normal step music selection

Open Sunspark-007 opened this issue 11 months ago • 3 comments

Hi, Samsung phone here. I have observed in the chooser that if one selects one of the stock notification sounds the phone has, it is clear (minor quibble, plays on a constant loop in the chooser screen, not sure if this is intentional) and the correct volume.

The issue is with what type of step it's assigned to. If you choose "Normal" then it plays at the correct volume. However, if it is the "Notifier" type then the volume is MUCH lower. If beep is chosen instead of music, the beep does play at a normal volume in the "Notifier" step. So, specifically notifier and music alert.

This may be related to issue https://github.com/timer-machine/timer-machine-android/issues/103 and I did test with the audio focus options as suggested there and it does not change anything for "Notifier".

Sunspark-007 avatar Jan 10 '25 03:01 Sunspark-007

The situation is quite unusual. The app doesn't distinguish the step type when picking a ringtone. I'm sorry, but I have no idea how to fix it at the time being.

DeweyReed avatar Jan 11 '25 02:01 DeweyReed

Testing further just now with just a notifier single beep, but set to loop, the first beep is soft then the following one is louder. It is the same thing with the normal step. First beep is soft, then the following one is louder.

The beep-beep ringtone is the same way too.

Why is the first playback of the beep a softer volume which then becomes louder as the loop begins?

Sunspark-007 avatar Jan 12 '25 01:01 Sunspark-007

The Music reminder has a start-up mechanism that starts with a lower volume and gradually increases to the normal volume. However, the Beep reminder doesn't do so. It gives the whole responsibility to the system.

https://github.com/timer-machine/timer-machine-android/blob/develop/app-base/src/main/java/xyz/aprildown/timer/app/base/media/AsyncRingtonePlayer.kt#L220

DeweyReed avatar Jan 13 '25 00:01 DeweyReed