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

Convert Speex (.spx) files made by Recorder to mp3

asked 2014-09-23 18:16:02 +0300

Augustus58 gravatar image

updated 2014-09-24 15:26:43 +0300

Hi,

I have sound file recorded by Sailfish os native app Recorder (earlier version than newest 23.9.2014). Format is Speex (.spx). I would like to convert that file to mp3. If You know good tool (and You know that it's working) for that for linux, osx or windows please share.

Looks like difficult one.. Is there some special parameters used in Recorder with Speex?

Tried:

http://www.videolan.org/vlc/

http://jspeex.sourceforge.net (only tried http://sourceforge.net/projects/jspeex/files/player/2.2-0.9/)

Audacity 2.0.3 with FFmpeg-library (http://wiki.audacityteam.org/wiki/OGG)

http://sbooth.org/Max/

Can't be so difficult.. x)

edit retag flag offensive close delete

Comments

1

Does this question belong here? Not sure what the Sailfish/Jolla community can do about what formats osx can play.

gabriel ( 2014-09-23 18:49:25 +0300 )edit

Perhaps ask the Recorder developer to add mp3 support rather than save in .spx format? That might be more generally handy.

aegis ( 2014-09-24 13:37:34 +0300 )edit

@aegis well that application has options for vorbis, pmc and flac too. So he has just chosen spx because its voice optimized and small.

rainisto ( 2014-09-24 14:43:48 +0300 )edit

Not sure if it can handle this, but have you tried SoX? Sox is described as being the swiss army knife of audio processing. http://sox.sourceforge.net/

Venty ( 2014-09-24 18:39:42 +0300 )edit

Just saw that ffmpeg (I'm using version 1.2.1) has speex decoder. You should be able to use something like ffmpeg -i infile.spx outfile.wav for example. Depending on how it is built, you could also convert it directly to an mp3, but at least with Debian, ffmpeg is compiled without mp3 support.

Venty ( 2014-09-24 18:46:03 +0300 )edit

1 Answer

Sort by » oldest newest most voted
3

answered 2014-09-24 14:07:49 +0300

rainisto gravatar image

updated 2014-09-24 14:11:30 +0300

On Jolla device you can install "speex-tools" package and just use commandline to convert to wav:

# speexdec recording-20140924140238.spx output.wav

Or you can just download speexdec universal binaries to your mac (or compile your own):

http://www.rarewares.org/files/others/speex-1.2b3-macosx.tar.gz
edit flag offensive delete publish link more
Login/Signup to Answer

Question tools

Follow
1 follower

Stats

Asked: 2014-09-23 18:16:02 +0300

Seen: 1,597 times

Last updated: Sep 24 '14