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

is there a tool to snip mp3's? [answered]

asked 2017-10-23 02:00:35 +0300

rfa gravatar image

updated 2017-10-23 13:31:53 +0300

jiit gravatar image


I want to snip an mp3 to have as my message alert tone, rather than it play the entire song when I receive a text message

Is there a native way to do this?

Is there something in warehouse or jolla store?


edit retag flag offensive reopen delete

The question has been closed for the following reason "the question is answered, an answer was accepted" by nthn
close date 2017-10-26 15:58:04.711358



No, not to my knowledge, this is a case of DIY on PC and send it back to device.

Spam Hunter ( 2017-10-23 02:21:47 +0300 )edit

You should be able to do this through the command line, see the top answer and comments here: https://stackoverflow.com/questions/43890/crop-mp3-to-first-30-seconds

A graphical tool to crop music files would probably be fairly straightforward to develop (as all the basic building blocks are already there), but I think it's easiest if you just use your computer instead, as it will be much easier to select the part you want with a mouse, than to poke with your finger at an imprecise small touch screen. You could use Audacity (be sure to look at the 'MP3 Support' link).

nthn ( 2017-10-23 10:30:55 +0300 )edit

It would be cool if one could achieve this with GStreamer as it's already on the device, right?

ossi1967 ( 2017-10-23 13:56:24 +0300 )edit

As given in that Stackoverflow thread, ffmpeg is what I'd use on linux: parameters -ss hh:mm:ss -to hh:mm:ss Is ffmpeg available on jolla?

DaveRo ( 2017-10-24 22:55:17 +0300 )edit

You have to install it first, but I'm not sure if it's in Jolla's repositories or if you have to get it from OpenRepos.

nthn ( 2017-10-25 09:50:03 +0300 )edit

1 Answer

Sort by » oldest newest most voted

answered 2017-10-26 12:29:04 +0300

rfa gravatar image

The first response is a suitable answer. The steps were:

I used a web tool on my PC to edit the desired .mp3

I copied it to my phone (not SD card)

I removed my SD card (3000+ songs on SD card)

I selected the (>9") .mp3 as my message alert

I rebooted my phone :)

edit flag offensive delete publish link more


Yes, it would be nice to have a separate catalogue for system sounds.

vattuvarg ( 2017-10-26 14:48:48 +0300 )edit

Question tools

1 follower


Asked: 2017-10-23 02:00:35 +0300

Seen: 232 times

Last updated: Oct 26 '17