Burning Gapless CDs from mp3 in Linux
Adapted from the archlinux wiki page.
This is a guide for burning gapless audio CDs from mp3s using Linux.
First, make sure you have lame and cdrdao installed. Both packages should be included in your distro’s repositories. In Ubuntu, you can install them with:
sudo apt-get install lame cdrdao
Now, copy and paste the following script into a text editor, and give it a meaningful name, such as “burngapless”:
#!/bin/bash
if [ -d wav ]
then
echo "wav folder already exists; using existing wavs."
else
echo "Decoding mp3s..."
mkdir wav
for file in *.mp3 ; do
lame --decode -S "$file" "wav/$file.wav"
done
echo "Done."
fi
echo "Creating table of contents..."
cd wav
{
echo "CD_DA"
for... ... read more >>> actualreality.wordpress.com
Similar entries
- The improved addpath script
- Compress Pictures In Linux!!!
- Script Backup
- bash script: a simple select menu
- Bash Script - Get File Access Information
- Debian work with CD DVD
- Encrypting/Decrypting a File Easily With a Couple Bash Scripts
- My First Script
- attachlicense - bash script to add gpl license into source files
- PDF to JPEG Image Conversion Shell Script Part2
