Help with Tasker for changing notification volume during music playback? - General Questions and Answers

I have 2 profiles that work for this but my issue is that it doesn't work when my phone is connected to android auto in my car.
My goal is to have music playback not interrupted by notifications while driving but still have phone calls ring when I'm called.

Related

[Q] Bluetooth Streaming Audio Issue

I've been having an issue with Bluetooth streaming audio on every original development rom I've flashed. I'm currently running Slim-4.2.2 build 5.
The problem is that when I'm listening to music through my bluetooth headphones (LG Tone HBS-700) and an incoming call comes through, the music I'm listening to through my headphones comes blaring out the phone's speaker instead of being paused. This happens only when the phone is in vibrate or silent mode. If I have the phone in ringer mode, then the music will pause and the actual ring tone will play out the phone's speaker as it should.
I use Poweramp for local music and Pandora and Spotify as well. For some reason the problem doesn't show itself when I'm listening to Poweramp; only when I'm listening to Pandora or Spotify. (I haven't tried any other apps).
It's only incoming calls too, notifications don't play out the phone's speaker while in silent/vibrate mode during music playback.
A temporary solution for me is to set my ringtone to "none", but then when I have my phone in ringer mode, I have to remember to manually set the ringtone to the one I want and vice versa. I could use something like tasker to handle that, but I'd prefer to fix the root problem if possible vs. covering it up with a hack.
Has anyone else encountered this and hopefully been able to fix it? I'd really like to leave my phone in vibrate mode at work without the possibility of my music blaring out the phone if I get a phone call.
Not a single person has encountered this issue?
Sent from my SCH-I535 using xda app-developers app
Have you tried an app called Soundabout? It is not just a bluetooth issue even with wired headsets this happens also. You will have to get the paid version for Bluetooth settings.
Yeah, I tried out Soundabout with the pro license. I messed with every setting and I couldn't get it to fix the problem.
I never use wired headphones so I didn't know that was an issue too. I just tried out some wired headphones to see if it behaved the same way and there's actually zero issue with wired headphones in relation to an incoming call on my phone. In silent mode, the audio continues to play out the wired headphones and I see a phone call on my screen.
As it turns out, now setting my ringtone to "None" doesn't work as a temporary solution anymore. Media audio from Pandora and Spotify will reroute to the phone's speaker for an incoming call on silent or vibrate mode. I'm going to try out Slim's weekly build 5.5. If that doesn't work, I'm going to check out a custom kernel. If nothing, I may need to revert back to stock as this is a deal-breaker. I can't have my phone making unnecessary noise in a quiet area in the slim chance I get a phone call.
Any and all solutions are welcome if anyone has any ideas or troubleshooting methods they'd like to suggest. Thanks!
same here on stock
i am getting the same thing and running a stock Droid Razr android v. 4.1.2
very f'n annoying when i get calls at work and i got jams playing and all the sudden just blares out the phone speakers.
lunchboxdc said:
Yeah, I tried out Soundabout with the pro license. I messed with every setting and I couldn't get it to fix the problem.
I never use wired headphones so I didn't know that was an issue too. I just tried out some wired headphones to see if it behaved the same way and there's actually zero issue with wired headphones in relation to an incoming call on my phone. In silent mode, the audio continues to play out the wired headphones and I see a phone call on my screen.
As it turns out, now setting my ringtone to "None" doesn't work as a temporary solution anymore. Media audio from Pandora and Spotify will reroute to the phone's speaker for an incoming call on silent or vibrate mode. I'm going to try out Slim's weekly build 5.5. If that doesn't work, I'm going to check out a custom kernel. If nothing, I may need to revert back to stock as this is a deal-breaker. I can't have my phone making unnecessary noise in a quiet area in the slim chance I get a phone call.
Any and all solutions are welcome if anyone has any ideas or troubleshooting methods they'd like to suggest. Thanks!
Click to expand...
Click to collapse
Has this been solved yet?
Having the same issue with LG Tone+ using PlayerPro with local music. I don't know if it makes a difference (I guess I could test it), but I use last.fm to scrobble all music live.
Sent from my SAMSUNG-SGH-I727 using Tapatalk 4

