Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Test 24/96 vs CD resolution (Read 35143 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Test 24/96 vs CD resolution

Hi.

At afterdawn forums there is a new high resolution audio forum. Wilkes, a guy who has much experience in this field (e.g. rips vinyl to DVD-A AFAIK) thinks he can hear differences. So I asked him to do a blind test and he said he's ready.

My idea how this should be performed:

1. Take some audio sample(s) recorded at 24/96

2. Apply fb2k's scan per-file tack gain to avoid clipping and too low volume.

3. Create "A" sample(s) by using fb2k's diskwriter, 24/96 resolution, trackgain used.

4. Convert "A" to "A_downsampled": 16/44.1 using fb2k's diskwriter, noiseshaped dither, slow resampling

5. Create "B" by "A_downsampled" to 24/96 using fb2k's diskwriter, slow resampling, dither not important.

6. Use KikeG's fileABX to create randomized files from "A" and "B"

7. Author a DVD-A using the randomized files

8. Try to ABX


This should be about the capabilities of the formats, not about quality of DACs, mastering quality of different formats etc.

I'd like to know your ideas and suggestions of you about this.

2 1/2 Questions: Will fb2k's resampler give good results? Especially I'm concerned about downsampling and the filters applied there (-> aliasing). Or would it be better to use e.g. CEP at least for downsampling, maybe even to apply a lowpass manually? (which one?)

Thanks.

Cheers tigre
Let's suppose that rain washes out a picnic. Who is feeling negative? The rain? Or YOU? What's causing the negative feeling? The rain or your reaction? - Anthony De Mello

Test 24/96 vs CD resolution

Reply #1
Wouldn't it be easier to skip the resampling, and just do lowpass filtering plus dithering 8bit deep on file A?

Edit: needless quoting removed.

Test 24/96 vs CD resolution

Reply #2
Thanks for the input. Certainly it would be easier but
- One important thing from the theory why > 44100Hz sampling rates *could* sound better is this: If a high resolution file is lowpassed before resampling you have to choose: Apply a steep lowpass, e.g. 20000Hz: 0dB -> 22050Hz -90dB; Result: No aliassing but (pre)ringing and/or phase shift. The less steep a lowpass is the less ringing and/or phase shift you'll get but OTH at some point you'll get noticable aliassing and/or audible high frequency loss. I don't know which lowpass is the best compromise, that's why I ask. If this lowpass doesn't result in complete silence above 22050Hz, not resampling would be cheating as aliassing would be avoided. Additionally resampling isn't a lossless process, so without resampling the test would be biased against high resolution IMO.
- About dither I *think* you're right, but if resampling is done anyway ...

I think changing the resolution in a way that it could be burned to CD audio 1:1 will lead to less complaints afterwards.
Let's suppose that rain washes out a picnic. Who is feeling negative? The rain? Or YOU? What's causing the negative feeling? The rain or your reaction? - Anthony De Mello

Test 24/96 vs CD resolution

Reply #3
Might it be easier to create two spertate files: one 24bit and one 16bit from the same analogue source?  Although I suppose this would create a whole new set of factors.
gentoo ~amd64 + layman | ncmpcpp/mpd | wavpack + vorbis + lame

Test 24/96 vs CD resolution

Reply #4
Will the 8 bits dithering remove all informaton ? Won't there be some info still audible below the dither noise ? I think it's safer to go through a real 16 bits step.

Test 24/96 vs CD resolution

Reply #5
Quote
2. Apply fb2k's scan per-file tack gain to avoid clipping and too low volume.

3. Create "A" sample(s) by using fb2k's diskwriter, 24/96 resolution, trackgain used.

Is this step necessary? It could possibly introduce some degradation on both files created (A and B), thus maybe reduce the perceivable difference between them.

There is not much reason to listen to file A instead of the original, outside this test, anyway.

Test 24/96 vs CD resolution

Reply #6
Quote
Quote
2. Apply fb2k's scan per-file tack gain to avoid clipping and too low volume.

3. Create "A" sample(s) by using fb2k's diskwriter, 24/96 resolution, trackgain used.

Is this step necessary? It could possibly introduce some degradation on both files created (A and B), thus maybe reduce the perceivable difference between them.

There is not much reason to listen to file A instead of the original, outside this test, anyway.

You're right. This could be a weak point. But:
If the level of the source material (I don't provide it unless someone here knows a source for lossless high resolution samples) is too low (like peak level = -40dB), this could lead to cranced up volume on playback and the 16bit noise floor becoming noticable which wouldn't be fair IMO. If the source material contains already clipping, this could become worse by lowpassing and 2x resampling (similar to lossy encoding introducing clipping), which wouldn't be fair either. IIRC I've read here that DAC's (or was it ADC's) can't preserve full 24bit resolution anway because of molecular movement introducing noise (or similar).
Let's suppose that rain washes out a picnic. Who is feeling negative? The rain? Or YOU? What's causing the negative feeling? The rain or your reaction? - Anthony De Mello

Test 24/96 vs CD resolution

Reply #7
Quote
Will the 8 bits dithering remove all informaton ? Won't there be some info still audible below the dither noise ? I think it's safer to go through a real 16 bits step.

Sounds reasonable, but I have no idea. (Wouldn't 9bits dithering be necessary BTW?) I have experienced some surprises (e.g. noise bumping if dither depth is too low) when trying to understand how dither works a while back. This could be tested by comparing A: adding noise several times to a sample vs. B: adding noise + change res. 14->16bit; change res. back to 24bit several times but for me this isn't "A" priority ATM.


EDIT:
Any ideas what to use for lowpassing (what settings) and resampling? Is there anything that could give better results than fb2k? Anyone?
Let's suppose that rain washes out a picnic. Who is feeling negative? The rain? Or YOU? What's causing the negative feeling? The rain or your reaction? - Anthony De Mello

Test 24/96 vs CD resolution

Reply #8
  • I guess you're right, it would be biasing towards the 16/44 files if you didn't really go to 16/44 format. And if you didn't, indeed you'd need to dither 9 bits.
  • Wavgaining would imho be a solution to an avoidable problem: pick your source material carefully. I have some records that never clip (aren't even compressed it seems), and should be loud enough too. I'm sure they exist in 24/96 as well.
  • If you have trouble finding samples I can get them easily. Just call
  • DACs (and ADCs alike) can manage 20bit performance at best, iirc. In hifi equipment they don't even reach 20bit. (I think you could theoretically better that by freeze-cooling the chips, but it wouldn't help since the analog components would still impose a resolution barrier )
  • I'm not sure if it matters too much whether you use FB2k or CEP. I've never seen complaints about the algorithms they use.
  • Edit: fixed list

Test 24/96 vs CD resolution

Reply #9
Quote
  • If you have trouble finding samples I can get them easily. Just call

Call!  This would be great. It's kind of hard to get 24/96 samples if you are no audio engineer as DVD-A isn't rippable at full resolution so far (or have I missed something?). Maybe you could put some ~ 20 seconds samples to a new thread in "Uploads" forum so others who are interested in performing similar tests could use these samples?
Let's suppose that rain washes out a picnic. Who is feeling negative? The rain? Or YOU? What's causing the negative feeling? The rain or your reaction? - Anthony De Mello

Test 24/96 vs CD resolution

Reply #10
I'm planning to setup a similar test, but using real-world 16/44.1 and 24/96 DACs. The analog output from those DACs would be recorded with a 24/96 ADC. The first test would be about trying to tell the original from the 16/44.1 DAC - 24/96 ADC recorded one. If nobody can, then there's nothing more to check. If somebody could, then one would have to try other tests in order to know where the "bottleneck" is: at ADC, then at DAC, then you would have to try just with DSP (no hardware DACs between the process) and test if is the type of filtering used the bottleneck.

Patsoe:
Quote
If you have trouble finding samples I can get them easily. Just call.

All I lack for preparing the test is a proper 24/96 file (well, and spare time), because I didn't know how to have access to some, so help here would be very appreciated

Test 24/96 vs CD resolution

Reply #11
Hi KikeG! I've been waiting for your appearence here. What do you think about lowpassing/resampling quality? All I can find is that for 48kHz->44.1kHz SSRC/fb2k does a very good job, but I don't know about 96kHz->44.1kHz. 2Bdecided's post in this thread sounds like there are really good resamplers available for this task, but I'm not completely sure if SSRC/fb2k's is one of those.
Let's suppose that rain washes out a picnic. Who is feeling negative? The rain? Or YOU? What's causing the negative feeling? The rain or your reaction? - Anthony De Mello

Test 24/96 vs CD resolution

Reply #12
Tigre, about you proposed test, if you want to avoid superfluous processing as much as possible, then all you have to do is first remove frequencies over 22050 Hz, then convert to 16-bit with dither, and then again to 24 bit, this last process is lossless.

I recommend to perform the filtering with CEP FFT filter, using spline curves and a 256-point (in order to keep pre-echo as short as possible) Blackmann window that starts rolling at near 20 KHz and attenuates up to 100 dB at 22050 Hz.

(Other alternatives could be explored: a shorter pre-echo 128-point FFT filter that starts rolling at 19 KHz, or some of the scientific filters that have no pre-echo at all, but have phase distortion at cutoff frequency. Human ear is deaf to phase at high frequencies, so this can be a true alternative)

Save results as 32-bit fixed point, and then use FB2k to convert to 16-bit with strong noiseshaping. Then, convert again to 24-bit, either with CEP or FB2K, with no dither.

Edit:
SSRC uses a longer filter, so that pre-ringing when downsampling will be longer. I'd use fast mode, which I believe uses a shorter filter than slow mode. Still, it will be longer than what I propose with CEP. However, even so, I think this pre-ringing effect importance is quite small, and maybe inaudible in practice. Haven't checked, though.

Test 24/96 vs CD resolution

Reply #13
In that old thread, I was thinking of CEP being more than good enough for the task in hand.

You do need to resample to 44.1kHz, and then back again. The reason is because the quantisation noise is spread evening across the bandwidth of the signal. So a 16-bit 88.2kHz signal would have half the quantisation noise (at a given frequency) of a 16-bit 44.1kHz signal.


If I was doing the test, I'd do the following:

1. get a 2496 file which has no chance of clipping. In this case, it seems enough to record an LP at a sensible level.

A native 2496 digital recording might be better - I sent some to ff123 years ago. 2496 audiophile recordings on DVD-video discs (which came out before the DVD-audio standard was finalised) so allow digital output - so you can make a digital clone by recording the digital output into a 2496 capable sound card.

2. resample to 44.1kHz

3. dither to 16-bits. I'd be tempted just to use 1-bit RMS (2-bit peak to peak) triangular dither, no noise shaping.

If you want to use heavy noise shaping to maximise the SNR, do so, but it might be interesting to compare this with the above suggestion.

4. Convert the result(s) to 24-bit. That's just zero padding.

5. Resample to 96kHz.


or...

4. Convert the result(s) to 32-bit.

5. Resample to 96kHz

6. Dither to 24-bits, no noise shaping.


I'd use CEP because I'm familiar with it, but I'm sure foobar2k can do an excellent job. Someone would need to try some test files to check that everything is in order before carrying out the test.

Hope this helps. btw, count me in for listening!

Cheers,
David.

P.S. Another test could compare a 44.1 16-bit recording to a 2496 recording of same analogue source without any sample rate conversion. If no one can hear the difference here, then there's no point of any other test. If they can, then you move on to using a higher rate for A>D or D>A, as suggested by KikeG.

Test 24/96 vs CD resolution

Reply #14
KikeG & 2Bdecided, thanks for the responses.

Quote
Someone would need to try some test files to check that everything is in order before carrying out the test.

As it would be great to use free software for this (so everyone who wants can reapeat it) I'd like to test.

I have some ideas about what samples to use and what to look for:

- some sine sweep with frequencies > 22.050Hz, look for aliassing after lowpassing/resampling in frequency view + frequency analysis
- some single-sample clicks, look for (pre-) ringing in frequency analysis

any other useful samples?

BTW: Here's something that's post-ringing in my ears: In "Nyquist was wrong" thread Azeteq said
Quote
As it has been stated in this thread, it should be impossible to hear filter ringing with fc beyond human hearing. This is INCORRECT. It might be tempting to think so. The human hearing cannot hear steady-state sines over 20kHz. This has been concluded in millions of hearing tests all over the world. However, when listening to impulse responses, we have to take into account what is analyzing these sounds. The human ear has its own set of filters, analysis windows. Analyze a long enough impulse response with an auditory model and you will find that these filters are indeed triggered. This is why we can hear steepness of filters even when fs=96kHz and fc=47kHz.

As this discussion ended without real conclusion, I'm not completely sure if > 20kHz ringing is inaudible. Does anyone know facts about this (e.g. ABX-tests or similar performed)?
Let's suppose that rain washes out a picnic. Who is feeling negative? The rain? Or YOU? What's causing the negative feeling? The rain or your reaction? - Anthony De Mello

Test 24/96 vs CD resolution

Reply #15
Quote
(I don't provide it unless someone here knows a source for lossless high resolution samples)

I have the Cool Edit's Loopology cd, which contains 32bit samples, I don't think they're >44.1khz however.  Is that any use?
< w o g o n e . c o m / l o l >

Test 24/96 vs CD resolution

Reply #16
I missed the revival of that thread (it was on my birthday!).

I'd like to test the theory he's proposing. But he suggests that "Don't try the tests with Soundblasters, Midiman Deltas or anything in that range... The conversion process will most probably mask all of the effects."

Isn't the audiophile 2496 based on the Midiman Delta series? Doesn't that mean that, supposedly, no one here has a good enough sound card to test out these claims? Or am I mistaken about the model mentioned?


If I understand him correctly, the idea is that the cochlear amplifier (ie. the active process within the cochlea, which isn't fully understood I hasten to add!) does respond to HF sound that we can't actually hear when presented as a steady state tone. This response isn't to let us hear HF sound, but to trigger a change in the cochlea tuning and dynamic compression so that audible sounds are perceived differently.


For this to happen, these HF components need to

a )  get through the middle ear
b )  cause a movement of the basilar membrane
c )  be picked up by some hair cells on the basilar membrane.

These are difficult questions. For (a)... well, the middle ear isn't believed to be the limitting factor - in many mamals it passes sounds way above the audible frequency for that mamal. In humans, it's not so obvious that this is the case, but it doesn't seem to contribute greatly to the HF hearing limit.

For (b)... the sharp tuning curves we often see for the BM are due to the active process within the cochlea. In a dead cochlea, the curves aren't do sharp. It's typical that the highest resonant frequency on the cochlea is around 14-18kHz, with the skirts of the filter going higher than this. Maybe, without an active process, or with the active process not sharpening the filters, the skirts of the filter will go even higher. To 20kHz easily, but to 40kHz?

For ©... I don't know. Really.

Anyway, it's interesting to think about and ponder and test - is Azeteg still around to provide input?

If so, on what equipment do you consider this effect audible? Can you explain your idea (and where it came from, if it's not your idea) in any more detail? i.e. what is happening within the ear?

Cheers,
David.

P.S. I'm not buying this idea yet, but I want to find out where/why it's right or wrong.
EDIT: removed extra smilie

Test 24/96 vs CD resolution

Reply #17
Quote
You do need to resample to 44.1kHz, and then back again. The reason is because the quantisation noise is spread evening across the bandwidth of the signal.

You're right. I thought about that before replying, but then I thought about other things that would be needed and I finally forgot about that important point. So I would use same process I talked, but: after the filtering, resample to 44.1 KHz and then dither to 16 bit. Then, convert to 32 or 24 bit, and upsample to 96 KHz. The resampling can be performed with FB2K or CEP high quality with pre-post filter, since the previous filtering at 20 KHz will eliminate any ringing at this resampling process.

Edit:
about dither and such: I think flat (no noiseshaped) dither won't make an audible difference in practice, and maybe it's a wise idea to use it instead of strong noiseshaped filter. Maybe I'd use intermediate triangular shaped dither. Abut clipping: just make sure that neither of the files clip.

More edit:
David, what do you think about using an IIR filter (CEP scientific filters) with no pre-echo but more post-echo and non-linear phase distortion at high frequencies?

About ultra-hf becaming audible inside the ear: it could be due to basilar membrane not being perfectly linear, and still vibrate with ultra-hf sound. I recall about JJ (James Johnston) talking about this once. However, AFAIK it has been tested that hf inaudible tones don't intermodulate inside the ear and cause audible tones, but I could be wrong. So... I don't know that much.

Test 24/96 vs CD resolution

Reply #18
Quote
It's kind of hard to get 24/96 samples if you are no audio engineer as DVD-A isn't rippable at full resolution so far (or have I missed something?).

DVD-A I cannot rip either. But there are some DVD-V discs having 24/96 stereo sound which should be available from my library.
It will take me a couple of days (I fetched too many CDs - over my quotum for this week...), then I'll try to get some good ones.

Test 24/96 vs CD resolution

Reply #19
Quote
It will take me a couple of days (I fetched too many CDs - over my quotum for this week...), then I'll try to get some good ones.

Great, thank you!

Test 24/96 vs CD resolution

Reply #20
Quote
I have some ideas about what samples to use and what to look for:
...
any other useful samples?

I think it would be enough just to use a RMAA 5.1 24/96 wave test file that you can generate using asychronous testing, and analyze also with RMAA. Plus an impulse signal (1 high amplitude sample, surrounded by a few seconds of zero samples (silence), and maybe a sweep tone signal. The impulse signal is good for checking filter performance, mostly hf rejection and ringing in time domain. The sweep for checking for aliasing.



Test 24/96 vs CD resolution

Reply #23
Have you tried mail order from somewhere?

I've just ordered two of Chesky's DVD-As from amazon.co.uk.

You could ask at the Chesky forum about buying the discs outside the US, or visit a hi-fi shop, or just email chesky directly.

Remember - IIRC those DVD-V discs with 24/96 audio on them have no copy protection at all - I think you should encourage people who release things like this by buying their products, not copying them. What's more, Chesky is a great campaigner for having digital outputs put into DVD-A players - something the majors have said shouldn't happen.

Cheers,
David.

Test 24/96 vs CD resolution

Reply #24
Quote
Remember - IIRC those DVD-V discs with 24/96 audio on them have no copy protection at all - I think you should encourage people who release things like this by buying their products, not copying them. What's more, Chesky is a great campaigner for having digital outputs put into DVD-A players - something the majors have said shouldn't happen.

If you're referring to my copying them from the library - I'm paying a small amount to the copyright foundation for that for every disc. However, you're right in that it wouldn't be quite right to share those copies. But I believe using short samples (less than 30secs) is legal, and wouldn't do harm?