We have moved to a new Sailfish OS Forum. Please start new discussions there.
37

Say caller's name

asked 2013-12-29 21:04:33 +0300

Kreso gravatar image

updated 2014-07-25 13:35:31 +0300

jiit gravatar image

Coming from Symbian, I would like to see feature "say caller's name" on Jolla. When phone is receiving incoming, phone "speaks" caller's name 2 times during ringing, of course if the phone number is stored in phone.

edit retag flag offensive close delete

Comments

somewhat duplicate of https://together.jolla.com/question/824/voice-dialing/

Yaniel ( 2013-12-29 21:34:33 +0300 )edit
1

Not exactly. In https://together.jolla.com/question/824/voice-dialing/ it is about calling (you say name, phone calls). I'm talking about incoming calls. Phone rings, and during ringing says caller's name.

Kreso ( 2013-12-29 21:46:03 +0300 )edit

My bad. Yes that would be a nice feature for many.

Yaniel ( 2013-12-30 00:59:40 +0300 )edit

feature not only for limited people mobility with natural voice (not robotic) :-)

redge73 ( 2013-12-30 03:37:29 +0300 )edit
4

If support for headphone button will be added to Jolla, this would be especially useful. Then you could hear the caller's name and press the microphone button to answer, without taking the phone out of your pocket. Same for voice dialing: press button and say who you want to call.

hana ( 2013-12-30 06:19:48 +0300 )edit

1 Answer

Sort by » oldest newest most voted
9

answered 2014-01-20 22:15:50 +0300

tbr gravatar image

updated 2014-01-21 11:00:31 +0300

I did some preliminary research into this, using my phone, and don't think it would be too hard to implement this as an app.

  • ofono provides the phone number of an incoming call as a dbus message. It however doesn't provide the name.
  • the contacts contain the details, just some matching necessary, either by accessing the data directly or through some API. (How does the phone UI do it?)
  • There are text to speech engines for Linux (like festival)
  • If there is a recorded sound file of the name, then its name could be simply added to a field in the contacts database
  • for playing the sound: open the stream with property "media.name" = "notiftone"

    Then that stream is classified as non-silent, and it is allowed to play while ringtone is playing. The ringtone volume is attenuated a bit so that headphones aren't too loud. This nonsilent/notiftone stream isn't affected by this, so this should be taken into consideration when figuring out the volume for the stream. To have the stream follow global ringtone volume, have property module-stream-restore.id = "x-meego-ringing-volume" (but again, that is not affected by the attenuation). As a reference, ringtone volume is 77% when headphones are connected, 100% otherwise (-6.81 dB).

Proof of concept probably in a few hours or a weekend. (Not from me though)

Updated with hints about audio usage from someone helpful in-the-know™.

edit flag offensive delete publish link more

Comments

A possible problem might be the audio policy though. I'm nor sure if you are allowed to output sound while the ringtone is being played. But I can ask for an opinion about that from someone who knows that.

tbr ( 2014-01-20 23:07:38 +0300 )edit

If the audio policy is preventing this, then the People app.would neeed a setting to choose a ringtone to 'speak caller name' (either global or contact-specific)

foss4ever ( 2014-01-21 08:42:18 +0300 )edit
2

In Symbian times, we had a special audio policy tables corrections to let exactly speech-to-text ringing tone be played together with the ringing tone. It was also lowering the ringing tone volume then. Worked fine, but sure could not be done by 3rd parties. Just sharing how we did it in the past.

Artem ( 2014-01-21 12:37:26 +0300 )edit
Login/Signup to Answer

Question tools

Follow
9 followers

Stats

Asked: 2013-12-29 21:04:33 +0300

Seen: 760 times

Last updated: Jan 21 '14