New Function: Update (PRE_EMPHASIS tag) Automatically – Use .CUE file?

フォーラム TuneBrowser New Function: Update (PRE_EMPHASIS tag) Automatically – Use .CUE file?

  • このトピックには21件の返信、2人の参加者があり、最後にTikiにより4年、 7ヶ月前に更新されました。
22件の投稿を表示中 - 1 - 22件目 (全22件中)
  • 投稿者
    投稿
  • #7897
    Andrew ACTON
    参加者

    Hello Tiki,

    Can you consider adding a new feature to TuneBroswer to automatically update the (PRE_EMPHASIS tag) when any file/folder is added to TuneBroswer?

    Today we update (manually) each track (PRE-EMPHASIS tag) to tell TuneBroswer to perform de-emphasis on of a track at playback.  This works perfectly, however it is a manual process.

    I was thinking this could be fully automated in TuneBroswer as follows:

    1) When adding folders/files to TuneBroswer, check for a .CUE file in the folder.

    Note: the .CUE is created by the CD ripping program and will contain the filenames and “FLAGS PRE” indicating pre-empahsis required for a track.

    2) If a .CUE file is found, check each track filename and update the (PRE_EMPHASIS tag) automatically when its added to the TuneBroswer database.

    Finished 🙂  No manual update required.

    It would also be useful to have a TuneBroswer option to enable/disable this .CUE file checking.

    What do you think?

    Thanks, Andrew

    #7907
    Tiki
    キーマスター

    Hi,

    Thank you for your suggestion. (^^)

    Well… TuneBrowser is already supporting CUE file reading. Are you talking about this function ?

    Currently, as you said, “FLAGS PRE” is not reading (ignoring).  It seems that it is not difficult to process “FLAGS PRE”‘ as PRE_EMPHASIS tag when reading CUE file. And it’s very nice.

    Usually, if CUE file found in the folder, TuneBrowser process it as a main file of music album and ignore music file (like *.flac) which is referenced from CUE file.

    But you seem to be talking about CUE files as additional information. I am concerned about my understand. Could you confirm my understand ?

    Thanks.

    #7922
    Andrew ACTON
    参加者

    Hi Tiki

    Thank you for reading my request.

    To clarify.

    (a) “It seems that it is not difficult to process “FLAGS PRE”‘ as PRE_EMPHASIS tag when reading CUE file.” That is exactly what I would like, TB reads the CUE file and automatically updates the PRE_EMPHASIS tag if it finds FLAGS PRE for a track.

    However…

    (b) I would also like an option to DISABLE all other CUE file data (if found).   I don’t use CUE files normally (and they can be problematic).  Unfortunately, to automate the “FLAGS PRE”‘ as PRE_EMPHASIS tag” we need the CUE file generated by the ripping process.

    So… perhaps we could have”

    CUE FILE OPTIONS:

    (ALL) = Read CUE File and apply ALL DATA to TB.

    (PRE) = Read CUE File and apply ONLY “FLAGS PRE” to PRE_EMPHASIS tag.

    (NO) = Do NOT read CUE File.

     

    Does this make sense?  Its possible?

    Regards

    Andrew

    #7927
    Tiki
    キーマスター

    Hi Andrew,

    I’m still confusing about your basic usage of cue file.

    Can you upload your cue file here ? Or can you send it to me ? Song file like flac/wav is not nessesary.

    #7930
    Andrew ACTON
    参加者

    Hi Tiki.

    Let me explain 🙂

    I want TuneBrowser to automatically update PRE_EMPHASIS tag.  To do that automatically we MUST read the .CUE file from the CD rip prosess (its the only way to know if a track has Pre-emphasis).

     

     

    Attachments:
    #7932
    Andrew ACTON
    参加者

    Also …

    I would also like another TuneBrowser option to control how TuneBrowser uses the CUE file contents.

     

    Something like:

    1. (ALL) = Read CUE File information (TuneBrowser does this already).

    2. (PRE) = Read CUE File and apply ONLY “FLAGS PRE” to PRE_EMPHASIS tag (ignore all other information from the CUE file).

    3. (NO) = Do NOT read CUE File.

    Personally, I want the “2. (PRE)” option for my use because I ONLY want to use the CUE file information to get “FLAGS PRE” … and thus automate the updating of PRE_EMPHASIS tag.

     

    Please tell me if I can help with additional examples.

    I will also add a CUE file sample to this post:

     

    #7933
    Andrew ACTON
    参加者

    REM GENRE Pop
    REM DATE 1981
    REM DISCID 7F08E909
    REM COMMENT “TEST RIP”
    CATALOG 3259180001124
    PERFORMER “ABBA”
    TITLE “The Visitors”
    REM COMPOSER “”
    FILE “ABBA\The Visitors\(01) The Visitors.wav” WAVE
    TRACK 01 AUDIO
    TITLE “The Visitors”
    PERFORMER “ABBA”
    REM COMPOSER “”
    ISRC SEA018100010
    INDEX 00 00:00:00
    INDEX 01 00:00:32
    FLAGS PRE
    FILE “ABBA\The Visitors\(02) Head Over Heels.wav” WAVE
    TRACK 02 AUDIO
    TITLE “Head Over Heels”
    PERFORMER “ABBA”
    REM COMPOSER “”
    ISRC SEA018100020
    INDEX 00 00:00:00
    INDEX 01 00:10:00
    FILE “ABBA\The Visitors\(03) When All Is Said And Done.wav”
    WAVE
    TRACK 03 AUDIO
    TITLE “When All Is Said And Done”
    PERFORMER “ABBA”
    REM COMPOSER “”
    ISRC SEA018100030
    INDEX 00 00:00:00
    INDEX 01 00:01:18
    FILE “ABBA\The Visitors\(04) Soldiers.wav” WAVE
    TRACK 04 AUDIO
    TITLE “Soldiers”
    PERFORMER “ABBA”
    REM COMPOSER “”
    ISRC SEA018100040
    INDEX 00 00:00:00
    INDEX 01 00:02:24
    FILE “ABBA\The Visitors\(05) I Let The Music Speak.wav” WAVE
    TRACK 05 AUDIO
    TITLE “I Let The Music Speak”
    PERFORMER “ABBA”
    REM COMPOSER “”
    ISRC SEA018100050
    INDEX 00 00:00:00
    INDEX 01 00:02:66
    FILE “ABBA\The Visitors\(06) One Of Us.wav” WAVE
    TRACK 06 AUDIO
    TITLE “One Of Us”
    PERFORMER “ABBA”
    REM COMPOSER “”
    ISRC SEA018100060
    INDEX 00 00:00:00
    INDEX 01 00:04:74
    FILE “ABBA\The Visitors\(07) Two For The Price Of One.wav” WAVE
    TRACK 07 AUDIO
    TITLE “Two For The Price Of One”
    PERFORMER “ABBA”
    REM COMPOSER “”
    ISRC SEA018100070
    INDEX 00 00:00:00
    INDEX 01 00:02:26
    FILE “ABBA\The Visitors\(08) Slipping Through My Fingers.wav”
    WAVE
    TRACK 08 AUDIO
    TITLE “Slipping Through My Fingers”
    PERFORMER “ABBA”
    REM COMPOSER “”
    ISRC SEA018100080
    INDEX 00 00:00:00
    INDEX 01 00:02:64
    FILE “ABBA\The Visitors\(09) Like An Angel Passing Through My
    Room.wav” WAVE
    TRACK 09 AUDIO
    TITLE “Like An Angel Passing Through My Room”
    PERFORMER “ABBA”
    REM COMPOSER “”
    ISRC SEA018100090
    INDEX 00 00:00:00
    INDEX 01 00:00:01

    #7934
    Andrew ACTON
    参加者

    Also 🙂

    You might wonder why:

    “2. (PRE) = Read CUE File and apply ONLY “FLAGS PRE” to PRE_EMPHASIS tag (ignore all other information from the CUE file).”

    is necessary?

    I prefer to use my FOLDER/FILENAME structure (generated automatically when ripping) and NOT the information from a .CUE file.

    To automate the CUE file “FLAGS PRE”  update to TuneBroswer PRE_EMPHASIS tag causes ALL the CUE file information to be used (and I do not want that information …. only “FLAGS PRE”).

    I hope that makes sense 🙂

    Thanks,

    Andrew

     

    #7935
    Tiki
    キーマスター

    Hi Andrew,

    Thank you very much for your detailed explanation.

    I know what you want to do. And I wanted to know relation between CUE file and each tracks in your environment.

    I said “TuneBrowser is already supporting CUE file reading”.  In my case, CUE file refers to one big music file (i.e. wav file), and this one music file contains all tracks. One CD is ripped as one file, and CUE file placed in same folder is defining how to divide each tracks by frame positions.

    This is my understand about CUE file, and is also implementation of the TuneBrowser.

    In your environment, according to the information you provided, each tracks are ripped as separate files. And it seems that CUE file is stored in another folder. These are part of I wanted to know. (^^)

    Now, I’ll start to consider what should TuneBrowser do.

     

    … And now I have one question. How do I determine the CUE file path from the music file path ?

     

    P.S. I love “Super Trouper” 🙂

    #7936
    Tiki
    キーマスター

    I wrote my message before your last “Also” message.

    #7938
    Andrew ACTON
    参加者

    Hi Tiki

    “… And now I have one question. How do I determine the CUE file path from the music file path ?”

    The CUE file should always be stored in the same directory as the ripped music files.  I think its reasonable for you (TuneBrowser) to only look in the current music file directory.

    Example:

    Directory of N:\Music\ABBA\Visitors

    20/02/2020 14:51 61,010,924 01. The Visitors.wav
    20/02/2020 14:53 40,183,964 02. Head Over Heels.wav
    20/02/2020 14:54 35,228,300 03. When All Is Said and Done.wav
    20/02/2020 14:55 49,497,884 04. Soldiers.wav
    20/02/2020 14:57 57,083,084 05. I Let the Music Speak.wav
    20/02/2020 14:58 41,858,588 06. One of Us.wav
    20/02/2020 14:59 38,532,860 07. Two for the Price of One.wav
    20/02/2020 15:00 41,242,364 08. Slipping Through My Fingers.wav
    20/02/2020 15:01 37,749,644 09. Like An Angel Passing Through My Room.wav
    20/02/2020 15:02 3,168 ABBA – Visitors.cue
    20/02/2020 15:02 12,024 ABBA – Visitors.log
    20/02/2020 14:49 206,065 Cover.jpg
    12 File(s) 402,608,869 bytes
    2 Dir(s) 162,141,831,168 bytes free

    🙂

    So far I only have ‘The Visitors’ … I will give“Super Trouper” a listen (in full)’

    Andrew

    #7939
    Tiki
    キーマスター

    Hi Andrew,

    Thank you for continuing discussion.

    Uploaded CUE file is containing relative path.

    FILE “ABBA\The Visitors\(01) The Visitors.wav” WAVE

    It seems that original place of CUE file was upper folder, and you moved CUE file manually. Is it correct ? (I am considering conflict with TuneBrowser current function of CUE file reading)

    And unfortunately, file name is different between CUE file “(01) The Visitors.wav” and directory “01. The Visitors.wav”.

    When TuneBrowser processes one track like “01. The Visitors.wav”, it have to consider how to determine (find) CUE file name, and how to determine track info in CUE file (it would be a track number…).

    I’ll continue to consider. If my understanding is not appropriate, please let me know.

    Thanks

    #7940
    Andrew ACTON
    参加者

    Hi Tiki

    Apologies for the confusion.  I was experimenting with 2 different RIPPING programs.  This is where the mis-match (you correctly point out) was created.  I also added a FLAGS PRE as an example because I am currently traveling and do not have access to all my physical CDs (and those with Pre-emphasis) for real testing.

    It seems there is no standard for where the CUE file should be saved.  My preferred RIPPING program saves it in the SAME DIRECTORY as the music files.  I also think that is a sensible place for the CUE file because its with the audio file(s).

    I have just completed a fresh RIP, CUE and DIR below:

    —————————————————————————

    Directory of N:\Music\ABBA\Visitors
    23/02/2020 20:15 <DIR> .
    23/02/2020 20:15 <DIR> ..
    23/02/2020 20:10 61,010,924 (01) The Visitors.wav
    23/02/2020 20:11 40,183,964 (02) Head Over Heels.wav
    23/02/2020 20:12 35,228,300 (03) When All Is Said and Done.wav
    23/02/2020 20:12 49,497,884 (04) Soldiers.wav
    23/02/2020 20:13 57,083,084 (05) I Let the Music Speak.wav
    23/02/2020 20:14 41,858,588 (06) One of Us.wav
    23/02/2020 20:14 38,532,860 (07) Two for the Price of One.wav
    23/02/2020 20:15 41,242,364 (08) Slipping Through My Fingers.wav
    23/02/2020 20:15 37,749,644 (09) Like An Angel Passing Through My Room.wav
    23/02/2020 20:15 1,592 ABBA – Visitors.cue
    23/02/2020 20:15 8,940 ABBA – Visitors.log

    —————————————————————————

    And the contents of the ABBA – Visitors.cue FILE:

    —————————————————————————

    CATALOG 3259180001124
    PERFORMER “ABBA”
    TITLE “Visitors”
    REM DATE “1981”
    REM GENRE “Pop”
    FILE “(01) The Visitors.wav” WAVE
    TRACK 01 AUDIO
    ISRC SEA018100010
    TITLE “The Visitors”
    PREGAP 00:00:32
    INDEX 01 00:00:00
    TRACK 02 AUDIO
    ISRC SEA018100020
    TITLE “Head Over Heels”
    INDEX 00 05:45:05
    FILE “(02) Head Over Heels.wav” WAVE
    INDEX 01 00:00:00
    TRACK 03 AUDIO
    ISRC SEA018100030
    TITLE “When All Is Said and Done”
    INDEX 00 03:46:42
    FILE “(03) When All Is Said and Done.wav” WAVE
    INDEX 01 00:00:00
    TRACK 04 AUDIO
    ISRC SEA018100040
    TITLE “Soldiers”
    INDEX 00 03:17:29
    FILE “(04) Soldiers.wav” WAVE
    INDEX 01 00:00:00
    TRACK 05 AUDIO
    ISRC SEA018100050
    TITLE “I Let the Music Speak”
    INDEX 00 04:37:54
    FILE “(05) I Let the Music Speak.wav” WAVE
    INDEX 01 00:00:00
    TRACK 06 AUDIO
    ISRC SEA018100060
    TITLE “One of Us”
    INDEX 00 05:18:46
    FILE “(06) One of Us.wav” WAVE
    INDEX 01 00:00:00
    TRACK 07 AUDIO
    ISRC SEA018100070
    TITLE “Two for the Price of One”
    INDEX 00 03:54:71
    FILE “(07) Two for the Price of One.wav” WAVE
    INDEX 01 00:00:00
    TRACK 08 AUDIO
    ISRC SEA018100080
    TITLE “Slipping Through My Fingers”
    INDEX 00 03:35:44
    FILE “(08) Slipping Through My Fingers.wav” WAVE
    INDEX 01 00:00:00
    FILE “(09) Like An Angel Passing Through My Room.wav” WAVE
    TRACK 09 AUDIO
    ISRC SEA018100090
    TITLE “Like An Angel Passing Through My Room”
    INDEX 01 00:00:00

    —————————————————————————

    I hope you can design TuneBroswer to:

    Check (crawl) the current directory for a .CUE file, and if found process for Pre-emphasis.  That will work 🙂 for me because my CUE is in the same directory as the music files (examples above).

    For other people, if their ripper program saved the  CUE file is in another directory (compared to the music files)… its a little complicated! 🙁

    P.S:  “ABBA – The Visitors” has no tracks with Pre-emphasis, however as you know ‘FLAGS PRE’ would be present for any track with Pre-emphasis.

    I look forward to seeing/using what you can automate in your design.

    Thx, Andrew

    #7951
    Tiki
    キーマスター

    Thank you for updating info.

    I can’t reach to consideration of pre-emphasis flag, yet (^^;. Unfortunately, uploaded CUE file seems strange. It is similar to noncompliant case shown here:

    FILE “(02) Head Over Heels.wav” WAVE” line is appeared afterTRACK 02 AUDIO” line. Almost FILE and TRACK descriptions are written with this style in this CUE file.

    But “FILE “(09) Like An Angel Passing Through My Room.wav” WAVE” line is appeared before TRACK 09 AUDIO” line (According to Hydrogenaudio, this style seems to be common).

    I know that there is no exact specification about CUE file, but in this case, relations between FILE and TRACK are not consistent in one file. So, it seems difficult to determine relations correctly between files and tracks…

    If my understanding is not appropriate, please let me know.

    Thanks

    #7954
    Andrew ACTON
    参加者

    Hi Tiki,

    Your analysis is 100% correct.  I also noticed this anomaly in the CUE file layout.   As you said, there is no absolute standard for CUE sheets.  It seems this  ‘noncompliance’ is most common.

    Please let me investigate this on my side.   It may be possible to get the ripping software updated to create a orderly CUE file so its always in the following order (FILE/TRACK/TITLE/FLAGS) and NOT mixed up (‘noncompliance’).

    What we need (for easy processing of the FLAGS PRE)

    FILE “(01) The Visitors.wav” WAVE
    TRACK 01 AUDIO
    TITLE “The Visitors”
    FLAGS PRE
    <other data>

    FILE “(02) Head Over Heels.wav” WAVE
    TRACK 02 AUDIO
    TITLE “Head Over Heels”
    FLAGS PRE
    <other data>

    Repeat for other tracks on the CD…

    I will get back to you, please keep this thread open 🙂

    Andrew

    #7955
    Tiki
    キーマスター

    Thank you for your follow up.

    I keep this topic open. 🙂

    #7956
    Andrew ACTON
    参加者

    Hi Tiki,

    Problem solved.

    With my preferred CD ripping program if I DO NOT DETECT pre-gaps I get the correct (FILE/TRACK/TITLE/<other data>) arrangement for all tracks in the CUE file. 🙂

    Can you process this format?

    Note: ‘FLAGS PRE’ will be present on a line AFTER the ‘TRACK xx AUDIO’ lines if Pre-emphasis is required.

     

    CATALOG 3259180001124
    PERFORMER “ABBA”
    TITLE “Visitors”
    REM DATE “1981”
    REM GENRE “Pop”
    REM COMMENT “EZ CD Audio Converter 9.1.0 [64-bit]”
    FILE “(01) The Visitors.wav” WAVE
    TRACK 01 AUDIO
    ISRC SEA018100010
    TITLE “The Visitors”
    INDEX 01 00:00:00
    FILE “(02) Head Over Heels.wav” WAVE
    TRACK 02 AUDIO
    ISRC SEA018100020
    TITLE “Head Over Heels”
    INDEX 01 00:00:00
    FILE “(03) When All Is Said and Done.wav” WAVE
    TRACK 03 AUDIO
    ISRC SEA018100030
    TITLE “When All Is Said and Done”
    INDEX 01 00:00:00
    FILE “(04) Soldiers.wav” WAVE
    TRACK 04 AUDIO
    ISRC SEA018100040
    TITLE “Soldiers”
    INDEX 01 00:00:00
    FILE “(05) I Let the Music Speak.wav” WAVE
    TRACK 05 AUDIO
    ISRC SEA018100050
    TITLE “I Let the Music Speak”
    INDEX 01 00:00:00
    FILE “(06) One of Us.wav” WAVE
    TRACK 06 AUDIO
    ISRC SEA018100060
    TITLE “One of Us”
    INDEX 01 00:00:00
    FILE “(07) Two for the Price of One.wav” WAVE
    TRACK 07 AUDIO
    ISRC SEA018100070
    TITLE “Two for the Price of One”
    INDEX 01 00:00:00
    FILE “(08) Slipping Through My Fingers.wav” WAVE
    TRACK 08 AUDIO
    ISRC SEA018100080
    TITLE “Slipping Through My Fingers”
    INDEX 01 00:00:00
    FILE “(09) Like An Angel Passing Through My Room.wav” WAVE
    TRACK 09 AUDIO
    ISRC SEA018100090
    TITLE “Like An Angel Passing Through My Room”
    INDEX 01 00:00:00

     

    What do you think?

    Andrew

     

    #7960
    Tiki
    キーマスター

    Hello Andrew,

    Very quick (^^;.

    New CUE file layout seems simple and perfect. Now I can start consideration of conflict with TuneBrowser original CUE file function (was talked here).

    Please give me a while. “A while” takes some days or weeks…

    Thank you.

    #7961
    Andrew ACTON
    参加者

    Hi Tiki,

    Please take your time, do not make yourself too busy.  🙂    I look forward to seeing your solution to automate the Pre-emphasis tag setting via CUE sheet.

    P.S

    Oh, and when you design the solution, please also consider the previous suggestion (i.e. 1. (ALL) = Read CUE File information (TuneBrowser already does this). 2. (PRE) = Read CUE File and apply ONLY “FLAGS PRE” to PRE_EMPHASIS tag (ignore all other information from the CUE file). 3. (NO) = Do NOT read CUE File.

    Cheers, Andrew

    #8000
    Andrew ACTON
    参加者

    Hi Tiki,

    Appending another real example of a .CUE file generated for a RIP of a CD with with Pre-emphasis.  This CD was one of the ‘first 50’ released for sale in Japan October 1982 🙂

    <>><><><><><><><><><><><><><><><><><><><><><><><><><>

    TITLE “Grieg Piano Concerto”
    PERFORMER “中村紘子”
    REM DATE “1979”
    REM GENRE “Early Music”
    REM SONGWRITER “Grieg”
    REM FLAGS “PRE”
    REM PRE_EMPHASIS “1”
    FILE “(01) Grieg Piano Concerto In A Minor, Op. 16 1, Allegro Molto Moderato.wav” WAVE
    TRACK 01 AUDIO
    TITLE “Grieg Piano Concerto In A Minor, Op. 16: 1, Allegro Molto Moderato”
    FLAGS “PRE”
    SONGWRITER “Grieg”
    INDEX 01 00:00:00
    FILE “(02) Grieg Piano Concerto In A Minor, Op. 16 2, Adagio.wav” WAVE
    TRACK 02 AUDIO
    TITLE “Grieg Piano Concerto In A Minor, Op. 16: 2, Adagio”
    FLAGS “PRE”
    SONGWRITER “Grieg”
    INDEX 01 00:00:00
    FILE “(03) Grieg Piano Concerto In A Minor, Op. 16 3, Allegro Moderato E Marcato.wav” WAVE
    TRACK 03 AUDIO
    TITLE “Grieg Piano Concerto In A Minor, Op. 16: 3, Allegro Moderato E Marcato”
    FLAGS “PRE”
    SONGWRITER “Grieg”
    INDEX 01 00:00:00
    FILE “(04) Chopin Andate Spianato And Grand Polonaise Brillante, Op.22.wav” WAVE
    TRACK 04 AUDIO
    TITLE “Chopin Andate Spianato And Grand Polonaise Brillante, Op.22”
    FLAGS “PRE”
    SONGWRITER “Grieg”
    INDEX 01 00:00:00

    <>><><><><><><><><><><><><><><><><><><><><><><><><><>

    #8002
    Tiki
    キーマスター

    Hi Andrew,

    Thank you for additional sample.

    中村紘子 san was famous pianist in Japan. It is amazing that you have her CD.

    And from next time, please use “Attachments” function of this forum if possible. The text pasted into the topic may not be accurate because the character code etc. may be changed by the system.

    Thanks again.

    #8207
    Tiki
    キーマスター

    The result of this topic is reported on this topic.

    So this topic is closed.

22件の投稿を表示中 - 1 - 22件目 (全22件中)
  • トピック「New Function: Update (PRE_EMPHASIS tag) Automatically – Use .CUE file?」には新しい返信をつけることはできません。