[IDEA] Audio notifications without interupting - Nexus One General

I was thinking on the way in, as I got annoyed by my music getting interrupted to tell me I had a new gmail message, that it might be somehow possible to play alert tones without muting default volume. The official AIM app manages to do this somehow, and I've been told back in the day it didn't interrupt anything when an alert played, so I'd like to try to bring this back somehow.
My thoughts are that it should be doable either in the notifications code or the audio code itself. I'm planning to jump into the CM5 source head first tonight, but it would be nice to know where to go about starting looking - is anyone familiar enough with how this works to tell me if it's plausible, and which section of the code it should be in?

+1
this would be great! I mean, whats the point in a blinking red trackball, if it still interrupts music with the sound

Back in the RC29&30 days this was the normal behavior for Android. It was changed to the current action of pausing the ongoing music with RC33 (pretty sure). As much as I would love my music to not be interrupted, I prefer the current method to the old "mixing" method. Where it would just play both sounds at the same time (pretty annoying actually). What would be ideal to me is the way my SEM600i did it, when I was listening to music (or watching a video) it would just beep and vibe when an alert came in & the music continued to play. This way I knew something was happening (be it a call or message) and could check my phone if I wanted, or keep on listening uninterrupted.

daveid said:
Back in the RC29&30 days this was the normal behavior for Android. It was changed to the current action of pausing the ongoing music with RC33 (pretty sure). As much as I would love my music to not be interrupted, I prefer the current method to the old "mixing" method. Where it would just play both sounds at the same time (pretty annoying actually). What would be ideal to me is the way my SEM600i did it, when I was listening to music (or watching a video) it would just beep and vibe when an alert came in & the music continued to play. This way I knew something was happening (be it a call or message) and could check my phone if I wanted, or keep on listening uninterrupted.
Click to expand...
Click to collapse
I agree with this. Would love a simple beep rather than the whole notification tone.

id prefer a dim of the music volume then the tone, when it stops altogether its quite annoying especially in my car with the speakers up. if it just dimmed the sound down to give the notification preference it wouldnt be so disturbing and it wouldnt go loud silent super loud silent loud every time i get a text

iamwhoamnot said:
id prefer a dim of the music volume then the tone, when it stops altogether its quite annoying especially in my car with the speakers up. if it just dimmed the sound down to give the notification preference it wouldnt be so disturbing and it wouldnt go loud silent super loud silent loud every time i get a text
Click to expand...
Click to collapse
This would actually be ideal, I'm going to look into it and see if it's possible to do this.

iamwhoamnot said:
id prefer a dim of the music volume then the tone, when it stops altogether its quite annoying especially in my car with the speakers up. if it just dimmed the sound down to give the notification preference it wouldnt be so disturbing and it wouldnt go loud silent super loud silent loud every time i get a text
Click to expand...
Click to collapse
+1
this it how it should work!

iamwhoamnot said:
id prefer a dim of the music volume then the tone, when it stops altogether its quite annoying especially in my car with the speakers up. if it just dimmed the sound down to give the notification preference it wouldnt be so disturbing and it wouldnt go loud silent super loud silent loud every time i get a text
Click to expand...
Click to collapse
I think is is ideal as well but I am not sure if Apple has a patent on that. No other phone that I know of uses that except the iPhone.

I think is is ideal as well but I am not sure if Apple has a patent on that. No other phone that I know of uses that except the iPhone.
Click to expand...
Click to collapse
I had an SE phone that did that sometime ago... And i am pretty sure that Nokia N95 8GB also does it...

Related

Prevent audio push through speaker during notifications?

I'm sure most of you know what I'm talking about. If you recieve any notifications When listening to any audio through headphones (or through the mini usb port), the device pushes the notification sound through the speaker. This is fine when having a ringer enabled because I'd obviously want to hear the ring. What I dislike though, is when I have notfications (rings, text messages, etc.) on silent or vibrate, it pushes the audio that I'm listening to through the speaker still. I've always disliked this in WM. My PPC6700 did the same thing, but now I'd really like to know if there's a way to change this.
Now that I have an 8GB SD card, my Titan has started to become my primary mp3 player. I do FOH sound at a local club, and when playing music between bands, it's really annoying to have the music suddenlly cut out because a phone call is coming in. Likewise when I'm quietly watching MobiTV with my headphones on at work, and suddenly, Survivorman is blaring through the speaker because a call is coming in...You get the point. The ringer is off, but the phone still trys to let a ring through the speaker anyway, and since no ring is selected, it pushes any audio being played through.
I realize that this relatively simple problem probably does not have a simple solution as this is probably buried deep in the architecture of how WM handles audio gateways...that almost sounded like I knew what I was talking about; I can assure you that I do not . This is where you guys come in. I'm willing to test any ideas you guys have got. I don't care if it f&#*s up my phone...a hard reset isn't going to ruin my day. I'd just like a solution for this.
Ideas??
Thanks for your help and for this forum!..it has saved my phone more then a few times already.
Me too having the same problem. I listen to music via my bluetooth mono headset and these notifications (whcih I get plenty) disconnect the bluetooth audio gateway, forcing me to reach out to my phone and enabling the audio gateway again.
Yeah, I hate that too! I have the i760, one other thing on this phone I dislike is that the volume must be on to hear audio through my headphones. But there I am in a store listening to some rock at a loud volume, and there it is playing for the entire f'n store to hear when I get a call, thanks PPC!
Possible Solution!!!!
Might I recommend a Profiler. Like PPCProfiler. Just Google it.
What you could do is create a profile called music or what ever you want to name it. Then you could set up that profile to turn ringers on with the volume level you like and with or without vibration and select silent or vibrate only for the notifications. You could really but together any combination. I believe with PPCProfile you can even make a profile as a Headset Mode. So it will auto detect the headset and switch without having to do anything else.
Cheers.
Curious G.
Thanks for the reply, but a profiler isn't exactly what I'm looking for. I've had them before in previous roms. The problem isn't that it's an inconvienence to switch to silent or vibrate. It's that when things are silenced or on vibrate, any background audio is pushed through the speaker while the notification is going off. Meanwhile that audio that I want to be played cuts out of the path that I want it going through (ie. headphones).
Thanks tho...I'm open to any ideas.

Audible ring with headphones plugged in

I was listening to music, using headphones, the other day when my phone rang. I got the ringtone in the headphones, which I totally expect, but when I took the headphones off I was suprised to hear the ringtone coming out of the phone speaker as well.
Is this normal, and is there a way to change it?
johncmolyneux said:
I was listening to music, using headphones, the other day when my phone rang. I got the ringtone in the headphones, which I totally expect, but when I took the headphones off I was suprised to hear the ringtone coming out of the phone speaker as well.
Is this normal, and is there a way to change it?
Click to expand...
Click to collapse
This normal behavior, just in case you leave your headphones in after you finished listening to music. it's been the same for a long time.
That's a shame, but I understand the reason you've given for it.
It wasn't like this with my HD though. At least I can turn the ringtone down when listening to music at work. That's the main reason I want no ringtone when headphones are plugged in. I'm in an open plan office and just think it's rude to have your phone ringing off all the time.
Maybe there's a way to change this behaviour (registry setting maybe?), and maybe some genius on here will know about it
Thanks.
by default when you get the phone if you change either ringtone or system it affects the other, in other words they're both combined. There is an option in the settings to split them so one doesn't change the other.
johnk1973 said:
by default when you get the phone if you change either ringtone or system it affects the other, in other words they're both combined. There is an option in the settings to split them so one doesn't change the other.
Click to expand...
Click to collapse
Funny you should say that. I was just thinking that that may actually be the cause of this issue.
I still want to hear the ringtone in my headphones, in case I don't see that there's an incoming call.
I'm gonna have a play with that option and see if it makes any difference.
Thanks.

Stop Notifications From Interrupting Music

