Since there continue to be some discussion regarding levels, I would like to describe the procedure that I used to verify that levels were not a problem for various sample rate conversion tests that I ran some years ago. Some tests were purely objective (examination and numerical processing of digital sample data) and some purely subjective (listening tests).
1. No sample ever hit the maximum (0 dBfs). IMO clipping a digital signal should be a capital crime. In general, I leave at least -0.5 dB if I have control over gain, much more with live recordings where the signal level may be unpredictable. If one is concentrating on the performance of the media (digital format) then one should use high level signals in this range, otherwise one is unnecessarily throwing away resolution. If one is concentrating on performance of a particular DAC then experiments should be done at a variety of levels, so as to understand the behavior of various sections of the DAC under near-overload conditions.
2. Unity gain when processing mid range test tones (e.g. 440 Hz, 1 kHz). Here I verified that the peak levels (dBfs) were the same within 0.01 dB. Since I worked with 24 bit files (or larger precision), gain changes could be used if necessary to achieve an accurate gain at one frequency. However, sample rate conversions inevitably involve some use of filters; there may be gain issues in the middle of the audio band due to effects characterized as "pass-band" ripple. I generally use test tones that peak at -12 dBfs to minimize the risk of "ear bleed". Looking at peak levels rather than RMS levels on these test tones is more reliable, because if one samples more than a single complete cycle of a periodic waveform the positive and negative peaks will be precise, whereas time averages (e.g. RMS) will depend on the phase at the sample end points.
Before conducting any time consuming listening tests, it is also desirable to vet an SRC to verify that it behaves in a linear fashion, i.e. any errors are determined by the noise floor of PCM word length and not numerical errors due to accumulation of round-off error or grosser errors. If the SRC isn't linear then it probably makes no sense to talk about "gain". See the Infinite Wave SRC web site for examples of non-linear SRC software. One example is the SRC that originally came with Sony SoundForge. Some years ago there was a lot of garbage DSP software on the market and one should not assume any software is acceptable unless it has been vetted.
If one is interested in the performance of various digital formats one must accept that these can never be completely determined by testing since one is comparing complete record-playback chains. If one wants to compare formats one needs to carefully vet the entire record playback chains to ensure that they do not contribute effects that may result in false negatives or false positives. This requires technical skill, including understanding how the equipment being used in the tests actually works, and assumes a reasonably high level of understanding of mathematics, physics, and electrical engineering, something beyond what one would learn in college level courses. All the necessary material is available for free and/or purchase on the Internet, with the real cost being in patience and time.
1. No sample ever hit the maximum (0 dBfs). IMO clipping a digital signal should be a capital crime. In general, I leave at least -0.5 dB if I have control over gain, much more with live recordings where the signal level may be unpredictable. If one is concentrating on the performance of the media (digital format) then one should use high level signals in this range, otherwise one is unnecessarily throwing away resolution. If one is concentrating on performance of a particular DAC then experiments should be done at a variety of levels, so as to understand the behavior of various sections of the DAC under near-overload conditions.
2. Unity gain when processing mid range test tones (e.g. 440 Hz, 1 kHz). Here I verified that the peak levels (dBfs) were the same within 0.01 dB. Since I worked with 24 bit files (or larger precision), gain changes could be used if necessary to achieve an accurate gain at one frequency. However, sample rate conversions inevitably involve some use of filters; there may be gain issues in the middle of the audio band due to effects characterized as "pass-band" ripple. I generally use test tones that peak at -12 dBfs to minimize the risk of "ear bleed". Looking at peak levels rather than RMS levels on these test tones is more reliable, because if one samples more than a single complete cycle of a periodic waveform the positive and negative peaks will be precise, whereas time averages (e.g. RMS) will depend on the phase at the sample end points.
Before conducting any time consuming listening tests, it is also desirable to vet an SRC to verify that it behaves in a linear fashion, i.e. any errors are determined by the noise floor of PCM word length and not numerical errors due to accumulation of round-off error or grosser errors. If the SRC isn't linear then it probably makes no sense to talk about "gain". See the Infinite Wave SRC web site for examples of non-linear SRC software. One example is the SRC that originally came with Sony SoundForge. Some years ago there was a lot of garbage DSP software on the market and one should not assume any software is acceptable unless it has been vetted.
If one is interested in the performance of various digital formats one must accept that these can never be completely determined by testing since one is comparing complete record-playback chains. If one wants to compare formats one needs to carefully vet the entire record playback chains to ensure that they do not contribute effects that may result in false negatives or false positives. This requires technical skill, including understanding how the equipment being used in the tests actually works, and assumes a reasonably high level of understanding of mathematics, physics, and electrical engineering, something beyond what one would learn in college level courses. All the necessary material is available for free and/or purchase on the Internet, with the real cost being in patience and time.
Last edited: