Yesterday I had occasion to play with HTC Touch Dual smartphone. Nice phone, comfortable formfactor, a bit crappy keypad. No WiFi or GPS but HSDPA/UMTS/EDGE present so it can be used for browsing net.
And it has nice ringtones 🙂 I grabbed few of them to use with my SE k750i phone but they were in WMA format and my phone handle only MIDI or MP3 ringtones. So converting is required…
How to convert WMA to MP3 then? There are many ways.
First method require use of Mplayer and Lame:
mplayer -ao pcm:waveheader ringtone.wma lame -h audiodump.wav -o ringtone.mp3
Second way require GStreamer and lame plugin:
gst-launch filesrc location=ringtone.wma ! decodebin ! lame ! filesink location=ringtone.mp3
As a result I got ringtones in format accepted by my phone.