![]() |
Re: Overriding ringtone with a custom sound
Quote:
|
Re: Overriding ringtone with a custom sound
Quote:
|
Re: Overriding ringtone with a custom sound
Try
group = alwayson Programs in this group can play while a ringtone is playing. |
Re: Overriding ringtone with a custom sound
Tried always on, but didn't notice any difference.
|
Re: Overriding ringtone with a custom sound
It works for me:
Added Code:
[stream] Created a silent mp3 and set it as ringtone (it works with noisy ringtone as well, but easier with silent). Rebooted phone (to make sure all changes take effect). Played an mp3 file using mplayer (-ao pulse). Called the N900 (using skype, as I don't have a SIM in it. This is the only issue that might matter in my opinion). mplayer continues to play while the phone is "ringing". I also tried starting mplayer while ringing, and it also works. Where does your experience deviate from mine? |
Re: Overriding ringtone with a custom sound
this is a decent idea, i can see why you miss it.
some questions which need answering: is there a dbus message emitted when a call starts ringing? (assume yes) does it have enough info to lookup the contacts database? (assume yes) can you get flite to play the contacts name? (assume yes) can we use the contacts database to store custom ringtone? (assume yes) integrate the ui with the contacts database and allow per contact selection: std/custom/named nice little extension with minimal effort and would make people happy (based on this and other threads) :) |
Re: Overriding ringtone with a custom sound
@lcuk Dbus message is emitted and it contains the phone number, which is enough to look for the contact. I'm not familiar with flite, have been using espeak to test this. No idea about the contacts database being able to store custom ringtones. It would also need a way to override the original completely.
I am all for it though, if someone can help to override the ringtone! @Matan: I haven't tried with mplayer, only with espeak and alwayson. Maybe I should try with mplayer too since with espeak just saying a name can go pretty fast and is not ideal for troubleshooting the issue. Thanks. |
Re: Overriding ringtone with a custom sound
Neat thread, real progress on a somewhat important feature. Kudos.
|
Re: Overriding ringtone with a custom sound
Here is a little script i hacked together that does ... or better ... would speak the number of the caller.
Code:
#!/usr/bin/env python The only real problem is i can't get mplayer to keep playing. When a call is coming in while i listen to something, at first i get .4s silence, then the ringtone is played. And if i quickly hang up the last digits of the caller id are spoken. I put this into my /etc/pulse/xpolicy.conf and rebooted btw. But it didn't help. Code:
[stream] I tried group = ringtone. That didn't work either. You might also want to take a look at Arto Rusanens eSpeakCaller which is more of a real implementation than this script. I just discovered it through this thread: http://talk.maemo.org/showthread.php?t=34982 |
Re: Overriding ringtone with a custom sound
I'm not sure if this has been suggested before, I understand little of the above. Still, I waa thinking:
If e-speak is hard to run but mplayer works, how about pre-rendered wave files? Some program runs through all the numbers and renders a number.wav with contact name in it. No need to look anything up at ring time, just get the incoming number and play the number.wav. E.g. 0123456789.mp3/wav/whatever would have a voice that says "Jim" in plain English. |
All times are GMT. The time now is 00:53. |
vBulletin® Version 3.8.8