[BUG] Bluetooth sound maxed out

Hello,
I think this question has been talked about in another threads/forums.
but I can't find any thread that matches my problem.
To my problem:
When I listen to spotify(using bluetooth headset Sony SBH50) and receive a notification or use TTS, the bluetooth sound get maxed out.
I can't lower the sound until the notification//TTS sound is finished.
It started after last update of spotify
TS done:
Tested another headset (MW600) and I get the same problem, just it has it's own sound settings so I don't get deaf.
If I don't use BT headset I see that the sound get bumped up abit too but not maxed.
Inactivated tasker, same problem.
I have resettet the SBH50 headset and updated firmware.
Tested a mp3 file in xiialive and total commander(music player).
The music get a bit muted during the notification and then back to the same volume level. So sound is not maxed.
Tested Audible and it has a pause function on notification but no maxed out volume.
Solution / workaround
Solution: ? or to get Spotify fix the problem if it's a bug in the app.
Workaround: Was to change settings files to hard set the max BT volume to 50% of what is max today. If it can be done.
System:
Nexus 5
Android 4.4.2
Factory ROM
Rooted
Uses Tasker, don't have any sound alterations tasks.
Used xposed and GravityBox but exposed is deactivated.
TIA
Daniel
---------------------------------
Only good side, is that this forces me to listens to some books I have put on hold for a year.
Note: I have dyslexia so if there is anything you don't understand just ask...
Same problem. Extremely annoying. Imagine the situation, casually using bluetooth earphones while shopping, running, commuting & whatnot. And suddenly the music volume maxes out because a notification eg. for a hangout msg or sms goes off. Any ideas how to cure? Re-route bt audio?
Here's something to try:
with the BT headset connected, go to Settings -> Sound -> Volumes and change the notification volume there (again, WITH headset connected)
This should then set the notification volume for the BT headset without changing the media volume.
I use a BT headset all the time with A2DP (LG Tone+) and have never had this problem because I set the individual volume levels as force of habit the first time I connected to N5...
Hope it helps
chaosdefinesorder said:
Here's something to try:
with the BT headset connected, go to Settings -> Sound -> Volumes and change the notification volume there (again, WITH headset connected)
This should then set the notification volume for the BT headset without changing the media volume.
I use a BT headset all the time with A2DP (LG Tone+) and have never had this problem because I set the individual volume levels as force of habit the first time I connected to N5...
Hope it helps
Click to expand...
Click to collapse
Hi, tried that but it didn't help.
I have read that ppl have talked about a BT bug, but I have looked into it.
Skickat från min Nexus 5 via Tapatalk
New version of Spotify today. Let see if it's fixed.
Skickat från min Nexus 5 via Tapatalk

[Q] Bluetooth bug, speaker sleeps if silent audio

So, I'm not sure if this bug can be addressed in MX Player, but here's the issue...
I listen to audio books, a lot of them. If the audio is CD quality without any background hiss, then there are brief pauses of silence between sentences.
When there is a pause of silence for maybe 500 ms or less, my bluetooth radio or bluetooth speaker goes into a power saving mode until sound is heard again. When the silence ends and speaking resumes, the first syllable of the first word is usually chopped off.
How to address this?
1) If MX Player can instruct Android to 'Stay Awake' the bluetooth radio, that would be best.
2) If MX Player can send a barely audible signal or background hiss, that would keep my bluetooth radio/speaker from dozing off due to lack of signal being transmitted.
Again, this happens between almost every sentence if there is no background music or tape hiss. It also happens when listening to some talk radio programs I've listed to. To be clear, it's not [just] between tracks. I also turned off the options to fade in and out.
I am unable to enjoy audio books from any wireless headset or speaker.
I am using a Samsung Galaxy S3 SGH-I747 AT&T (d2att), running either stock 4.0.4 or 4.4.2 or CM12.1 nightlies.
a-raccoon said:
So, I'm not sure if this bug can be addressed in MX Player, but here's the issue...
I listen to audio books, a lot of them. If the audio is CD quality without any background hiss, then there are brief pauses of silence between sentences.
When there is a pause of silence for maybe 500 ms or less, my bluetooth radio or bluetooth speaker goes into a power saving mode until sound is heard again. When the silence ends and speaking resumes, the first syllable of the first word is usually chopped off.
How to address this?
1) If MX Player can instruct Android to 'Stay Awake' the bluetooth radio, that would be best.
2) If MX Player can send a barely audible signal or background hiss, that would keep my bluetooth radio/speaker from dozing off due to lack of signal being transmitted.
Again, this happens between almost every sentence if there is no background music or tape hiss. It also happens when listening to some talk radio programs I've listed to. To be clear, it's not [just] between tracks. I also turned off the options to fade in and out.
I am unable to enjoy audio books from any wireless headset or speaker.
I am using a Samsung Galaxy S3 SGH-I747 AT&T (d2att), running either stock 4.0.4 or 4.4.2 or CM12.1 nightlies.
Click to expand...
Click to collapse
Audio silence is actually not silence on device's view of point. While playing an audio stream and there is no sound, player actually sends series of silent packets. It means bluetooth speaker is still receiving packets even though it does not produce any sound.
Anyway, would you send more information to reproduce this issue on my side?
1. Sample video clip that can produce this issue.
2. Model name of your bluetooth speaker.

