We're talking about a few different things in this thread, so it may be 
confusing. 

Let's try to break these pieces out: 

Share button with Activity to set ringtone from Music App 
-User is on an audio file in the Music App 
-User presses share 
-User presses Set Ringtone 
-Track preview comes up 
-User can confirm setting ringtone 
This is covered by bug 878057 

Pick Activity from Settings App 
David, was this implemented in the same bug, 878057? 

Cropping audio clip to use as new custom ringtone 
This was the original purpose for this thread - to understand what would be 
involved to implement this at some point in the future. 
There is no talk of implementing this at this point. 
David suggested that this could be part of the above flow (during the preview 
step). 

Peter 

----- Original Message -----

From: "Stephany Wilkes" <[email protected]> 
To: "Peter Dolanjski" <[email protected]> 
Cc: "David Flanagan" <[email protected]>, [email protected], "Jonas 
Sicking" <[email protected]>, "Ehsan Akhgari" <[email protected]>, "Esther 
Leong" <[email protected]>, "Jaime Chen" <[email protected]> 
Sent: Thursday, 17 October, 2013 12:07:03 PM 
Subject: Re: [b2g] Custom ringtones 

All, 

Esther has already started UX for this. Are we now looking for some additional 
UX for the same? 

It would be great if we could agree a schedule for ringtones features and 
coordinate a bit better. We have started UX on this a couple of times and then 
find out about additional work that changes that, which isn't necessarily a 
problem, but I think that with even a brief schedule we could make better use 
of our very scant UX resources right now. 

Cheers, 
Stephany 

----- Original Message ----- 
From: "Peter Dolanjski" <[email protected]> 
To: "David Flanagan" <[email protected]> 
Cc: [email protected], "Jonas Sicking" <[email protected]>, "Ehsan 
Akhgari" <[email protected]>, "Esther Leong" <[email protected]>, 
"Jaime Chen" <[email protected]>, "Stephany Wilkes" <[email protected]> 
Sent: Thursday, October 17, 2013 8:20:37 AM 
Subject: Re: [b2g] Custom ringtones 

Thanks David. I like your suggestion of just marking the start and end times. 
I've added the UX team into this thread to provide insight into a potential 
evolutionary step for enabling customized ringtones. 

Peter 

----- Original Message ----- 

From: "David Flanagan" <[email protected]> 
To: [email protected] 
Cc: "Jonas Sicking" <[email protected]>, "Peter Dolanjski" 
<[email protected]>, "Ehsan Akhgari" <[email protected]> 
Sent: Monday, 14 October, 2013 12:16:53 AM 
Subject: Re: [b2g] Custom ringtones 

I just landed bug 878057 which allows the use of any music file as a 
ringtone (it works on my Unagi, running aurora, but bugs have been 
reported against it on a Buri using m-c, so it is apparently not ready 
for prime time.) 

It allows the settings app to pick ringtones from the Music app, and 
allows the user to share songs from the Music app to be used a 
ringtones. This share activity works because the patch defines a new 
setringtone app. Currently, the app allows the user to listen to the 
song and has a "set ringtone" button. I imagine that this app will grow 
to include the "ringtone cropping" functionality that Peter is asking 
for here. (As Jonas points out, this can't be done by a 3rd party 
utility because only certified apps can write to the settings database 
to set the ringtone.) 

WebAudio allows us to extract audio data from any user-specified region 
of the song, but does not (apparently) define any way to encode that 
data to a compressed format. I have heard that the Media Recording team 
is working on a voice recorder app and that the plan is for it to 
produce ogg files, so we must have some kind of audio encoding 
functionality coming. 

On the other hand, it would also be simple to just store start and end 
times in the settings database along with the ringtone and use those to 
define a media fragment url (if that works with blob:// urls). So we 
may not actually need the audio editing feature: we can just store the 
entire song and the start time and endtime of the portion to be used as 
the ringtone. 

As for the UX of the audio cropping functionality, I would suggest that 
we do not try to rely on sliders or fine tuners of any sort. I'd have a 
normal set of audio playback controls that let the user play the song. 
And in addition, I'd add a record button with a traditional red circle 
icon. When the user gets to the point where they want their ringtone to 
start, they tap the record button. When they get to the point where 
they want to stop, they tap the button again. 

David 

On 10/13/13 8:56 PM, Jonas Sicking wrote: 
> 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 



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

Reply via email to