On Mon, Sep 23, 2013 at 10:21 AM, Peter Dolanjski
<[email protected]> wrote:
> Hello all,
>
> We know how important being able to set custom ringtones is to the user. We 
> are working on wireframes/requirements to cover the scenarios around 
> downloading (or transferring over USB) ringtones that the user can set.
>
> Our user research has also pointed out how common it was for people to edit 
> their own song snippets to produce new ringtones.
> We may just want to encourage the ecosystem to build such an application, but 
> I wanted to get some input here on what would be involved to produce such a 
> utility.
>
> The basic functionality would be:
> - Utility presents user with audio files currently residing on device (or 
> possibly accessed directly from Music app via the selected audio file)
> - The user should be able to chose the start time and end time for the 
> ringtone (with a possible length limit in place)
> - Selection controls need to be precise enough to pick specific 
> starting/ending points
> - The user should be able to preview the selected portion of the track
> - Once satisfied, the user should be able to save the snippet and directly 
> set it as their ringtone
> - Displaying the waveform is probably optional, but would be nice to be able 
> to pinpoint certain parts of the song
>
> How difficult is this? Is there platform functionality missing to enable this?

I think the only platform pieces that are really missing is the
ability to directly set a ringtone. Especially now that we have
WebAudio landed (has it been uploaded to v1.2?) that should make some
of the above even easier I think.

What we might be missing is an mp3 encoding API. Is that part of WebAudio?

Though I suspect you can work around that by simply grabbing chunks
from the existing file, though it might be pretty painful to do so.

You can work around the ability to directly set a ringtone by saving
the edited song using DeviceStorage and then letting the user manually
go over to the settings app and set the ringtone there.

But it would definitely be better if we had a built-in app which
responded to a WebActivity specifically and which allowed directly
setting a ringtone. That both results in a better UX, and means that
the ringtone-editing-app wouldn't need to be a privileged app.

/ Jonas
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to