title
Products            Buy            Support Forum            Professional            About            Codec Central
 

Ripping HDCDs: Best practices?

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • Porcus
    replied
    Re: Ripping HDCDs: Best practices?

    tewill: the foobar2000 plugin is here: http://www.foobar2000.org/components/view/foo_hdcd



    Originally posted by tewill
    Personally I'm all about the "rip once" philosophy, and shudder at the thought of having to dig out CDs to re-rip.
    Yeah ... I still haven't re-ripped the CDs I ripped with the HDCD converting to 24 bits :-( Only a few, which were readily available.



    Originally posted by tewill
    I've read some posts by Porcus (one of which he references above) and although I don't have this knowledge about HDCDs, he argues that - if I'm understanding him correctly - there are HDCD features that can be lost by using the HDCD DSP as well as that there are albums (or even individual tracks, I believe) that can be flagged as HDCD yet don't contain the increased bit depth.
    - The transient filters have not been implemented by software. If you decode once, you will lose the ability to later decode those filters. I don't know what those filters do, and whether they are good for anything. A few words here: http://www.hydrogenaudio.org/forums/...dpost&p=737725. (Oh, by the way: I don't even know what happens if the HDCD is applied, but there is no peak extension and no 6dB reduction, only low-level extension; could it then be that the HDCD flags are not destroyed, and the LLE is doubled if it is passed on to a HDCD-aware DAC? I have no idea.)

    - There are albums which are flagged as HDCD, but don't use HDCD features. (Again, see previous link.) From my own collection: Bruce Springsteen's «Tracks» box: of the four CDs, the foobar2000 component flags three tracks with one feature «intermittent» (which I don't really know what means in this case, as the correction is 0dB), and that's it. Using foobar2000 with foo_hdcd. dBpoweramp with HDCD.exe created 24-bits file of these (I re-ripped).

    - Yes, there are albums where some but not all tracks have HDCD codes, and not only various artists compilations: I ripped Ani DiFranco / Utah Phillips: Fellow Workers with dBpoweramp using the HDCD.exe DSP. Of the eighteen tracks, numbers 4, 5, 6, 10, 13, 14 and 15 ended up as 24 bits files, the nine others did not.
    Last edited by Porcus; November 20, 2012, 11:04 PM.

    Leave a comment:


  • pablogm123
    replied
    Re: Ripping HDCDs: Best practices?

    foo_hdcd can analyze already ripped files, and reports if contains standard/HDCD content. If needed, you can encode a decoded set of files (for example, for a hardware player which doesn't support HDCD) by the HDCD DSP.

    Leave a comment:


  • tewill
    replied
    Re: Ripping HDCDs: Best practices?

    Originally posted by pablogm123
    I do prefer the option A, to have a backup copy in lossless format. Then, I would analyze the music library (at least the freshly ripped portion) by the Foobar 2000 foo_hdcd plug-.in, and I would encode a second copy applying option C by the music converter and DSP HDCD with +6db amplification checked. I would tag the decoded album this way: [NAME OF ORIGINAL ALBUM] HDCD.
    I'm not familiar with this plug-in; it looks like it functions to decode HDCDs for the foobar2000 player, but I'm assuming it can prominently flag a 16 bit stream as HDCD, and therefore offer an easier way to discover which 16 bit FLACs are HDCD encoded?

    I haven't yet experimented much with option B, using the HDCD DSP without any amplification, and am curious if the volume is so low that it becomes prohibitive. That is, I usually play my audio files without using ReplayGain (although I do write the tags), as I prefer the sound without it and don't mind turning the volume up or down a bit if need be. But, if option B makes the volume so low that turning up the volume can't get it to a listenable level, then it would seem that some amplification would be necessary (or else you'd need to have ReplayGain tags written and it turned on in your player). Although Spoon in this post recommends option D over C, I imagine b/c of the potential for clipping, I'm however equally concerned about losing the dynamics of the album as a whole by using option D. And again, my hope is to not have to change my ripping process for each individual HDCD, e.g. whether a particular HDCD is loud enough to use no amplification, quiet enough to use the +6 dB amplification, or balanced enough to use ReplayGain track gain info to amplify each track.

    I do definitely agree with you about having a lossless backup.

    Leave a comment:


  • tewill
    replied
    Re: Ripping HDCDs: Best practices?

    Originally posted by Mike48
    tewill,

    I make no claims about best practices, but I use your method "C". Not every playback device can decode HDCD, so why not take care of that while ripping? I increase the volume because it is a form of leveling that can be done with no loss of quality. And yes, my library is primarily for listening. I use the physical CD as the archive (though I make frequent backups).
    My main concern with option C is that, in most cases when I've added the default +6 dB, the tracks showed quite a lot of clipping. Admittedly I had difficulty hearing a difference between tracks with and without this clipping, and not all tracks I've done this to have shown clipping, but again my ideal goal is to develop best practices so I don't have to use a different approach for each HDCD I rip. Currently I use my FLACs as an archive and put my CDs in storage, so am reluctant to make any changes that directly affect the lossless audio. Personally I'm all about the "rip once" philosophy, and shudder at the thought of having to dig out CDs to re-rip. So, even if I were to use the HDCD DSP, I'd likely create a second FLAC copy with it applied.

    Originally posted by Mike48

    I do not believe that any discs have been made that are only part HDCD. The exception might be a demo disc comparing HDCD to non-HDCD. I would expect that dBpa works on a track-by-track basis, though I don't know that for a fact.
    I've read some posts by Porcus (one of which he references above) and although I don't have this knowledge about HDCDs, he argues that - if I'm understanding him correctly - there are HDCD features that can be lost by using the HDCD DSP as well as that there are albums (or even individual tracks, I believe) that can be flagged as HDCD yet don't contain the increased bit depth.

    Leave a comment:


  • Porcus
    replied
    Re: Ripping HDCDs: Best practices?

    @ tewill:


    Yeah, a FAQ ...

    If you are ripping to lossless, then my recommendation is option A: keep the CD intact and decode upon playback. Reasons posted at http://forum.dbpoweramp.com/showthre...l=1*post119732 . One of the reasons is that you do not need the physical CD to decode HDCD. You can always decode later, but decoding is irreversible.


    A few more notes re your options:
    (A): If you care about the 'transient filter', then there is no software implementation. Only way to have that processed - if such one exists! - is to feed the unprocessed signal to a HDCD-aware DAC.
    (B) / (C): Here starts trouble: the tracks on a CD may not all have the same flag. For this reason, I would in the least want the entire CD ripped and scanned before considering HDCD decoding.


    Re ReplayGain: Beware the difference between the ReplayGain and the ReplayGain Apply DSPs; the latter alters the audio, the former writes tags.


    Re your consideration *2: I'd say that options B, C & D are relevant to those who do not play lossless. Lossless files can be decoded afterwards, lossy files (likely!) not.

    Re your 3: ReplayGain should normally be applied on album basis. Then you might be in trouble of some are boosted and others not. A player like foobar2000 allows for manual ReplayGain adjustment.

    Re your 4: If your software/hardware cannot playback HDCD, then you can always apply the HDCD DSP afterwards.

    Re your 5: Yes, true, and I agree with the consequence you draw; again, you can do HDCD decoding later if you want to.

    Re your 6: If you transcode to lossy - supposing you want the added dynamics from e.g. the peak extension - then I would decode first.

    Re your 7: The hdcd.exe can be used to scan and report without any actual conversion. Myself I rather use foobar2000 with the HDCD component.

    Leave a comment:


  • pablogm123
    replied
    Re: Ripping HDCDs: Best practices?

    I do prefer the option A, to have a backup copy in lossless format. Then, I would analyze the music library (at least the freshly ripped portion) by the Foobar 2000 foo_hdcd plug-.in, and I would encode a second copy applying option C by the music converter and DSP HDCD with +6db amplification checked. I would tag the decoded album this way: [NAME OF ORIGINAL ALBUM] HDCD.

    Leave a comment:


  • Mike48
    replied
    Re: Ripping HDCDs: Best practices?

    tewill,

    I make no claims about best practices, but I use your method "C". Not every playback device can decode HDCD, so why not take care of that while ripping? I increase the volume because it is a form of leveling that can be done with no loss of quality. And yes, my library is primarily for listening. I use the physical CD as the archive (though I make frequent backups).

    I do not believe that any discs have been made that are only part HDCD. The exception might be a demo disc comparing HDCD to non-HDCD. I would expect that dBpa works on a track-by-track basis, though I don't know that for a fact.

    I would want the full dynamic range (24 bits) sent to the lossy codec. However, this is somewhat academic, because the point of using a lossy codec is convenience, not sound quality. When making mp3 copies, such things don't really bother me. I use the dBpa DSP facilities to reduce bit depth while converting.

    I agree, it would be nice for dBpa to flag HDCD files as such in the tags.

    Leave a comment:


  • garym
    replied
    Re: Ripping HDCDs: Best practices?

    Originally posted by tewill
    In this context I'm referring to ReplayGain being used as an option for the Volume Normalize DSP. From the Volume Normalize help: "ReplayGain: a more advanced normalization, the average loudness is calculated and the volume is adjusted. This method does not use ID Tags to store ReplayGain values, rather the audio is adjusted."
    Ok. Bad idea to do this in my opinion. Rips are no longer lossless.

    Leave a comment:


  • tewill
    replied
    Re: Ripping HDCDs: Best practices?

    In this context I'm referring to ReplayGain being used as an option for the Volume Normalize DSP. From the Volume Normalize help: "ReplayGain: a more advanced normalization, the average loudness is calculated and the volume is adjusted. This method does not use ID Tags to store ReplayGain values, rather the audio is adjusted."

    Leave a comment:


  • garym
    replied
    Re: Ripping HDCDs: Best practices?

    Can't answer, but two things. One, replaygain DSP simply adds tags. It doesn't change audio at all. Resulting flac file is still lossless aydio rip. Then players use these tags to adjust volume. Second, when adding RG tags, you can add track gain and album gain. My players (squeeezeboxes or foobar2000) can use either. To maintain inter-track, intra-album volume differences, use album RG.

    Leave a comment:


  • tewill
    started a topic Ripping HDCDs: Best practices?

    Ripping HDCDs: Best practices?

    I apologize in advance for this lengthy post and its wordy questions, but after a lot of reading I'm still unsure what the best general approach is for ripping HDCDs, and from what I can tell there is no FAQ or definitive best practices recommended by illustrate. This might be a bit pedantic, but I'm really hoping those of you who know a lot about this can help me determine best practices in their absence.

    What I've found so far suggests when ripping HDCDs you should either:


    A. Rip them as-is - to a 16 bit FLAC - and let your device handle HDCD decoding.

    B. Rip them using the HDCD DSP (to a 24 bit FLAC), with the +6 dB Amplification *unchecked.*

    C. Rip them using the HDCD DSP, with the +6 dB Amplification checked.

    D. Rip them using the HDCD DSP, don't check the +6 dB, but add the Volume Normalize DSP with the ReplayGain (track gain) option set.


    I'm uncertain which of these is the better choice, and had some questions:

    1. I understand C & D above are suggested b/c the 24 bit FLAC would otherwise be significantly quieter, and that D is recommended over C because the amplification will be customized to the specific track (and minimize clipping), but I thought it's considered a big no-no to apply gain by modifying the audio in the file itself? [Edit: My understanding is that C & D are also suggested due to situations where ReplayGain tags can't be used to otherwise increase the volume, when the HDCD DSP is used. And, BTW, the +6 dB amplification option is checked by default when using the HDCD DSP.]

    2. It seems like B, C, & D are primarily relevant to those who play FLACs - as opposed to using them as archives - but if you wanted to apply the HDCD DSP, wouldn't a good best practice be to first rip to FLAC without the HDCD DSP, then create a second copy for listening via B, C, or D (using dMC), so that you still have an unadulterated copy?

    3. Is option D really better than C? I've still seen clipping on such rips (although much less), and it seems in theory that amplifying all the tracks with track gain would remove any nuances within the album, e.g. where some tracks are intentionally quieter. Alternatively, it seems the +6 dB option would retain the nuances, but then greatly increase the chances of clipping (most I've ripped had *lots* of clipping). Could this provide reason to instead go with option A or B?

    4. Is the HDCD DSP even necessary? My understanding is that the sole reason to apply it is in case you have a device that cannot decode HDCDs. But, do most modern devices decode HDCDs? In other words, is the proportion of devices that can't decode HDCDs high enough to justify using the HDCD DSP as a best practice, or is the opposite the case? Is there another reason to use the HDCD DSP, e.g. does it somehow ensure the sound is superior over device-dependent decoding?

    5. Is it true that some tracks in an album might be HDCD encoded whereas others are not, and that only certain HDCD features might be applied (and not others) to any given track? If these are the case, could they further support that the best practice should be A above, as it otherwise might be challenging to discover which tracks need amplification, etc. and you should instead just let your device determine what needs to be done (just as it would if you were playing the HDCD directly)?

    6. And, what about transcoding to a lossy format from a FLAC that was ripped from an HDCD? I've read that mp3s have no fixed bit depth, with the encoding stored as floating point, that most decoders decode to 16 bit, and if they do have the ability to decode to different bit rates they need to be configured to do so (and I imagine manually set back to 16 bit afterwards). That said, does the audio quality in an mp3 transcoded from a FLAC ripped from an HDCD depend upon the method (A, B, C, or D) used to rip the FLAC? For example, is the quality improved when using A, as LAME would see the FLAC as 16 bit, compared to B, C, or D, where LAME sees the FLAC as 24 bit?

    7. As an aside, I think it would be great if CD Ripper flagged FLACs ripped from HDCDs, because if you don't know they're from HDCDs, the only way to find out is to use dMC to "convert" them to FLAC but with the HDCD DSP applied, to see if the outputted files are 24 bit. I saw that someone recommended adding "HDCD" to the Source tag instead of "CD."

    Thanks!
    Last edited by tewill; November 17, 2012, 12:58 AM.
Working...

]]>