LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-22-2012, 07:19 PM   #1
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Rep: Reputation: 76
cdrdao: first few seconds of every track missing.


Kernel 2.6.21.5, Slackware 12.0

Hi:
What is bad in this cue file?
Code:
$ cat mio3.cue
REM DISCID 00113A10
REM COMMENT "ExactAudioCopy v0.95b3"
TITLE "Mozart - Symphonies Nos. 25. 28. 29. & 35 'Haffner' - Walter"
FILE "01 Symphony No.25 in G Minor K.183 - I - Allegro con brio_2.wav" WAVE
  TRACK 01 AUDIO
    TITLE "Symphony No.25 in G Minor K.183 - I - Allegro con brio"
    FLAGS DCP
    INDEX 00 00:00:00
    INDEX 01 00:04:00
FILE "02 Symphony No.25 in G Minor K.183 - II - Andante_2.wav" WAVE
  TRACK 02 AUDIO
    TITLE "Symphony No.25 in G Minor K.183 - II - Andante"
    FLAGS DCP
    INDEX 00 00:00:00
    INDEX 01 00:02:00
FILE "03 Symphony No.25 in G Minor K.183 - III - Menuetto-Trio_2.wav" WAVE
  TRACK 03 AUDIO
    TITLE "Symphony No.25 in G Minor K.183 - III - Menuetto-Trio"
    FLAGS DCP
    INDEX 00 00:00:00
    INDEX 01 00:02:00
FILE "04 Symphony No.25 in G Minor K.183 - IV - Allegro_2.wav" WAVE
  TRACK 04 AUDIO
    TITLE "Symphony No.25 in G Minor K.183 - IV - Allegro"
    FLAGS DCP
    INDEX 00 00:00:00
    INDEX 01 00:02:00
FILE "05 Symphony No.28 in C Major K.200 - I - Allegro spiritoso_2.wav" WAVE
  TRACK 05 AUDIO
    TITLE "Symphony No.28 in C Major K.200 - I - Allegro spiritoso"
    FLAGS DCP
    INDEX 00 00:00:00
    INDEX 01 00:04:00
FILE "06 Symphony No.28 in C Major K.200 - II - Andante_2.wav" WAVE
  TRACK 06 AUDIO
    TITLE "Symphony No.28 in C Major K.200 - II - Andante"
    FLAGS DCP
    INDEX 00 00:00:00
    INDEX 01 00:02:00
FILE "07 Symphony No.28 in C Major K.200 - III - Menuetto, Allegretto-Trio_2.wav" WAVE
  TRACK 07 AUDIO
    TITLE "Symphony No.28 in C Major K.200 - III - Menuetto, Allegretto-Trio"
    FLAGS DCP
    INDEX 00 00:00:00
    INDEX 01 00:02:00
FILE "08 Symphony No.28 in C Major K.200 - IV - Presto_2.wav" WAVE
  TRACK 08 AUDIO
    TITLE "Symphony No.28 in C Major K.200 - IV - Presto"
    FLAGS DCP
    INDEX 00 00:00:00
    INDEX 01 00:02:00
FILE "09 Symphony No.29 in A Major K.201 - I - Allegro moderato_2.wav" WAVE
  TRACK 09 AUDIO
    TITLE "Symphony No.29 in A Major K.201 - I - Allegro moderato"
    FLAGS DCP
    INDEX 00 00:00:00
    INDEX 01 00:04:00
FILE "10 Symphony No.29 in A Major K.201 - II - Andante_2.wav" WAVE
  TRACK 10 AUDIO
    TITLE "Symphony No.29 in A Major K.201 - II - Andante"
    FLAGS DCP
    INDEX 00 00:00:00
    INDEX 01 00:02:00
FILE "11 Symphony No.29 in A Major K.201 - III - Menuetto-Trio_2.wav" WAVE
  TRACK 11 AUDIO
    TITLE "Symphony No.29 in A Major K.201 - III - Menuetto-Trio"
    FLAGS DCP
    INDEX 00 00:00:00
    INDEX 01 00:02:00
FILE "12 Symphony No.29 in A Major K.201 - IV - Allegro spirito_2.wav" WAVE
  TRACK 12 AUDIO
    TITLE "Symphony No.29 in A Major K.201 - IV - Allegro spirito"
    FLAGS DCP
    INDEX 00 00:00:00
    INDEX 01 00:02:00
FILE "13 Symphony No.35 in D Major 'Haffner' K.385 - I - Allegro con spirito_2.wav" WAVE
  TRACK 13 AUDIO
    TITLE "Symphony No.35 in D Major 'Haffner' K.385 - I - Allegro con spirito"
    FLAGS DCP
    INDEX 00 00:00:00
    INDEX 01 00:04:00
