Author Topic: Division cue file.  (Read 1425 times)

Fox63

  • Full Member
  • ***
  • Posts: 135
For the first time I tried to create a cue file to split the 1st and 5th tracks of 'Atom heart mother' which are divided into sub-tracks.

The result is there the two tracks are split but in fact it doesn't work.
When I want to listen to tracks 2 (including the 5th) onwards it always plays track 1a, while the other tracks of the 1st track are right.
I'm not sure if the cue also works for mp3s.
Surely I've done something wrong.
Can anyone help me out?

Translated with DeepL.com (free version)

Image


cue 1th track
Code
PERFORMER "Pink Floyd"
TITLE "Atom Heart Mother"
TRACK 01 AUDIO
TITLE "Father's Shout"
PERFORMER "Pink FLoyd"
REM tracciaST "1a"
INDEX 01 00:00:00
TRACK 02 AUDIO
TITLE "Breast Milky"
PERFORMER "Pink FLoyd"
REM tracciaST "1b"
INDEX 01 02:50:00
TRACK 03 AUDIO
TITLE "Mother Fore"
PERFORMER "Pink FLoyd"
REM tracciaST "1c"
INDEX 01 05:23:00
TRACK 04 AUDIO
TITLE "Funky Dung"
PERFORMER "Pink FLoyd"
REM tracciaST "1d"
INDEX 01 10:13:00
TRACK 05 AUDIO
TITLE "Mind Your Throats Please (Part 1)"
PERFORMER "Pink FLoyd"
REM tracciaST "1e"
INDEX 01 15:28:00
TRACK 06 AUDIO
TITLE "Mind Your Throats Please (Part 2)"
PERFORMER "Pink FLoyd"
REM tracciaST "1f"
INDEX 01 17:42:00
TRACK 07 AUDIO
TITLE "Remergence"
PERFORMER "Pink FLoyd"
REM tracciaST "1g"
INDEX 01 19:12:00

cue 5th track
Code
PERFORMER "Pink Floyd"
TITLE "Alan's Psychedelic Breakfast"
TRACK 01 AUDIO
TITLE "Rise and Shine"
REM tracciaST "5a"
PERFORMER "Pink FLoyd"
INDEX 01 00:00:00
TRACK 02 AUDIO
TITLE "Sunny Side Up"
REM tracciaST "5b"
PERFORMER "Pink FLoyd"
INDEX 01 03:33:00
TRACK 03 AUDIO
TITLE "Morning Glory"
REM tracciaST "5c"
PERFORMER "Pink FLoyd"
INDEX 01 07:45:00

vincent kars

  • Sr. Member
  • ****
  • Posts: 474
PERFORMER "Pink Floyd"
TITLE "Alan's Psychedelic Breakfast"
TRACK 01 AUDIO
TITLE "Rise and Shine"
REM tracciaST "5a"
PERFORMER "Pink FLoyd"
INDEX 01 00:00:00

Assuming a single file + cue, if you tell CUE 5 to start at 00:00:00, I expect it to start at the beginning of the file.


karbock

  • Sr. Member
  • ****
  • Posts: 563
Fox,
How many .mp3 files do you have for your album?
* One .mp3 for each track, plus a .cue sheet for track 1, and another for track 5?
* Or one big .mp3 for the whole album, and one .cue sheet?

Fox63

  • Full Member
  • ***
  • Posts: 135
PERFORMER "Pink Floyd"
TITLE "Alan's Psychedelic Breakfast"
TRACK 01 AUDIO
TITLE "Rise and Shine"
REM tracciaST "5a"
PERFORMER "Pink FLoyd"
INDEX 01 00:00:00

Assuming a single file + cue, if you tell CUE 5 to start at 00:00:00, I expect it to start at the beginning of the file.



Thank you for your answer
I think this is true when the file is unique.
In this case, track 5 is a separate file, in practice:
File 1 is a single file but I would like to split it into 6 sub-tracks like the original work which lasts 23 minutes and 44 seconds
File 2,3,4 are unique files with a single track and should not be split
File 5 is still a single file but I would like to split it into 3
In conclusion: it is not a single file, it is 5 separate mp3s.
In the 5th track I set the index to zero because it has to start playing from file 5's zero point.
What I don't understand is why playing file 2 which doesn't even have a cue in it starts playing from the 1st track of file 1 which has the cue.
For file 5 which has its own cue, different from what is in file 1, it must also start from the 1st track of file 1.
Unless: by putting a cue in the 1st file you must not put an index calculated for all tracks even if they are in other files.

