|
|
Use any song snippet as a cell phone ringtone
For better quality, you can download the iTunes snippets directly, but it takes some command line know-how.
basicallly, run tcpflow from the command line right before you preview a song in itunes. then stop the dump as soon as you start playing the song. Scroll to the top and figure out the url where the song lives.
From that, I figured out the song snippet lives at this url: http://a1372.phobos.apple.com/Music/y2004/m08/d05/h17/s05.negqmhqy.p.m4p
Track info, btw: Truckdrivin Neighbors Downstairs (Yellow Sweat) 2:55 Beck Mellow Gold $0.99 I'm sure it could be done with tcpdump also, but I've gotten in the habit of using tcpflow for some reason... Writing a script to automate this would be cool. Probably beyond my abilities. Something like running the tcpdump command, pipe to grep, and somehow filter the output with regular expressions, construct the url and save the m4p file to your desktop with curl.
Use any song snippet as a cell phone ringtone
Here's a little command which I made a while ago:
Use any song snippet as a cell phone ringtone
My perl hacker friend Dave Cash tackled this problem with me by writing a perl script. My only contribution is the hackish applescript contained therein.
Here's the script:
To use this script: save it somewhere as itunes.pl. In Terminal, cd to the folder where you saved it. Type this command perl itunes.pl. (You will probably need to install Audio::M4P::Decrypt from CPAN unless you already have it installed.) Once the script is running, go to iTunes and browse the music store. Each song you preview should be saved to the desktop.
If you want to convert the protected AAC files to MP3, open hymn and process each file manually.
It would be cool to make this script into a simple app using something like PerlWrapper. Then people who wanted to use it wouldn't have to know how to install CPAN or the command line. It could even include a binary of tcpflow so people wouldn't have to install that either.
Use any song snippet as a cell phone ringtone
P.S. - the script seems to not work quite right the first couple of songs it tries to download. But keep trying and it will work eventually. I don't know how to debug it, but maybe an adventurous perl programmer can take a look. Also, if the UI applescript part that copies the text from the iTunes current selection fails (because you changed applications just as it was about to copy, for example), the file will be save to the directory where you saved the script instead of the desktop and it will have the original name that iTunes stores it as (something like s05.ypqjdnud.p.m4p).
I saved this applescript:
...to ~/Library/iTunes/Scripts/Save Music Store Previews to Desktop.scpt so I can easily start up the perl script from the iTunes script menu.
Use any song snippet as a cell phone ringtone
I did this with my Nokia -- put a big memory card in it, used bluetooth to send (legal, that I had purchased) tunes to the phone. Piece of cake. The player is no itunes for sure, but it works. Then if I want to use a song for a ringtone, I pick about a 40-second slice using an editing app and select it as the ringtone. Everytime it rings, I get requests for people to help me do it with their phones. Rarely do they have the right gear. There's an opportunity here for businesses to do-right and make it easy for people to enjoy their FAIR USE rights. Will I ever pay for a ringtone? Of a tune I already own? Nope. |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.08 seconds |
|