Go Back   Home > Forums > Source & Line > Digital Source
Home Forums Rules Articles Store Gallery Blogs Register Donations FAQ Calendar Search Today's Posts Mark Forums Read

Digital Source Digital Players and Recorders: CD , SACD , Tape, Memory Card, etc.

Please consider donating to help us continue to serve you.

Ads on/off / Custom Title / More PMs / More album space / Advanced printing & mass image saving
Reply
 
Thread Tools Search this Thread
Old 2nd August 2006, 06:52 PM   #1
diyAudio Member
 
Join Date: Sep 2005
Default CD players and DACs: upsampling and oversampling

I recently read an article in AudioXpress magazine about a DAC "old school" project (I don't have the magazine in front of me, so bear with me if you would).

In the article, the author suggests that he prefered a non-oversampling DAC with 44.1kHz sampling rate, explaining that oversampling places estimated samples in between real samples (interpolation), and thus it is not actual "music".

==> In school, I learned in DSP that UPSAMPLING was the process of inserting estimated samples in between real samples by interpolation. OVERSAMPLING was the process of simply sampling the music at a higher rate than the Nyquist rate; all the samples are real samples in oversampling.

1) Does my above definition of upsampling and oversampling jive with everyones?

2) If I have the above correct ==> if a CD player states that its oversampling rate is 8X, this is not interpolating samples into the music, this is actual music sampled at a higher rate, correct?

I don't mean to disagree with the author of the article, I was just curious about his methodology.
  Reply With Quote
Old 2nd August 2006, 08:18 PM   #2
preiter is offline preiter  United States
diyAudio Member
 
preiter's Avatar
 
Join Date: May 2006
Oversampling interpolates values in between the music samples. This does not add any musical information. The reason why this is done really requires a bunch of math (which I do not remember from college), but I'll try to explain without the math.

To sample music of a particular frequency requires you to take samples at double that frequency (this is the Nyquist rate you may have heard mentioned).

When you reconstruct the music, by passing the samples through a D/A converter, you actually end up with your original signal plus additional copies of that signal at higher frequencies. You have your original 0-20KHz, plus a copy of the same signal at 20KHz-40KHz (also a copy at 40-60 KHz, etc).

What 2x oversampling does, is shift the first copy of the music from 20-40 Khz up to 40-60 Khz. This saves you from having to have a lowpass filter in the signal stream. 4x/8x are the same thing, they just shift that first copy of the music to higher and higher frequencies.
  Reply With Quote
Old 2nd August 2006, 10:28 PM   #3
diyAudio Member
 
Join Date: Oct 2001
Location: .
Default Re: CD players and DACs: upsampling and oversampling

Quote:
Originally posted by rtarbell
estimated samples
An estimate is a guess in an Armani suit. Oversampling filters do not guess. The interpolated samples are a weighted average of the original samples. It is the filters designers skill in choosing the weighting that determines the nature of the filter.
This might help
  Reply With Quote
Old 3rd August 2006, 12:21 AM   #4
poobah is offline poobah  United States
diyAudio Member
 
poobah's Avatar
 
Join Date: Nov 2005
Upsampling and downsampling refer to changing the rate of sampling for a sample stream. In the generalized case, the original waveform must be recreated with its alias components removed by low-pass filtering. This waveform is then resampled at a lower or higher rate. This can all be done purely mathematically. The math is not trivial. Both of these methods are used prirmarily to convert a sample stream from one format (frequency/rate) to another. Say for example you wanted to play your CD sample stream on your Martian buddy's DAC at 55.125 kHZ... you would upsample by 5/4ths. Either process is very intense mathematically but can be simplified greatly when the conversion rates are nice clean ratios like 3/4, 5/4 etc...

Oversampling is a special case of upsampling in which the sample rate is multiplied by a power of 2 (typically). The purpose of oversampling is to reduce the filtering required with analog components in favor of digtal components (math).

The guy who said oversampling was messed up was right and wrong... he is a knucklehead in either case. Correct oversampling requires complex digtal filtering schemes... there are many schemes, all with their own strengths and drawbacks. The alternative is no oversampling, in which case, complex analog filters are required. Funny thing, the end result of both digital or analog filtering, and the comprimises involved, are quite similar.

Oversampling is complex, and as such, truely understood by few. This is, in part, why it gets a bad rap. Simplified algorithms, and stripped down silicon implementations is another reason... a valid one.

  Reply With Quote
Old 3rd August 2006, 09:16 AM   #5
diyAudio Member
 
BlackCatSound's Avatar
 
Join Date: Oct 2004
Hlaf band upsampling can be done with a simple 4 tap FIR filter.

-1 9 9 -1 and divide the answer by 16.
  Reply With Quote

Reply


Hide this!Advertise here!

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
upsampling before non-oversampling dac sharpi31 Digital Line Level 0 1st April 2009 10:07 PM
What type of interpolation is mostly used in oversampling/upsampling dacs ? percy Digital Source 11 15th May 2007 11:24 PM
why is oversampling in CD players considered bad? wa2ise Digital Source 61 30th October 2005 01:41 PM
diff dacs and 2nd hand cd players Raj1 Digital Source 0 22nd February 2005 07:38 PM
The king of all upsampling/oversampling questions... annex666 Digital Source 61 12th August 2003 05:00 PM


New To Site? Need Help?

All times are GMT. The time now is 01:27 AM.

Page generated in 0.10440 seconds (83.17% PHP - 16.83% MySQL) with 10 queries

Copyright ©1999-2012 diyAudio