I noticed on Desire roms that when a notification goes off while music is playing that the notification plays other the music so the music does not pause. However on Stock/Cyanogen instead that the music is silenced then the notification is played ruining the music experience. Is there anyway to get around this other than putting the phone on silent/vibrate?
ya this is SOO annoying. i get frequent emails and it just is irritating. a workaround would be nice. thanks for posting this.
The notification sound doesn't interrupt music here. I use CM 5.0.3.1.
+1 for this
I use my n1 as primary music player
Also wondering if anyone also interested having the trackball to be able to control music playback while the device panel is off. sliding the trackball will go reverse and sliding forward will fastforward.
Or even just pressing the trackball to change tracks.
I know all of this is possible with the stock headphones that come with the n1 but i dont use them. they are big and ugly imo. lol sorry to get off topic but i think this is kinda on the same wavelength
On stock nexus one, music pauses for notifications when using wired headphones but not when listen through bluetooth headset.
ylam310 said:
On stock nexus one, music pauses for notifications when using wired headphones but not when listen through bluetooth headset.
Click to expand...
Click to collapse
Whenever I use my stock my headphones, the music just seems to mute while the notification plays. I've noticed that most times, if not every time, the song has skipped a few seconds while muted, as if it were still playing while notification was playing. Very annoying.
babijoee said:
+1 for this
I use my n1 as primary music player
Also wondering if anyone also interested having the trackball to be able to control music playback while the device panel is off. sliding the trackball will go reverse and sliding forward will fastforward.
Or even just pressing the trackball to change tracks.
I know all of this is possible with the stock headphones that come with the n1 but i dont use them. they are big and ugly imo. lol sorry to get off topic but i think this is kinda on the same wavelength
Click to expand...
Click to collapse
+1
That would be very cool....controlling the music with the Trackball during the display is off....wow
Only if it doesn't interfere with the Navigation. You do not want the Nav and Music playing together. The Hero does this and you can't hear the Nav Directions. Useless. So, yeah...if it doesn't interfere with the Nav.....it'll be a good idea!
pikipirs said:
The notification sound doesn't interrupt music here. I use CM 5.0.3.1.
Click to expand...
Click to collapse
Are you sure your phone isn't on vibrate or silent?
This is only happening with wired headset.
Use Bluetooth one and the notifications wont interrupt the music.
clubtech said:
This is only happening with wired headset.
Use Bluetooth one and the notifications wont interrupt the music.
Click to expand...
Click to collapse
Does it play with the music or not at all?
You're lucky you didn't have a G1.
When plugged into my car, listening to music / podcasts, if a notification came in, the sound would be so freaking loud it would shatter my eardrums.
You'd learn fast to put it on vibrate...
Luckily, the N1 doesn't have the same volume difference problems.
Paul22000 said:
You're lucky you didn't have a G1.
When plugged into my car, listening to music / podcasts, if a notification came in, the sound would be so freaking loud it would shatter my eardrums.
You'd learn fast to put it on vibrate...
Luckily, the N1 doesn't have the same volume difference problems.
Click to expand...
Click to collapse
Thing is I don't wanna have to put it on vibrate.
+2 Yes this would be a very nice.
It is so annoying since the Nexus has replaced my ipod on the daily commute.
iVisionX01 said:
I noticed on Desire roms that when a notification goes off while music is playing that the notification plays other the music so the music does not pause. However on Stock/Cyanogen instead that the music is silenced then the notification is played ruining the music experience. Is there anyway to get around this other than putting the phone on silent/vibrate?
Click to expand...
Click to collapse
This has been a problem since the G1..... :unamused:
iVisionX01 said:
Does it play with the music or not at all?
Click to expand...
Click to collapse
over BT the notification will play WITH the music and not instead of the music.
With a wired headset the notifications will stop the music, please notification and resume music.

Cell-signal alert and music interruption

As others have pointed out, the Epic has an annoying "feature" of making a sound whenever it re-establishes a cell radio connection and there's no real way to disable it in the stock ROM.
This doesn't really bother me per se since I can live with muting the alerts volume, but that doesn't prevent the notification event from cutting into whatever music I'm listening to on wired headphones--the volume will drop to make way for an audio alert regardless of the volume level or vibrate mode, then come back up. It happens on just about every audio app I've tried.
Well thankfully, I just got a pair of Bluetooth headphones and for whatever reason the issue doesn't crop up, at least not so far. I thought others might find this helpful, particularly subway commuters.

[Q] Volume selection

I have recently made the move from Android (Desire) to WP7 on the Focus and generally am enjoying the new experience. However, one thing I find frustrating is that there appears to be only one volume selection for ringtones and media player. I find this a pain as I have to lower it when listening to music or watching videos, and then remember to increase it again afterwards to ensure I can hear the phone ringing.
Am I missing something? If not, I find this is surprising as most phones I have used, even in my old symbian days, had separate volume controls for ringtones and media player.
Thanks
scdoyle said:
I have recently made the move from Android (Desire) to WP7 on the Focus and generally am enjoying the new experience. However, one thing I find frustrating is that there appears to be only one volume selection for ringtones and media player. I find this a pain as I have to lower it when listening to music or watching videos, and then remember to increase it again afterwards to ensure I can hear the phone ringing.
Am I missing something? If not, I find this is surprising as most phones I have used, even in my old symbian days, had separate volume controls for ringtones and media player.
Thanks
Click to expand...
Click to collapse
I was wondering the exact same thing today. I hope someone has an answer
Ah, yes. I have pretty much the same issue. I set my volume to the maximum level of 30 before I go to bed. The alarm is still VERY QUIET in the morning when it goes off. I believe this will be addressed in the update that is rolling out in the Jan-Feb timeframe.
I hope. Other than that, maybe there is an alarm clock app that will do what i want it to.
If you don't dismiss the alarm, it keeps coming back, and gradually gets louder.
The alarm starts out quiet and gets louder, it' by design as it wakes you gradually instead of a jarring loud alarm
I think it's a cool feature!

Categories

Resources