karbock

  • Sr. Member
  • ****
  • Posts: 563
The problem in your case is linked with the track numbering.

Each "TRACK (nr.) AUDIO" line within a .CUE file defines a track with track number (nr.) for the concerned album.
Thus, as you have defined your two .CUE files, you end up having:
  • Several tracks with nr. 1:
    - Father's Shout (1a in your picture)
    - Rise and Sunshine (5a in your picture)
  • Several tracks with nr. 2:
    - Breast Milky
    - If
    - Sunny Side Up
  • Several tracks with nr. 3:
    - Mother Fore
    - Summer '68
    - Morning Glory
  • etc.
To solve this, you must keep the track numbers in sequence throughout the whole CD and the different .CUE sheets.
In this case:

  • The .CUE sheet for "Atom Heart Mother" (originally track 1) will contain tracks 01 -> 07
  • "If" becomes track 8
  • "Summer '68" becomes track 9
  • "Fat Old Sun" becomes track 10
  • The .CUE sheet for "Alan's Psychedelic Breakfast" will contain tracks 11 -> 13.
N.B.
Just to be sure: a .CUE sheet must include the filename at the beginning,
but you have probably not included that part in your post.
(See Wikipedia in EN and IT, or more details on HydrogenAudio (EN)).

How did you manage to display the subtrack IDs (1a -> 1f, and 5a -> 5c),
since REM clauses are ignored by MusicBee?

For the sake of legibility, it is best to indent the .CUE sheet lines (as in the Wikipedia examples), but it is not mandatory.

Fox63

  • Full Member
  • ***
  • Posts: 135
The problem in your case is linked with the track numbering.

Each "TRACK (nr.) AUDIO" line within a .CUE file defines a track with track number (nr.) for the concerned album.
Thus, as you have defined your two .CUE files, you end up having:
  • Several tracks with nr. 1:
    - Father's Shout (1a in your picture)
    - Rise and Sunshine (5a in your picture)
  • Several tracks with nr. 2:
    - Breast Milky
    - If
    - Sunny Side Up
  • Several tracks with nr. 3:
    - Mother Fore
    - Summer '68
    - Morning Glory
  • etc.
To solve this, you must keep the track numbers in sequence throughout the whole CD and the different .CUE sheets.
In this case:

  • The .CUE sheet for "Atom Heart Mother" (originally track 1) will contain tracks 01 -> 07
  • "If" becomes track 8
  • "Summer '68" becomes track 9
  • "Fat Old Sun" becomes track 10
  • The .CUE sheet for "Alan's Psychedelic Breakfast" will contain tracks 11 -> 13.
N.B.
Just to be sure: a .CUE sheet must include the filename at the beginning,
but you have probably not included that part in your post.
(See Wikipedia in EN and IT, or more details on HydrogenAudio (EN)).

How did you manage to display the subtrack IDs (1a -> 1f, and 5a -> 5c),
since REM clauses are ignored by MusicBee?

For the sake of legibility, it is best to indent the .CUE sheet lines (as in the Wikipedia examples), but it is not mandatory.

I seem to have already tried to do as you suggest, but I have made so many attempts that I am not sure. I will try it and then report the results.
On reflection, if track two becomes eight, the importance of numbering the tracks with 1a.1b,1c... is no longer relevant.
I wanted to do the discoGS style, replacing the numbering (in this thing is vinyl) with the more convenient CD numbering.

The REM command works, you have to remember to put the desired field completely blank in all tracks taken into account, before updating from the cue.
It seems that if it finds the field with any data it will not insert the data from the REM.
Then I created a virtual field with the condition if the field tracciaST is not empty put the data it contains, otherwise put the track number.