FILE "14 Symphony No.35 in D Major 'Haffner' K.385 - II - Andante_2.wav" WAVE
  TRACK 14 AUDIO
    TITLE "Symphony No.35 in D Major 'Haffner' K.385 - II - Andante"
    FLAGS DCP
    INDEX 00 00:00:00
    INDEX 01 00:02:00
FILE "15 Symphony No.35 in D Major 'Haffner' K.385 - III - Menuetto-Trio_2.wav" WAVE
  TRACK 15 AUDIO
    TITLE "Symphony No.35 in D Major 'Haffner' K.385 - III - Menuetto-Trio"
    FLAGS DCP
    INDEX 00 00:00:00
    INDEX 01 00:02:00
FILE "16 Symphony No.35 in D Major 'Haffner' K.385 - IV - Finale - Presto_2.wav" WAVE
  TRACK 16 AUDIO
    TITLE "Symphony No.35 in D Major 'Haffner' K.385 - IV - Finale - Presto"
    FLAGS DCP
    INDEX 00 00:00:00
    INDEX 01 00:02:00
I run
Code:
$ cue2toc -o mio3.toc mio3.cue
$ cdrdao write --speed 4 --device /dev/hdc mio3.toc
and then, in the CD, the first few seconds of every track are missing. Any hint?
 
Old 04-23-2012, 02:05 PM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,292

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
Have you tried cdrecord, and gone the man page route? BTW his paranoid warnings about libc and make are unfounded.
 
Old 04-23-2012, 03:29 PM   #3
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,982

Rep: Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625
I kind of agree. Making a .cue file and then using cue2toc to convert it makes no sense. Anything would be better than what you have. Worse is the choice of format uses, .wav is unlikely to run in many devices.
 
Old 04-23-2012, 05:22 PM   #4
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
These are a set of .flac files comprising six symphonies, each symphony comprising four files, each for each movement. They came with a .cue file. As the flacs were mono, I had first to convert them to stereo. But the .cue file, converted to .toc by cue2toc, produced errors when I ran cdrdao. So I had to edit the .cue.

Anyway, I need a means to control the gap sizes, because, between movements of the same symphony, I want a normal gap, and between a symphony and the first movement of the following I want a larger gap. Only way I know of doing this is with cdrdao. With cdrecord all the gaps will have the same duration.

EDIT: what was bad in my cue file is that there is no gap in the .wav itself. So
INDEX 0 00:00:00
INDEX 1 00:02:00
misses the first 2 seconds.

Last edited by stf92; 04-23-2012 at 05:33 PM.
 
Old 04-24-2012, 01:41 PM   #5
SharpyWarpy
Member
 
Registered: Feb 2003
Location: Florida
Distribution: Fedora 18
Posts: 862

Rep: Reputation: 91
Quote:
Originally Posted by stf92 View Post
These are a set of .flac files comprising six symphonies, each symphony comprising four files, each for each movement. They came with a .cue file. As the flacs were mono, I had first to convert them to stereo. But the .cue file, converted to .toc by cue2toc, produced errors when I ran cdrdao. So I had to edit the .cue.

Anyway, I need a means to control the gap sizes, because, between movements of the same symphony, I want a normal gap, and between a symphony and the first movement of the following I want a larger gap. Only way I know of doing this is with cdrdao. With cdrecord all the gaps will have the same duration.

EDIT: what was bad in my cue file is that there is no gap in the .wav itself. So
INDEX 0 00:00:00
INDEX 1 00:02:00
misses the first 2 seconds.
See the cdrecord manual and look at the padsize= option.
 
Old 04-24-2012, 03:26 PM   #6
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
Thanks, SharpyWarpy. I was using cdrdao with the PREGAP XX:XX:XX instruction to write audio but will now use cdrecord, which I trust better, with padsize=.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Track Your Missing Notebook with Pombo LXer Syndicated Linux News 0 12-03-2009 07:00 PM
Cross-compile cdrdao in ppc ,cdrdao's size is too large hougaga Linux - Software 3 02-27-2008 09:15 AM
KSCD: track doesn't play at start; skips the first (two) seconds JBailey742 Linux - Software 0 09-11-2006 04:19 PM
cdrdao scanbus problem, user missing cdrw divukman Debian 3 04-06-2006 12:25 AM
CDRDAO Hidden track tecker Linux - General 0 10-20-2004 12:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:48 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration