:: Re: [maemo-leste] Ringtone, incomin…
Top Page
Delete this message
Reply to this message
Author: Ivaylo Dimitrov
To: Pavel Machek
CC: Merlijn Wajer, maemo-leste
Subject: Re: [maemo-leste] Ringtone, incoming sms tone

On 28.01.20 г. 1:39 ч., Merlijn Wajer wrote:
> Hi,
> I would have responded sooner if I had known the answer, inline --
> On 15/01/2020 13:58, Pavel Machek wrote:
>> Hi!
>> Unicsy-demo still works on n900.. and can provide incoming call/sms
>> notification, if we have suitable ringtones. I tried to collect some
>> in
>> https://gitlab.com/tui/tui/tree/master/ofone/audio
>> but I don't have something really good, and somehow I think it maybe
>> should be part of system (so that user can select their own). Do we
>> have something? Do we have artist to compose/record something?
> We have this:
> https://github.com/maemo-leste/maemo-multimedia-tone-generator - but I
> am not sure if it's what you're looking for.
> Maybe Ivaylo (CC) has an idea.

tone-generator can (and should) be used for stuff like 'busy' and 'free'
tones as well as DTMF, IIUC. for ringing, use
'org.freedesktop.Notifications' interface.

>> Do we somehow store "sources" of sounds in a "source" form for
>> editing?
>> Reasonable way I found is to store sounds as musescore sources, then
>> "render" them to wav using musescore.
>> (Alternatively, if there's a system service/library call I can do to
>> unlock the screen and start a melody... that would be useful, too.)
> So for sure mce has support for vibrations and screen wakeup:
> https://wiki.maemo.org/Phone_control#Start_Vibrating_Incoming_Call
> There are also dbus calls there for having the screen "unlock". (Careful
> not to use the actual lock screen feature, or make sure you know the
> unlock code)
> https://wiki.maemo.org/Phone_control#Lock_screen_and_keys_.28slider_lockswitch.29

For incoming SMS, it is best is to use 'org.freedesktop.Notifications'

> The problem: our current mce doesn't yet support the new mainline Linux
> vibration via evdev interface yes. The Nemo mce does, but we haven't
> figured out how easy/hard it is to start using their mce.
> In general, quite some of the dbus calls on that page should work.
> Others (clearly) will not.
> Cheers,
> Merlijn