misreading wave file length?

Help
Neil Short
2005-12-10
2013-04-30
  • Neil Short
    Neil Short
    2005-12-10

    Standard simple audio cd writes do not work on this system. I can't figure out why. Could I be missing a library or something?

    I'm getting toc file errors:
    START 00:02:00 behind or at track end.

    sample session (bash shell):
    $ cdrdao write cd.toc
    Cdrdao version 1.2.1 - (C) Andreas Mueller <andreas@daneb.de>
      SCSI interface library - (C) Joerg Schilling
      Paranoia DAE library - (C) Monty

    Check http://cdrdao.sourceforge.net/drives.html#dt for current driver tables.

    ERROR: cd.toc:3: START 00:02:00 behind or at track end.

    $ cat cd.toc
    CD_DA
    TRACK AUDIO
    PREGAP 0:2:0
    FILE "lecture.wav" 0
    $ ls -l
    total 316546
    -rw-r--r--  1 neshort  neshort         52 Dec 10 11:48 cd.toc
    -rw-r--r--  1 neshort  neshort  323947018 Dec 10 11:23 lecture.wav

    =====
    other details:
    This exact process burns an audio CD on a similar nearby system.
    cdrdao-1.2.1 (both systems)
    system: FreeBSD 6.0 Release (problem system)
        (the system that works runs FreeBSD 4.11 Stable.)

     
    • Neil Short
      Neil Short
      2005-12-12

      workaround:
      instead of using PREGAP, use SILENCE.

       
    • Neil Short
      Neil Short
      2007-04-17

      I take it back. SILENCE doesn't work either.
      Please help. I am sure my toc file is set up properly but I'm getting errors. Somebody please verify or offer workaround.
      here's a sample run:

      bash2-2.05b$ cat cd_with_pregaps.toc
      CD_DA
      TRACK AUDIO
      SILENCE 0:2:0
      START
      FILE "01._American_Idiot.wav" 0
      TRACK AUDIO
      SILENCE 0:2:0
      START
      FILE "02._Jesus_Of_Suburbia.wav" 0
      TRACK AUDIO
      SILENCE 0:2:0
      START
      FILE "03._Holiday.wav" 0
      TRACK AUDIO
      FILE "04._Boulevard_Of_Broken_Dreams.wav" 0
      TRACK AUDIO
      SILENCE 0:2:0
      START
      FILE "05._Are_We_The_Waiting.wav" 0
      TRACK AUDIO
      FILE "06._St_Jimmi.wav" 0
      TRACK AUDIO
      SILENCE 0:2:0
      START
      FILE "07._Give_Me_Novoaine.wav" 0
      TRACK AUDIO
      SILENCE 0:2:0
      START
      FILE "08._Shes_A_Rebel.wav" 0
      TRACK AUDIO
      SILENCE 0:2:0
      START
      FILE "09._Extraordinary_Girl.wav" 0
      TRACK AUDIO
      FILE "10._Letterbomb.wav" 0
      TRACK AUDIO
      SILENCE 0:2:0
      START
      FILE "11._Wake_Me_Up_When_September_Ends.wav" 0
      TRACK AUDIO
      SILENCE 0:2:0
      START
      FILE "12._Homecoming.wav" 0
      TRACK AUDIO
      SILENCE 0:2:0
      START
      FILE "13._Whatsername.wav" 0
      bash2-2.05b$ cdrdao write --device 2,0,0 cd_with_pregaps.toc
      Cdrdao version 1.2.1 - (C) Andreas Mueller <andreas@daneb.de>
        SCSI interface library - (C) Joerg Schilling
        Paranoia DAE library - (C) Monty

      Check http://cdrdao.sourceforge.net/drives.html#dt for current driver tables.

      ERROR: cd_with_pregaps.toc:4: START 00:02:00 behind or at track end.

      ERROR: cd_with_pregaps.toc:8: START 00:02:00 behind or at track end.

      ERROR: cd_with_pregaps.toc:12: START 00:02:00 behind or at track end.

      ERROR: cd_with_pregaps.toc:18: START 00:02:00 behind or at track end.

      ERROR: cd_with_pregaps.toc:24: START 00:02:00 behind or at track end.

      ERROR: cd_with_pregaps.toc:28: START 00:02:00 behind or at track end.

      ERROR: cd_with_pregaps.toc:32: START 00:02:00 behind or at track end.

      ERROR: cd_with_pregaps.toc:38: START 00:02:00 behind or at track end.

      ERROR: cd_with_pregaps.toc:42: START 00:02:00 behind or at track end.

      ERROR: cd_with_pregaps.toc:46: START 00:02:00 behind or at track end.

      bash2-2.05b$