CDDOIT 1.5
Author: Jose L. Diaz.
April/2003
Homepage: http://www.geocities.com/cddoit/index.html
E-mail: cddoit@yahoo.com
CDDOIT is a Bash script frontend that allows the creation of audio/data CD's from WAV or MP3 files and others formats, MP3<->WAV conversion, audio recording, playing and many others operations.
CDDOIT is designed to obtain the best quality in the creation of audio CD's.
New additions in version 1.5:
- Audio noise reduction
- Get WAV files when normal rippering fails
- CD Player with playlist
CDDOIT allows the following functions:
- Direct Audio CD copy to CD-R
- WAV files to CD-R copy
- MP3 files to CD-R copy
- WAV files to CD-R DUMMY copy
- MP3/MPEG files to CD-R DUMMY copy
- Data-CD direct copy to CD-R: Get data image and copy
- Data-CD direct dummy copy to CD-R: Get data image and copy
- On-the-fly Data-CD copy to CD-R
- On-the-fly Data-CD dummy copy to CD-R
- Get data image
- Copy data image to CD-R
- Dummy copy data image to CD-R
- Audio+Data CD copy / Dummy copy";
- Get WAV files from Audio-CD
- Get MP3 files from Audio-CD
- Get WAV files from several Audio-CD
- Get MP3 files from several Audio-CD
- Record audio in WAV format
- Play WAV files
- Play MP3/MPEG files
- Convert MP3/MPEG files to WAV format
- Convert WAV files to MP3 format
- Convert no 44.100 Hz sample rate to 44.100 Hz in WAV files
- View size of a directory in MB
- View SCSI devices for CDRECORD
- View free space in Hard Disks
- View Audio-CD information
- Multisession audio CD copy
- LOOP device creation
- View image data files
- Convert audio file formats to CD copy audio file format
- Modify CDRECORD configuration file
- Close multisession audio CD
- Program audio recordings
- Program an audio recording";
- Delete an audio recording program";
- View audio recording programs";
- Cancel an audio recording program already started.";
- Manage of file names with spaces.
- Rename MP3 file names
- Date control in audio record programming
- Choose in DAO mode or not for recording
- Get RAW files from Audio-CD
- Get AIFF files from Audio-CD
- Get the whole Audio-CD in a single audio file in differents formats
- Record audio in WAV format & 44100 Hz [CD copy format]
- Record audio in specific formats
- Audio conversion programs
- Sleeptimer recording
- Play many audio files
- Multimedia kernel modules manager
- Blank CD-ReWritables in fast and slow mode
- Audio direct CD copy in Multisession (No enough free disk space)
- CD Copy logs
- New feature in multisession audio CD copy
- Adjust max volume in audio files
- Direct CD data copy in bootable CD's
- Get CD Recorder information";
- El Torito image file -Bootable CD-
- Get WAV files when rippering fails
- CD Player with playlist
CDDOIT uses these excellent programs:
cdparanoia: Audio cd ripper
cdrecord: CD'S copy
mkisofs: Creation of image data files From the CDRTOOLS, not UNIX/LINUX mkisofs standard command
mpg123: MP3 Player
bladeenc: MP3 Encoder
sox: Audio converter
at: scheduler
Ussually this programs are included in the Linux standard distributions (except maybe Bladeenc). Not to have these programs it does not imply that CDDOIT cannot be executed correctly, simply will not have that certain functionality. Logically I recommend get all the programs (they don't take too much disk space) for a complete functionality. These programs you can obtain from Web sites like:
www.freshmeat.net
www.rpmfind.net
- INSTALLATION
Before nothing:
The BASH shell must be installed in your system. Generally, BASH is implemented in your system, check it with the command: which bash
Install the indicated programs above.CDRECORD and CDPARANOIA are necesary. Configure the /etc/cdrecord.conf file (see note nº 4 and the documentation of CDRECORD)
1.
CDDOIT is distributed in a gzip/tar file: CDDOITx.xx.tar.gz
To uncompress the file, run:
gunzip CDDOITx.xx.tar.gz ; tar -xvf CDDOITx.xx.tar
CDDOIT have the following files:
cddoit
readme-cddoit
2.
Copy the executable file:
cddoit
in your Bin directory: $HOME/bin
or in: /usr/local/bin
Be sure 'CDDOIT' have executable permissions (default).
When executing CDDOIT for the first time, will create a directory
called "CDDOIT" in your default directory ($home/CDDOIT) and
within it will create two directories: CDAUDIO and CDDATA that will
serve CDDOIT to store temp files.
These directories stay of automatic clean although there are options in
the menu of CDDOIT that allow to clean manually.
If these directories are erased, when you run CDDOIT they would become
again to create.
CDDOIT is designed to use it from a no-Root user. When it needs it
will request the ROOT password to make the operation and when finishing
the operation returns automatically to its user.
The copies to CD-R always are from ROOT (Maximum priority).
The reason of this method is avoid any possible disaster in your system using ROOT user. There are many CDDOIT operations in which the ROOT user is not necessary.
- NOTES
1.
In order to obtain perfect copies I don't recommend the
"on-the-fly" option.
In audio, the best way is get the WAV files from audio CD and copy
them to CD-R. Is slower but you make sure that the
quality is the best.
If you do not have a powerful computer neither a recorder with a great buffer you don't make audio copies "on-the-fly".
2.
The recording is in WAV format, 16 bits, stereo and 44.100 Hz rate, because
this is the CD-R copy format. Also CDDOIT record to 44.101 Hz, but you must
convert to 44.100 before the CD-R copy.
CDDOIT has an menu option to make conversions from no-44.100 Hz
to 44.100 Hz (Go to menu AUDIO, option nº 4 to convert it).
Recording of audio is performed by SOX. If your SOX version is older or the audio recording is not a good quality try to 44101 Hz recording.
3.
The extraction of audio is made with CDPARANOIA. CDDOIT runs
CDPARANOIA by each track of the Audio CD (although it allows to obtain
all the audio tracks of the CD at once) since I have verified better
results with this method.
CDDOIT detect automatically the number of tracks from the audio CD.
4.
In order to copy audio cd's CDDOIT it uses the configuration file of
CDRECORD for the copy, the file is: / etc/cdrecord.conf
You must to indicate device SCSI, the speed of recording and the size
of the buffer that will be used.
Go to menu OTHERS, oprtion 10 to modify the 'cdrecord.conf' file easy.
CDDOIT allows the visualization of SCSI devices that CDRECORD
recognizes.
Read the documentation of CDRECORD about it.
5.
CDRECORD uses only devices SCSI, reason why if you have a recorder
IDE/ATAPI you must have activated SCSI emulation to detects it.
In order to know if CDRECORD has detected devices executes the option
of menu that allows the visualization of the SCSI devices that CDRECORD
recognizes.
If CDRECORD does not detect your recorder, you must to activate SCSI
emulation. If your kernel is recent adding these lines to the
file /etc/modules.conf:
options ide-cd ignore=hd? # tell the ide-cd module to ignore hd? (? is your device letter) alias scd0 sr_mod # load sr_mod upon access of scd0 pre-install sg modprobe ide-scsi # before sg, load ide-scsi
pre-install sr_mod modprobe ide-scsi # before sr_mod, load ide-scsi
and this line to the / etc/lilo.conf file:
image=/boot/vmlinuz-2.2.XX-XX
label=XXXX
read-only
root=/dev/hdXX
append="hd?=ide-scsi" <<<---- ADD THIS LINE
Where ? is the device letter of your CD-Recorder.
SCSI emulation would have to activate.
If even so the emulation does not activate I recommend you
read the"CDWriting-howto" document which you can get it in www.linuxdoc.org
and the documentation of CDRECORD (the file "readme.atapi")
6.
If you include CDDOIT in the menu through the menu editor of GNOME
or KDE, you must indicate that it is executed through a terminal, otherwise,
when executing it you will not be able to see it.
It remembers that in the terminal you can select text with the mouse,
copy and paste where you wish.
Example to run CDDOIT in a xterm window:
xterm -bg yellow4 -fg white -title 'CDDOIT - CD Creation & Sound' -cr white -e cddoit
7.
Multisession data:
The data image files for multisession data are special. The first data image
to copy is different from the next data images. CDDOIT warning about this.
Be carefull.
IMPORTANT: CDDOIT use the MKISOFS command from the CDRTOOLS (CDRECORD package).
Not use the standard UNIX/LINUX command.
8.
In multisession audio you must to close the CD-R after copy the last audio
track. Go menu AUDIO CD-R, option nº 8.
9.
In audio conversions between diferent formats, the sound quality maybe not the
best. (See menu AUDIO, option nº 10)
10.
Audio recording programs:
- Don't cover up programs at the same date/time. SOX no start until the previous
SOX finish.
11.
The CDPlayer uses the soundcard (/dev/dsp).
12.
In Linux SuSE 8.1 cdrecord reads only /etc/default/cdrecord as
his config-file and not /etc/cdrecord.conf. The solution is create
the symbolic link /etc/cdrecord.conf to /etc/default/cdrecord with
the "ln" command:
ln -s /etc/cdrecord.conf /etc/default/cdrecord
This is free software.
Only, I would like to know in many countries of the world CDDOIT is being used, for that reason would be thankful to you that you sent me a mail (cddoit@yahoo.com) indicating only your country and city. All mails will be replied when new versions appears. Thanks in advance.
I'm from Madrid, Spain.
Report bugs or suggestions to: cddoit@yahoo.com This software comes with NO warranty of any kind. Use at your own risk.
Jose L. Diaz.
