Code: Select all
luiz@debian-luiz-computer:~$ cat /etc/debian_version
7.9
luiz@debian-luiz-computer:~$ uname -r
2.6.32-5-686
Code: Select all
luiz@debian-luiz-computer:~$ cat /etc/debian_version
7.9
luiz@debian-luiz-computer:~$ uname -r
2.6.32-5-686
What do the error messages say ?I get error messages and the CD does not get written.
Run it with mplayer or mpv in command line and you will get codec information.luiznetto wrote:Do you know if there is any test that I can do to find out whether a file is a true wav file?
Code: Select all
Stream 0
Type: audio
Codec: PCM 516 LE (araw)
Channels: Stereo
Sample rate: 32000 Hz
Bits per sample: 16
Code: Select all
# edit to suit:
DEVICE=/dev/sr0
WORK_DIR=/path/to/my/wav/file(s)
#remove "-dummy" after test
wodim -v -dummy -eject -pad speed=12 dev=$DEVICE -dao -swab $WORK_DIR/*.wav| tee wodim_log
+ 100,dzz wrote:Never had much luck using any gui for audio cd but this works for me (and is simpler than gui):
Anything wrong.should show in terminal window and saved to wodim_log.Code: Select all
# edit to suit: DEVICE=/dev/sr0 WORK_DIR=/path/to/my/wav/file(s) #remove "-dummy" after test wodim -v -dummy -eject -pad speed=12 dev=$DEVICE -dao -swab $WORK_DIR/*.wav| tee wodim_log
Code: Select all
$ info wodim
The file is 32000 Hz whereas CD is 44100 Hz. I'm not sure if that's the problem, I would have thought K3b might handle the conversion.luiznetto wrote:Last time I tried to install mplayer it caused problems in my system, and mpv apparently is not in the repositories. I do have vlc though. Here is what I get from the codecs window:
Code: Select all
Stream 0 Type: audio Codec: PCM 516 LE (araw) Channels: Stereo Sample rate: 32000 Hz Bits per sample: 16
Code: Select all
luiz@debian-luiz-computer:~/tom$ wodim -v -dummy -eject speed=12 dev=/dev/sr0 -dao -swab Toms_last_message.wav| tee wodim_log
wodim: Operation not permitted. Warning: Cannot raise RLIMIT_MEMLOCK limits.
scsidev: '/dev/sr0'
devname: '/dev/sr0'
scsibus: -2 target: -2 lun: -2
Linux sg driver version: 3.5.27
Wodim version: 1.1.11
SCSI buffer size: 64512
Beginning DMA speed test. Set CDR_NODMATEST environment variable if device
communication breaks or freezes immediately after that.
TOC Type: 0 = CD-DA
Device type : Removable CD-ROM
Version : 5
Response Format: 2
Capabilities :
Vendor_info : 'TSSTcorp'
Identification : 'CDW/DVD TS-L462D'
Revision : 'AC02'
Device seems to be: Generic mmc2 DVD-ROM.
Current: 0x0009 (CD-R)
Profile: 0x000A (CD-RW)
Profile: 0x0009 (CD-R) (current)
Profile: 0x0008 (CD-ROM)
Profile: 0x0010 (DVD-ROM)
Using generic SCSI-3/mmc CD-R/CD-RW driver (mmc_cdr).
Driver flags : MMC-3 SWABAUDIO BURNFREE
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R
Drive buf size : 1362944 = 1331 KB
FIFO size : 12582912 = 12288 KB
wodim: Inappropriate audio coding in 'Toms_last_message.wav'.
luiz@debian-luiz-computer:~/tom$ cat wodim_log
TOC Type: 0 = CD-DA
Device type : Removable CD-ROM
Version : 5
Response Format: 2
Capabilities :
Vendor_info : 'TSSTcorp'
Identification : 'CDW/DVD TS-L462D'
Revision : 'AC02'
Device seems to be: Generic mmc2 DVD-ROM.
Current: 0x0009 (CD-R)
Profile: 0x000A (CD-RW)
Profile: 0x0009 (CD-R) (current)
Profile: 0x0008 (CD-ROM)
Profile: 0x0010 (DVD-ROM)
Using generic SCSI-3/mmc CD-R/CD-RW driver (mmc_cdr).
Driver flags : MMC-3 SWABAUDIO BURNFREE
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R
Drive buf size : 1362944 = 1331 KB
FIFO size : 12582912 = 12288 KB
I don't know very much about it, but to me this indicates there is something not right with the "coding" of .wav file,...corrupted or something,wodim: Inappropriate audio coding in 'Toms_last_message.wav
Is worded very well, it worked well in the search, I just added "for linux" to avoid getting "windows" programs.Do you know a good command line program to convert .mp3 to .wav?
All though "Gnac" is not "command line" if it does the job, that should not matter.Gnac is an easy to use audio conversion program for the GNOME desktop.
It is designed to be powerful but simple! It provides easy audio files
conversion between all GStreamer supported audio formats.
Re: Burning sound file onto CD
Postby luiznetto » 2015-10-28 18:16
The reason I want to have that file on a CD is that it is a very important file to me, and I want to back it up on as many different types of media as possible. I want to be able to play it on a regular CD player even when a computer is not available. I feel there is an intrinsic vulnerability in all kinds of digital files, in the sense that they can be easily erased, corrupted or destroyed. Well, nothing lasts forever, but a CD is a solid medium that can be played for many years.
http://sox.sourceforge.net/Welcome to the home of SoX, the Swiss Army knife of sound processing programs.
Code: Select all
luiz@debian-luiz-computer:~/tom$ wodim -v -dummy -eject speed=12 dev=/dev/sr0 -dao -swab Toms_last_message.wav| tee wodim_log
wodim: Operation not permitted. Warning: Cannot raise RLIMIT_MEMLOCK limits.
scsidev: '/dev/sr0'
devname: '/dev/sr0'
scsibus: -2 target: -2 lun: -2
Linux sg driver version: 3.5.27
Wodim version: 1.1.11
SCSI buffer size: 64512
Beginning DMA speed test. Set CDR_NODMATEST environment variable if device
communication breaks or freezes immediately after that.
TOC Type: 0 = CD-DA
Device type : Removable CD-ROM
Version : 5
Response Format: 2
Capabilities :
Vendor_info : 'TSSTcorp'
Identification : 'CDW/DVD TS-L462D'
Revision : 'AC02'
Device seems to be: Generic mmc2 DVD-ROM.
Current: 0x0009 (CD-R)
Profile: 0x000A (CD-RW)
Profile: 0x0009 (CD-R) (current)
Profile: 0x0008 (CD-ROM)
Profile: 0x0010 (DVD-ROM)
Using generic SCSI-3/mmc CD-R/CD-RW driver (mmc_cdr).
Driver flags : MMC-3 SWABAUDIO BURNFREE
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R
Drive buf size : 1362944 = 1331 KB
FIFO size : 12582912 = 12288 KB
wodim: Bad audio track size 6897664 for track 01.
wodim: Audio tracks must be at least 705600 bytes and a multiple of 2352.
wodim: See -pad option.
luiz@debian-luiz-computer:~/tom$ file Toms_last_message.wav
Toms_last_message.wav: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 16 bit, stereo 44100 Hz
Code: Select all
OPC failed. Probably the writer doesn't like the medium.
Code: Select all
$ wodim -v gracetime=15 dev=/dev/sr0 speed=10 -sao driveropts=burnfree -useinfo -audio -pad music.wav
Code: Select all
$ wodim -v gracetime=15 dev=/dev/sr0 speed=10 -sao -audio -pad -eject music.wav
Code: Select all
$ cdrdao copy