Pre-emphasis on CDs

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • Rolmill
    Full Member
    • Nov 2010
    • 634

    #16
    Many thanks to johnb for the above - I'll certainly be trying out V1 over the weekend.

    Just a quick question: am I correct in assuming that V2 (or a similar approach) cannot be used for files already ripped to MP3, because these have been compressed and cannot be restored to wav files?

    Comment

    • johnb
      Full Member
      • Mar 2007
      • 2903

      #17
      I wouldn't use the same type of procedure on mp3 files because mp3 is a lossy format and decoding/re-encoding the files would lead to some degrading of the audio quality. Whether the difference would be noticeable is another matter.

      Comment

      • Dave2002
        Full Member
        • Dec 2010
        • 17959

        #18
        Originally posted by johnb View Post
        I wouldn't use the same type of procedure on mp3 files because mp3 is a lossy format and decoding/re-encoding the files would lead to some degrading of the audio quality. Whether the difference would be noticeable is another matter.
        I don't know whether it would work satisfactorily with mp3 files. I would suggest giving it a try. There could be HF artefacts which would cause a problem, but on the other hand it might still do the trick. That's working on a .wav or equivalent version generated from the mp3s.

        Comment

        • Phileas
          Full Member
          • Jul 2012
          • 211

          #19
          Although I was aware that some of my ripped CDs might have pre-emphasis, for some reason it's only reading this thread this evening that prompted me to do something about it.

          Luckily my collection is relatively small but I checked my BIS CDs and all but two out of eight or nine have PE.

          Thanks johnb for the useful script for fixing my existing FLACs.

          (I did happen to notice on the first tracks I fixed that the conductor tag "Jarvi" got messed up slightly because my original tag had an umlaut over the a which got converted into something else but it's a minor issue.)

          Comment

          • ChrisBennell
            Full Member
            • Sep 2014
            • 171

            #20
            Interesting discussion which I need to investigate further.

            In recent years I have downloaded a lot of CDs and tracks in Flac format from on-line retailers like Presto Classical, as its usually quicker than ordering the CD. I usually burn the Flac files to CD. Does anyone know if these Flac files are also likely to have pre-emphasis? I must admit I have noticed no problems with the sound.

            Comment

            • Dave2002
              Full Member
              • Dec 2010
              • 17959

              #21
              Originally posted by Dave2002 View Post
              I don't know whether it would work satisfactorily with mp3 files. I would suggest giving it a try. There could be HF artefacts which would cause a problem, but on the other hand it might still do the trick. That's working on a .wav or equivalent version generated from the mp3s.
              Distracted by the discussions on the bargain thread, and the need to eat, I overlooked the fact that most people with a copy of the CD would not normally need to worry about mp3s, except perhaps for listening on portable players, and many people with legitimate mp3s would perhaps also have the original CDs, so it would be easier to regenerate the mp3 having sorted out the pre-emphasis first. I suppose some people might have downloaded mp3s, and then suspect that the pre-emphasis hadn't been sorted out properly by the suppliers, perhaps based on the kind of information we are building up here, in which case it might be worth trying to adjust the recordings accordingly.

              Comment

              • johnb
                Full Member
                • Mar 2007
                • 2903

                #22
                Originally posted by Phileas View Post
                (I did happen to notice on the first tracks I fixed that the conductor tag "Jarvi" got messed up slightly because my original tag had an umlaut over the a which got converted into something else but it's a minor issue.)
                Phileas, I think I might be able to amend the script to deal with that problem. I'll get back later today.

                Comment

                • johnb
                  Full Member
                  • Mar 2007
                  • 2903

                  #23
                  Amendment to Version 2 (removing pre-emphasis from flac files while retaining the tag information)

                  Phileas, can you please try the following amendments and let me know whether they work for you (they seem to solve the problem for me).

                  There are two changes:

                  1) The line:
                  %FLCMETA% --export-tags-to="%FILE%.tags" "%FILE%.flac"
                  Needs to be changed to:
                  %FLCMETA% --no-utf8-convert --export-tags-to="%FILE%.tags" "%FILE%.flac"

                  (The red is the part that is added to the line)



                  2) The line:
                  %FLCMETA% --import-tags-from="%FILE%.tags" "%FILE%_16DE.flac"
                  Needs to be changed to:
                  %FLCMETA% --no-utf8-convert --import-tags-from="%FILE%.tags" "%FILE%_16DE.flac"

                  (Again, the red is the part that is added to the line)

                  For someone who has already set up the batch file described in post #14 the easiest way to make the changes is to right click on the icon on your Desktop, then select "Edit".

                  Carefully copy and paste the red text into the right place in the relevant lines (making sure there is a space before and after the added text), then save.

                  I have amended the original in Post #14

                  Comment

                  • Eine Alpensinfonie
                    Host
                    • Nov 2010
                    • 20564

                    #24
                    I am still puzzled as to why pre-emphasis is necessary on a digital medium.

                    Comment

                    • Stunsworth
                      Full Member
                      • Nov 2010
                      • 1553

                      #25
                      Originally posted by Eine Alpensinfonie View Post
                      I am still puzzled as to why pre-emphasis is necessary on a digital medium.
                      It appears (and I could be wrong here) that it was used in early CDs to reduce the amount of noise introduced by using 14 bit chips and 'brick wall' filtering in some early CD players. Essentially as the treble was reduced in volume as part of the de-emphasis process, so were the spuria associated with the players electronics.
                      Steve

                      Comment

                      • Eine Alpensinfonie
                        Host
                        • Nov 2010
                        • 20564

                        #26
                        It sounds like Dolby B.

                        Comment

                        • Phileas
                          Full Member
                          • Jul 2012
                          • 211

                          #27
                          Originally posted by johnb View Post
                          Amendment to Version 2 (removing pre-emphasis from flac files while retaining the tag information)

                          Phileas, can you please try the following amendments and let me know whether they work for you (they seem to solve the problem for me)....
                          That works. Thanks.

                          Comment

                          • robk
                            Full Member
                            • Nov 2010
                            • 167

                            #28
                            Thanks johnb for your help with this.

                            It works for me too. I had a problem caused by my version of sox being a later one but that was easily resolved once I noticed it.

                            Comment

                            • Rolmill
                              Full Member
                              • Nov 2010
                              • 634

                              #29
                              Originally posted by robk View Post
                              Thanks johnb for your help with this.

                              It works for me too. I had a problem caused by my version of sox being a later one but that was easily resolved once I noticed it.
                              Yes, my thanks too - I just used your version 1 script and it worked fine, looks like a great time-saver for me .

                              Comment

                              Working...
                              X