Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Is there a way to create a CUE file based on this log file? (Read 147 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Is there a way to create a CUE file based on this log file?

if so, how do you figure out the Index 00 and Index 01 value based on the table below?

Also I have the length of each song, but only to the minute for e.g., song 1 is 3:24 min., song 2 is 3:55 min., but I don't have the precise second figure, I suppose I can set it at 0.5 sec. per song
==============================
输出格式    : 内部WAV例程
采样格式    : 44.100 Hz; 16 Bit; 立体声


CD内容目录(TOC)

     Track |   Start  |  Length  | Start sector | End sector
    ---------------------------------------------------------
        1  |  0:00.33 |  3:54.22 |        33    |    17604  
        2  |  3:54.55 |  3:55.73 |     17605    |    35302  
        3  |  7:50.53 |  3:50.25 |     35303    |    52577  
        4  | 11:41.03 |  5:33.62 |     52578    |    77614  
        5  | 17:14.65 |  3:42.08 |     77615    |    94272  
        6  | 20:56.73 |  4:59.05 |     94273    |   116702  
        7  | 25:56.03 |  4:14.22 |    116703    |   135774  
        8  | 30:10.25 |  3:56.30 |    135775    |   153504  
        9  | 34:06.55 |  7:29.53 |    153505    |   187232  
       10  | 41:36.33 |  4:09.62 |    187233    |   205969  

Re: Is there a way to create a CUE file based on this log file?

Reply #1
You have all information needed to create a cue in the table. The last portion after the dot in the time fields is sectors, just like in cue sheets. I assume the 33 sectors in the beginning have not been extracted so your cue can simply be constructed like this:
Code: [Select]
FILE "cdimage.wav" WAVE
  TRACK 01 AUDIO
    INDEX 01 00:00:00
  TRACK 02 AUDIO
    INDEX 01 3:54:55
  TRACK 03 AUDIO
    INDEX 01 7:50:53
...

If you have extracted and included the 33 sectors before the first track then you can include the info in the cue:
Code: [Select]
FILE "cdimage.wav" WAVE
  TRACK 01 AUDIO
    INDEX 00 00:00:00
    INDEX 01 00:00:33
  TRACK 02 AUDIO
    INDEX 01 3:54:55
...
Those 33 sectors contain 33 * 588 samples of audio, that's 0.44 seconds.