views:

78

answers:

2

Hey there,

I have an app that records short sounds (as caf files) and uploads them to a server. I want to be able to share these sounds so they need to be in a more ubiquitous format like mp3. I've got a linux server. Is there anything I can use either on the iphone or the server to perform the conversion?

thanks, Howie

A: 

Looks like I solved my own problem, but I'm open to any other solutions.

I've installed Sox and libsnd on my server. If I upload a caf file I can use SoX to convert from caf to mp3.

Ward
/usr/local/bin/sox path_to_caf_file destination_for_mp3_file
Ward
/usr/local/bin/sox /something/something/file.caf something/something/file.mp3
Ward
+1  A: 

what command in sox did this conversion?

kevin