This does not work either. The only doubt is the index of tracks 8-9-10-11 (2-3-4-5) which I set to zero because they are separate files from the first one. I don't think track 8 (2) should be told to start at 23 minutes and 44 seconds.
Code
PERFORMER "Pink Floyd"
TITLE "Atom Heat Mother"
TRACK 01 AUDIO
TITLE "Father's Shout"
PERFORMER "Pink FLoyd"
REM tracciaST "1a"
INDEX 01 00:00:00
TRACK 02 AUDIO
TITLE "Breast Milky"
PERFORMER "Pink FLoyd"
REM tracciaST "1b"
INDEX 01 02:50:00
TRACK 03 AUDIO
TITLE "Mother Fore"
PERFORMER "Pink FLoyd"
REM tracciaST "1c"
INDEX 01 05:23:00
TRACK 04 AUDIO
TITLE "Funky Dung"
PERFORMER "Pink FLoyd"
REM tracciaST "1d"
INDEX 01 10:13:00
TRACK 05 AUDIO
TITLE "Mind Your Throats Please (Part 1)"
PERFORMER "Pink FLoyd"
REM tracciaST "1e"
INDEX 01 15:28:00
TRACK 06 AUDIO
TITLE "Mind Your Throats Please (Part 2)"
PERFORMER "Pink FLoyd"
REM tracciaST "1f"
INDEX 01 17:42:00
TRACK 07 AUDIO
TITLE "Remergence"
PERFORMER "Pink FLoyd"
REM tracciaST "1g"
INDEX 01 19:12:00
TRACK 08 AUDIO
TITLE "If"
PERFORMER "Pink FLoyd"
INDEX 01 00:00:00
TRACK 09 AUDIO
TITLE "Summer '68"
PERFORMER "Pink FLoyd"
INDEX 01 00:00:00
TRACK 10 AUDIO
TITLE "Fat Old Sun"
PERFORMER "Pink FLoyd"
INDEX 01 00:00:00
TRACK 11 AUDIO
TITLE "Rise and Shine"
REM tracciaST "5a"
PERFORMER "Pink FLoyd"
INDEX 01 00:00:00
TRACK 12 AUDIO
TITLE "Sunny Side Up"
REM tracciaST "5b"
PERFORMER "Pink FLoyd"
INDEX 01 03:33:00
TRACK 13 AUDIO
TITLE "Morning Glory"
REM tracciaST "5c"
PERFORMER "Pink FLoyd"
INDEX 01 07:45:00
Last Edit: July 02, 2024, 08:50:41 AM by Fox63

karbock

  • Sr. Member
  • ****
  • Posts: 563
This does not work either. The only doubt is the index of tracks 8-9-10-11 (2-3-4-5) which I set to zero because they are separate files from the first one. I don't think track 8 (2) should be told to start at 23 minutes and 44 seconds.
Code
PERFORMER "Pink Floyd"
TITLE "Atom Heat Mother"
...
TRACK 13 AUDIO
TITLE "Morning Glory"
REM tracciaST "5c"
PERFORMER "Pink FLoyd"
INDEX 01 07:45:00

If the .CUE above is supposed to be a single file, it can't work.

Just follow the steps below, where you keep five .MP3, and have a .CUE sheet for two of them.

FILENAMES:
Let's suppose you have for now the following audio files:
01 - Atom Heart Mother.mp3
02 - If.mp3
03 - Summer '68.mp3
04 - Fat Old Sun.mp3
05 - Alan's Psychedelic Breakfast.mp3

STEPS:
  • Update tag "Track#" in the .mp3 files as follows:
    - Track#=01 for "01 - Atom Heart Mother.mp3"
    - Track#=08 for "02 - If.mp3"
    - Track#=09 for "03 - Summer '68.mp3"
    - Track#=10 for "04 - Fat Old Sun.mp3"
    - Track#=11 for "05 - Alan's Psychedelic Breakfast.mp3"
  • Create "01 - Atom Heart Mother.cue", with the content given below.
  • Create "05 - Alan's Psychedelic Breakfast.cue", with the content given below.
  • Rescan you album.

01 - Atom Heart Mother.cue
Code
TITLE "Atom Heart Mother"
FILE  "01 - Atom Heart Mother.mp3" MP3
TRACK 01 AUDIO
  TITLE "Atom Heart Mother - (a) Father's Shout"
  PERFORMER "Pink Floyd"
  INDEX 01 00:00:00
