What's new

Can someone explain up sampling please ? (1 Viewer)

LiorM

Agent
Joined
Apr 7, 2002
Messages
25
The one thing I just can understand is,

The up sampling process , takes the digital signal and doubles it’s sampling frequency

For grater details and clarity.

Now, how the hell you create something that was never exists at the beginning.

I worked as sound engineer at the 90’s and the first thing I’ve learn was that you can

Create something that does not exist.

If you don’t have a bass track, you can add as much as you want 60Hz, you still Won’t get it :).

So if you have 48Khz of data , you can double it , tripple it , or do what ever you like with it , and you will still come out with the same data sampled at the beginning ...

Am I wrong here or what ?

Shark
 

Bob McElfresh

Senior HTF Member
Joined
May 22, 1999
Messages
5,182
For a simple example, say you have 48 thousand numbers like this:

500

800

400

600

...

This represents 1 second worth of digital samples at 48 Khz (48,000 times per second).

Now you want a 96 Khz up-sample. So you simply do this:

500

650

800

600

400

500

600

...

So you can simply "fill in" a number to smooth things out.

Then you send this set of 96,000 numbers per second to a D/A converter that expects this many samples per second.

In reality, I think they do some other formula's than simple average between the numbers. But the concept is the same.

Does this help?

Does that help?
 

LiorM

Agent
Joined
Apr 7, 2002
Messages
25
Well, that clears things up, but I still

Can’t get use to the idea that some algorithm

Adds bits to the original material.

Who knows, I need to hear then I decide what's

Better.
 

ling_w

Second Unit
Joined
Sep 3, 2001
Messages
426
A linear interpolation would produce a floawed result.

e.g.

100

200

250

250

200

100

upsampled 2X would produce

100

150

200

225

250

250

250

225

200

150

100

The green interpolation is in error because it would simulate a clipped signal, in addition to a connect the dots look by the red interpolations.

Various upsamplers uses psychoaccoustic models to do their interpolation, while even some real old units, like the ancient Wadia, used their French Curve or spline algorithm to do their 64x oversampling.

A properly done 2x upsampling would probably look more like:

100

156

200

231

250

256

250

231

200

156

100

A higher order upsampling would become much more complicated. 64x requires so much computational power because in order to fill the 63 empty spots between 2 samples, one would need to string up a 64th order polynomial equation consisting 32 samples before and 32 after the current sample.
 

Bob McElfresh

Senior HTF Member
Joined
May 22, 1999
Messages
5,182
Can’t get use to the idea that some algorithm

Adds bits to the original material.

Well... it's not.

The original material is gone. These numbers we get on a CD are a .. image/outline of the original material.

And there ARE limits to the recording process such as number of bits in a sample, how frequently you sample, etc.

Have you heard of Nyquest? It basically said that:

If you are going to take samples of something, you need to sample AT LEAST 2 times faster than the thing you are sampling can change to capture all the data.

So audio hearing tops out at about 20,000 hz (cycles per second) So to "capture all the data", you need to sample at least 40,000 times per second.

Your standard CD is made up of 48,000 samples per second. Now you know why it had to be something above 40 khz - because of Nyquest's rule.

But this is MINIMUM sample rate. Since we have the cheap technology to sample are more than 48 khz, why not try it?

So now we have Super Audio CD, DVD Audio, etc., that I believe all sample at higher frequencies.

But what about the millions of existing CD's? Well, chips are cheap so why not make some chips that "fill in" some numbers to smooth things out?

And I believe that a lot of production studio equipment really samples at 96 Khz (4 times instead of 2 times), then the numbers are "down-sampled" to look like 48 khz so it will fit on a standard CD.

So the "1 bit oversample" and "up sampling" is really compensating for the technology limits. They are really NOT trying to mess with the original material.
 

Users who are viewing this thread

Sign up for our newsletter

and receive essential news, curated deals, and much more







You will only receive emails from us. We will never sell or distribute your email address to third party companies at any time.

Forum statistics

Threads
357,063
Messages
5,129,887
Members
144,281
Latest member
papill6n
Recent bookmarks
0
Top