Playing music on Bluetooth speaker

Is there a way that when you're playing music through a Bluetooth speaker that the notifications don't interrupt the music, apart from setting the phone to DO NOT DISTURB?
Cyclops1055 said:
Is there a way that when you're playing music through a Bluetooth speaker that the notifications don't interrupt the music, apart from setting the phone to DO NOT DISTURB?
Click to expand...
Click to collapse
Bluetooth device should have 2 options available: Media Audio and Call Audio, disabling Call Audio for that specific BT device.
badziewmax said:
Bluetooth device should have 2 options available: Media Audio and Call Audio, disabling Call Audio for that specific BT device.
Click to expand...
Click to collapse
Yes I did that, but notification sounds still come through the Bluetooth speaker, what is the separate sounds feature suppose to do?
Putting the phone on vibrate works. My phone for the most part stays on vibrate all the time and notifications never interrupt.

Question Stop Play music automatically when blue tooth is on or phone calls ended

How to Stop Play music automatically when blue tooth is on or phone calls ended in pixel 7 pro?
Hello!
Can you please be more precise?
Which app plays the music?
And you really want to end the music after a call (so during the call the music will be played)?
Usually it is the other way round ;-)
martmarq said:
Hello!
Can you please be more precise?
Which app plays the music?
And you really want to end the music after a call (so during the call the music will be played)?
Usually it is the other way round ;-)
Click to expand...
Click to collapse
I know what he means. I have that, where I'll be listening to music, I get a call, pause the music to take the call and when it ends, the music or whatever I'm listening to starts playing again right away.
If I'm streaming to my car, which I don't set take to calls in my BT settings when I DO get a call, hit pause and put one of my buds in to answer it, when the call is over, whatever I was streaming just starts right up in my earbuds instead of waiting for me to unpause on my car-radio again.
OK, but these are setups in the app plays the music and not a general system setting.
I dont do anything like playing music or so.. When i switch on my car, when iy switch to bluetooth mode, music plays automatically.
In app, i have stopped auto start music. Still music is played via bluetooth without me starting a music
In
I dont do anything like playing music or so.. When i switch on my car, when iy switch to bluetooth mode, music plays automatically.
In app, i have stopped auto start music. Still music is played via bluetooth without me starting a music
In
ok, understood.
But which app plays the music?
Jet audio, pi music these are the two music player i have.
I think there should be some setting available to play music with Bluetooth connection on to a device. I don't know more on this
Yeah I don't get the issue, stop the app that automatically starts the music when connecting to car Bluetooth. Go through the settings and disable auto-start. Only iPhones and iPads do that crap.
Also check Android Auto and your bluetooth settings in the car, they usually have auto-play settings
If that not help what schmeggy929 proposes: disable the permissions of these apps
especially Nearby Bluetooth devices:
see: https://support.google.com/googleplay/answer/9431959?hl=en#zippy=,types-of-permissions

Categories

Resources