1
Completed

Prevent android sounds when changing ringer volume

Is there a way that Tasker can prevent Android from making sounds or vibrating when setting ringer volume?  I mute my phone at night, then I have a profile that runs in the morning that turns the ringer on, and it makes an annoying beep when the Ringer Volume action runs.  I saw one post that seemed to address this (https://tasker.helprace.com/i869-adjust-ringer-volume-0-without-sound), but setting Do Not Disturb didn't stop the sound for me.  I would also like to prevent the vibration when setting the ringer volume to zero.

In addition to setting Do Not Disturb = No Interruptions, I've also tried setting Sound Mode = Mute, and Vibrate Mode = Off.

 -Scott

Device: Samsung Gx S10 / Android 11

3 replies

The Ringer Volume action should only produce a sound if you have that option enabled in the action. Is that maybe the case?

S

I assume you're referring to the "Sound" checkbox?  I have that not checked in the action (see below).  I get the same sound when I adjust the ringer volume from silent to any level using the system volume sliders (2nd image below), so it's not Tasker creating the sound, but Android.  So I'm looking for a way to mute the sound Android makes when you switch from ringer volume 0 to anything >0.

I see, thanks! Maybe changing the System Volume action with Tasker will help with that?

S

Thanks!  The System Volume was the missing piece.  The solution appears to need a combination of 3 things: Do Not Disturb, System Volume, and a Wait.

When I set Do Not Disturb and System Volume = 0, I was able to set the ringer volume from 0 to 5 without the beep, but only if I added a 500ms delay before reverting the System Volume to 1 at the end (and turning off DND).  Apparently the beep is still played regardless of the SysVol setting, and it's just under 500ms in duration, so if I wait 450ms before reverting the SysVol, I just get a very short beep instead of the normal, full tone.  500ms seemed to be the sweet spot for me (if other devices or version of Android play a different tone, that length may need to be adjusted).

Nice :D Glad you figured it out!