Created
June 21, 2013 04:55
-
-
Save phx/5828942 to your computer and use it in GitHub Desktop.
(for use with jailbroken iphones): this is one of those things that may sound like a scenic route to most people who have "an app for that," but for command line ninjas, this is must-have knowledge. this one-liner will dump an mp3 file to wav, then convert the wav to m4r, which can be easily copied over to the iphone's file system via scp/sftp/etc.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
mplayer -vo null -vc null -ao pcm:fast:file=file.wav file.mp3; faac -b 128 -c 44100 -w file.wav |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment