Skip to main content

Topic: Audio from vinyl (24 / 96-192 khz). Converting/downsampling? (Read 19348 times) previous topic - next topic

0 Members and 1 Guest are viewing this topic.
  • Porcus
  • [*][*][*][*][*]
Audio from vinyl (24 / 96-192 khz). Converting/downsampling?
Reply #25
But ... if the peak measures to 0.999, and the resampling clips, then the clipping is what? An unwanted artifact of the algorithm?

  • pdq
  • [*][*][*][*][*]
Audio from vinyl (24 / 96-192 khz). Converting/downsampling?
Reply #26
The resampling produced samples that were beyond +-1, but the resampling itself did not produce distortion. It's when you try to represent those values in a container that has inadequate range, and so have to clamp the values to represent them, that the distortion occurs.

  • Taishou
  • [*]
Audio from vinyl (24 / 96-192 khz). Converting/downsampling?
Reply #27
Well, I decided to leave it as it is.

I tried the original 192 khz file with Audacity and my resampled non "-G" resulting file. Both have 2 or 3 of peaks that touch the "1" on Audacity's scale. And both sound the same. I picked a file that the peaks weren't because of cracks/clicks, but during some high note. Headphones, speakers, whatever, there's no difference. Plus, the peaks are too small to be noticeable. You have to zoom all in until you see milisecs on the scale, and then the peaks last for nothing.

I also tried the song with the -G command in SoX. It makes those peaks sit right just below -1, making a volume reduction of ~0.03-00.5 db. As always, it all sounds the same, no matter how hard I try. And even if I try, the sound from the vinyl, although it's great considering the source, is far from perfect, so I guess those little clippings will never matter.

It must be because of what pdq says, that the original shows a peak of 0.9999 and the resampled file is 1. For example, one file:

Original: -2.77db, 0.999900
Resampled: -2.80db, 1
Resampled with -G: -2.79, 0.999969

Original and resampled look the same in Audacity, the -G one shows a little lower. It's kinda puzzling, there's a 0.03 db difference between original and resampled. Yet the graphs/curves look exactly the same. When using -G the difference is only 0.01 db, but you can see the graph lower (less volume).

In the end everything is too insignificant, and when you see commercial CDs like this

(yes, I've been reading about loudness wars)

  • greynol
  • [*][*][*][*][*]
  • Global Moderator
Audio from vinyl (24 / 96-192 khz). Converting/downsampling?
Reply #28
Re. compression:
I've seen worse.

At the end of the day it's what you hear that matters.  Clipping should be of no concern unless it is actually audible.
  • Last Edit: 29 August, 2012, 06:42:27 PM by greynol
13 February 2016: The world was blessed with the passing of a truly vile and wretched person.

Your eyes cannot hear.

  • Taishou
  • [*]
Audio from vinyl (24 / 96-192 khz). Converting/downsampling?
Reply #29
Indeed. And it's the same on the source, so it's not because resampling (I checked and only the original files with 0.9999 of peak level are the ones SoX reports as clipping). The others with a bit less than that number go without warnings. I think unless you do further editing, it won't matter if it's 1 or 0.9999, it will sound the same.

  • greynol
  • [*][*][*][*][*]
  • Global Moderator
Audio from vinyl (24 / 96-192 khz). Converting/downsampling?
Reply #30
Could it be due to possible inter-sample overs occurring at analog conversion during playback?
13 February 2016: The world was blessed with the passing of a truly vile and wretched person.

Your eyes cannot hear.

  • Porcus
  • [*][*][*][*][*]
Audio from vinyl (24 / 96-192 khz). Converting/downsampling?
Reply #31
it won't matter if it's 1 or 0.9999, it will sound the same.


The “1” is after clipping, and it would have been 1 even if the clipping had been intolerable. Now in this case you have checked that everything is OK (bar a few inaudible milliBels over a few milliseconds), but just don't take “1” as a general sign that all is well.

  • krabapple
  • [*][*][*][*][*]
Audio from vinyl (24 / 96-192 khz). Converting/downsampling?
Reply #32
This just goes to make a point I've made in talks every since about 1990: "SNR is Mostly Harmless"



But when it gets too low in online threads,  I tend to bail.

  • greynol
  • [*][*][*][*][*]
  • Global Moderator
Audio from vinyl (24 / 96-192 khz). Converting/downsampling?
Reply #33
Off-topic discussion on the SNR or MP3 has been split here:
http://www.hydrogenaudio.org/forums/index....showtopic=96786

Continuation of that discussion here will result in disciplinary action.
13 February 2016: The world was blessed with the passing of a truly vile and wretched person.

Your eyes cannot hear.