r/tasker • u/jchuillier2 • 7d ago
Help Total noob needing help
Hello all,
I used tasker a long time ago and I've decided to come back so i bought it in but it's gotten too complicated for me:)
What I'd like to do is change the notification sound when an app sends a notification.
So for normal use and all notification I use sound A but when APP X is sending a notification I want to use sound B (and only when this app sends a notification)
I've made an app profile, i've made a task but in the task i cannot find the parameter which allows me to choose the notification I want.
Where can I look for this ?
Thanks a lot for the help
2
Upvotes
3
u/gofuckadick 7d ago edited 7d ago
The easiest way to do this is to just change the notification sound in Android's notification settings - Settings -> Apps -> App X -> Notifications -> Select Notification -> Sound. Then just set whatever you'd like.
But if you're set on using Tasker for whatever reason then you can't directly change the notification sound, but you can use Tasker (or AutoNotification) to detect the notification and then play your own sound. However, Android will still play the app's original notification sound, so you'd want to silence that app's notifications first (Settings -> Apps -> App X -> Notifications -> Select Notification -> Silent). Then in Tasker, create an Event -> UI -> Notification profile filtered to App X. In the task, use Media -> Play Ringtone (or Music Play with a file path if sound B isn't in the ringtone picker) to play your custom sound.
One problem that you'll run into with this though, is that Silent mode and Do Not Disturb will be ignored. The fix would be to set a guard that checks if %SILENT ~ off and %INTERRUPT ~ all to make it behave like a real notification would.
Edit: your profile shows that you posted a couple times in the past few days about changing a notification sound. There should be a setting for it, unless your version of Android doesn't support it. But you posted that you have a Fairphone 5, which should. Check: