jwz - Treo [entries|archive|friends|userinfo]
jwz

  www.jwz.org
  userinfo
  archive
  rss

Links
[»| [DNA Lounge] [Blog] [iCal] ]
[»| [DNA Lounge Legal Defense Fund] ]
[»| [WebCollage] [LJ WebCollage] ]

Treo [Tue, 2-Aug-2005 1:28 PM]
Previous Entry Add to Memories Tell a Friend Next Entry
linkReply

Comments:
[User Picture]From: [info]cdavies
Tue, 2-Aug-2005 2:45 PM (UTC)

Ringtone need to be in AMR narrow band format

(Link)

Here's how to get a ringtone from an mp3. Use sox to get the audio in to one word samples, 1 channel 8000 samples RAW audio (sox command line -r 8000 -w -c 1).

This part works on Linux, I hope it works on your mac too. Get the AMR-NB reference implementation from http://www.3gpp.org/ftp/Specs/archive/26_series/26.073/26073-510.zip. Unzip the source, and open the makefile. From the cflags remove pedantic, add -DMMS_IO. make the source. Use the resulting encoder executable to encode the raw file you created earlier. With this command line:

encoder -dtx MR122 out.amr

Transfer it to your phone with bluetooth or email or whatever, it should just recognise it as a ringtone. If you're impatient and want to make sure it works, here's the ringtone I'm currently using on my Nokia 9500, Dueling Banjos. http://www.cdavies.org/dueling.amr
[User Picture]From: [info]jwz
Wed, 3-Aug-2005 1:01 AM (UTC)

Re: Ringtone need to be in AMR narrow band format

(Link)

Awesome, thanks! It took some hacking to get that code to compile on Linux, but I made it work. It died early on OSX, so I didn't try too hard there.
From: [info]hermeticseal
Mon, 21-Nov-2005 10:26 PM (UTC)

Re: Ringtone need to be in AMR narrow band format

(Link)

if you grab the latest version of the stuff at the above link and give -D__sun__ it will compile on OSX (10.3.9 anyway) with no problems... and it works, i successfully made a ringtone with my powerbook yesterday.

also when using quicktime to convert mp3 (or whatever) to raw, you need to export as AIFF, 8-bit mono.
[User Picture]From: [info]jwz
Wed, 3-Aug-2005 1:03 AM (UTC)

Re: Ringtone need to be in AMR narrow band format

(Link)

FWIW, someone mailed me and said that Nokia Multimedia Converter 2.0 is another way to create .AMR files, but I haven't tried it, as I lead a blissfully Windows-free existence.
[User Picture]From: [info]cdavies
Wed, 3-Aug-2005 3:27 AM (UTC)

Re: Ringtone need to be in AMR narrow band format

(Link)

Ditto.

My mac based friends tell me that the pretty mac GUI version of FFMPEG can be compiled with AMR support, but since that uses the same AMR code from the reference implementation, you may be sceptical about this. I don't have a Mac so I really have no clue what works and what doesn't.
[User Picture]From: [info]valentwine
Wed, 3-Aug-2005 1:47 PM (UTC)

AMR NB supported by ffmpegX

(Link)

I do not have a Treo, but I do have a Mac and ffmpegX installed, a GUI frontend for open source AV transcoding on OS X. That software ships with AMR narrowband as a supported target. Get it here for free and use your OS X GUI instead of your Linux box to make ringtones:

http://homepage.mac.com/major4/

It is nagware, but it seems to only nag when you open the application, not while you're using it and it doesn't do anything obnoixous like insert things into your video or audio stream.

HTH.
[User Picture]From: [info]cdavies
Wed, 3-Aug-2005 3:14 PM (UTC)

Re: AMR NB supported by ffmpegX

(Link)

Ewwww. I don't know which is sleasier, a nagware front end for free software, or a peice of software that distributes the reference implementation of a patented codec without paying the license fee and charges money for it.

Someone sue this guy immediately.
[User Picture]From: [info]dossy
Sat, 25-Mar-2006 2:29 PM (UTC)

Re: Ringtone need to be in AMR narrow band format

(Link)

This is strange ... I can download .wav's to my Cingular GSM Treo 650 and set them up as ringtones just fine. I tried converting to .amr and everything went fine, but the phone didn't seem to recognize it as a ringtone?

Still, thanks for the pointers to the reference implementation of the AMR-NB codec.
[User Picture]From: [info]tendyl
Tue, 28-Nov-2006 6:54 PM (UTC)

How?

(Link)

I have a new Treo 650 and downloaded a .wav for a ringtone; one problem - how the heck to I get my Treo to find this as a ringtone? i.e. where do I need to save it? I'm not being very geeky riht now.
[User Picture]From: [info]dossy
Tue, 28-Nov-2006 7:32 PM (UTC)

Re: How?

(Link)

I published the .wav to a HTTP server of mine, and accessed the URL to the .wav using the built-in Blazer web browser on the Treo 650. It prompts you to save the file to either "Save to: Sounds / Card". Select "Sounds" ... it won't use ringtones off the external SD card.

Once you've saved it, go to the launcher and into "Preferences" then "Sound & Alerts". Select Application "Phone" and in the "Volume / Tones" selection, select "Tones". If you try to change the ringtone, your newly downloaded ringtone should be included in the list.

Looking at the internal memory using FileZ, the ringtones are named "Ton-FILENAME" based on FILENAME.wav. FileZ says "Type: WAVf", "Creator: HsTo".

Hope this helps! Let me know if you still can't get it working.

(I don't recall what bitrate/etc. the .wav file has to be, or if there's any kind of requirement/limitation.)