TRACK 02 AUDIO
  TITLE "Atom Heart Mother - (b) Breast Milky"
  PERFORMER "Pink Floyd"
  INDEX 01 02:50:00
TRACK 03 AUDIO
  TITLE "Atom Heart Mother - (c) Mother Fore"
  PERFORMER "Pink Floyd"
  INDEX 01 05:23:00
TRACK 04 AUDIO
  TITLE "Atom Heart Mother - (d) Funky Dung"
  PERFORMER "Pink Floyd"
  INDEX 01 10:13:00
TRACK 05 AUDIO
  TITLE "Atom Heart Mother - (e) Mind Your Throats Please (Part 1)"
  PERFORMER "Pink Floyd"
  INDEX 01 15:28:00
TRACK 06 AUDIO
  TITLE "Atom Heart Mother - (f) Mind Your Throats Please (Part 2)"
  PERFORMER "Pink Floyd"
  INDEX 01 17:42:00
TRACK 07 AUDIO
  TITLE "Atom Heart Mother - (g) Remergence"
  PERFORMER "Pink Floyd"
  INDEX 01 19:12:00

05 - Alan's Psychedelic Breakfast.cue
Code
TITLE "Alan's Psychedelic Breakfast"
FILE  "05 - Alan's Psychedelic Breakfast.mp3" MP3
TRACK 11 AUDIO
  TITLE "Alan's Psychedelic Breakfast - (a) Rise and Shine"
  PERFORMER "Pink Floyd"
  INDEX 01 00:00:00
TRACK 12 AUDIO
  TITLE "Alan's Psychedelic Breakfast - (b) Sunny Side Up"
  PERFORMER "Pink Floyd"
  INDEX 01 03:33:00
TRACK 13 AUDIO
  TITLE "Alan's Psychedelic Breakfast - (c) Morning Glory"
  PERFORMER "Pink Floyd"
  INDEX 01 07:45:00

In the track titles, you can remove the prefixes "Atom Heart Mother - " and "Atom Heart Mother - " if you store the suite names in another tag (that will be shown as subgrouping header) in 01 - Atom Heart Mother.mp3 and 05 - Alan's Psychedelic Breakfast.mp3.

Fox63

  • Full Member
  • ***
  • Posts: 135
Meanwhile, thank you very much for your patience.
I entered the code you gave me but the result is always the same.
The song division is perfect but when I play a song, any song, it always starts with the first song of "another heart mother".
Maybe I'm wrong about the way to insert the cue.
I'll explain it to you:
1) I open the tag editor on the track where I want to insert the cue
2) I open the tag inspector
3) I add the cuesheet tag and in its value field I paste the cue code.
4) I update and save everything.
If I don't get this wrong either, I really don't know what else to do. I have already made many attempts but the result is always the same, starting with the first track.
Maybe it's a bug in the programme?

hiccup

  • Hero Member
  • *****
  • Posts: 9133
Do you perhaps have set: Preferences > Now Playing > clear list and play album only?

Fox63

  • Full Member
  • ***
  • Posts: 135
Do you perhaps have set: Preferences > Now Playing > clear list and play album only?
And yes it was!!!
In fact, changing to one of the other options works correctly.
I can't understand why!!!
Shouldn't it always play the album in order?

Now I like it and it works
Last Edit: July 02, 2024, 04:09:27 PM by Fox63

karbock

  • Sr. Member
  • ****
  • Posts: 563
I can't understand why!!!
It's a mystery to me too.
As it seems, it happens with this combination of factors:
* "Play Now action" is set to "clear list and play album only"
* only a part of the album is concerned by the cue sheet
EDIT: + or there are several cue sheets for the album.


Well done!
Last Edit: July 02, 2024, 09:44:07 PM by karbock

karbock

  • Sr. Member
  • ****
  • Posts: 563
In fact, changing to one of the other options works correctly.
I can't understand why!!!
Shouldn't it always play the album in order?
After several tests, I posted a detailed bug report here.


Fox63

  • Full Member
  • ***
  • Posts: 135
@Fox63:
The bug has been corrected:
https://getmusicbee.com/patches/MusicBee36_Patched.zip

It now works fine in whatever option you leave the play now setting.


Thank you for reporting the bug. I probably would have been confused not knowing English.