Last active
May 4, 2016 18:39
-
-
Save vikjam/6e09b37b39f6a96fc69dd1f4ec91f5f6 to your computer and use it in GitHub Desktop.
.wav to .mp3 with album art.
This file contains hidden or 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
| # VBR (with loop) | |
| for f in *.wav; do lame --ti "path/to/file/album_art.jpg" --vbr-new -V 3 "$f" "${f%.wav}.mp3"; done | |
| # Non-VBR (no loop) | |
| lame --ti "path/to/file/album_art.jpg" -h -b "wavfile.wav" "mp3file.mp3" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment