Author
|
downsampling from 24bits/48KHz. to 16bits/44.1KHz.
|
thockin
Started Topics :
1
Posts :
114
Posted : Apr 29, 2005 21:22
|
Spindrift: what you're missing is the D->A converter's impact.
If you sample a very high frequency sine wave and then connect the sample points by hand, you get a triangle wave. But when you send that back through a DAC, it filters off all the higher harmoncs and gives you a sine wave (apporximately). Look up info on 2nd and 3rd order DACs, and you'll see what I mean. |
|
|
Spindrift
Spindrift
Started Topics :
33
Posts :
1560
Posted : Apr 29, 2005 21:49
|
I admit to not being a specialist on lasers, military equipment etc.
So I don't know about any technologies where audio at very high frequencies is dependent on the waveform.
A simple on and off at a cerain rate, ie frequency, is what is required a lot of the time I would think.
Albeit in very high frequencies and with very critical timing requirements.
But we are still talking about human hearing and how we perceive waveforms.
I know I probably can't even hear 20k myself.
But one octave is a doubling of frequency. That means that a sound at 10k only can have one harmonic. So according to a Fourrier transformation you don't get much of a square out of one added harmonic.
Even down at 5k you have to settle for the one odd harmonic to shape your square.
I know that we don't really hear the overtones that would follow to shape the square.
But I think the increased resolution of the sound, regardless of what frequency you can recreate, can be percieved.
CD shure is at least slightly too low as a standard with 44.1.
I agree that bitdepth is more important but when you are up to 24 or 64 bit depth the next step to make a increase in the resolution must be to go up to 88.2 or 96.
Sure it's hard to make a good AD/DA for 192k so we might not even really heard how a good 192k recording would sound.
I'll have to get my hand on some more DSP power and HD space before I can even consider if it's worth the effort to switch to 96k in reality though.
So 24/44.1 have to be enough for me still.
  (``·.¸(``·.¸(``·.¸¸.·`´)¸.·`´)¸.·`´)
« .....www.ResonantEarth.com..... »
(¸.·`´(¸.·`´(¸.·`´``·.¸)``·.¸)``·.¸)
http://www.myspace.com/spindriftsounds
http://www.myspace.com/resonantearth |
|
|
Spindrift
Spindrift
Started Topics :
33
Posts :
1560
Posted : Apr 29, 2005 21:51
|
Quote:
|
On 2005-04-29 21:22, thockin wrote:
Spindrift: what you're missing is the D->A converter's impact.
|
|
Yeah...I keep forgetting I use those.
I actually have a pair connected to my speakers at least
  (``·.¸(``·.¸(``·.¸¸.·`´)¸.·`´)¸.·`´)
« .....www.ResonantEarth.com..... »
(¸.·`´(¸.·`´(¸.·`´``·.¸)``·.¸)``·.¸)
http://www.myspace.com/spindriftsounds
http://www.myspace.com/resonantearth |
|
|
Boobytrip
IsraTrance Junior Member
Started Topics :
39
Posts :
988
Posted : Apr 29, 2005 23:08
|
Okay, aight... so how does the downsampling happen: Interpolation or no interpolation ? Is the waveform that is sampled at 48 KHz. resampled, or are some bits of the 48 KHz. waveform just tossed away ? |
|
|
UnderTow
Started Topics :
9
Posts :
1448
Posted : Apr 30, 2005 02:24
|
Quote:
|
On 2005-04-29 21:49, Spindrift wrote:
So I don't know about any technologies where audio at very high frequencies is dependent on the waveform.
|
|
A quick precision here: sampling doesn't just concern audio. If the frequency is beyond, lets say, 20Khz, it isn't audio.
Quote:
|
But one octave is a doubling of frequency. That means that a sound at 10k only can have one harmonic. So according to a Fourrier transformation you don't get much of a square out of one added harmonic.
|
|
Again a precision: You can't have one EVEN harmonic for, lets say, 16Khz. But you can have fractional harmonics.
Quote:
|
Even down at 5k you have to settle for the one odd harmonic to shape your square.
|
|
I am assuming you are using the word "odd" in the sense of "odd one out" aka "single", right?
I ask because a square wave doesn't actually have any even harmonics. Well to be precise, they exist theoreticaly but they have an amplitude of zero. So there is no harmonic exactly one harmonic octave above a square wave.
Things get very confusing if you use the words "odd" and "even" with another meaning than "a multiple of two" or "any multiple of" while talking about harmonics.
Quote:
|
I know that we don't really hear the overtones that would follow to shape the square.
|
|
We do! But they are not even harmonics. They are fractional harmonics.
Quote:
|
But I think the increased resolution of the sound, regardless of what frequency you can recreate, can be percieved.
|
|
Ah but that is the point I am trying to make, with current technology (and in the forseable future) we only loose resolution. Don't forget that every ADC and DAC has analogue parts in it. It takes time to charge and unload capacitors. Amps have settling times. Etc. There are real physical limitations to what we can do with electronics.
That is why oversampling AD converters actually have less bit depth at the oversampling modulation frequencies (before being decimated down to the sampling frequencies). Usualy these circuits work with a depth of 1 bit.
Quote:
|
CD shure is at least slightly too low as a standard with 44.1.
|
|
In theory, yes. In practise, with the type of music we make that we play on the type of PAs that we use at parties ... probably not.
Quote:
|
I agree that bitdepth is more important but when you are up to 24 or 64 bit depth the next step to make a increase in the resolution must be to go up to 88.2 or 96.
|
|
Hmm I don't know if we can make that conclusion so easily. I reckon that the computational and data storage/streaming costs of working at 88.2/96Khz isn't worth the effort. Especially as we are going to CD in the end. I think there are much more important issues at play when making psytrance (or any electronic music really.
Just listen to Hallucinogen - Twisted. It sounded great and modern when it came out. Now it still sounds great muscialy but it lacks the kind of sound and clarity that we expect of a modern release. The difference has very little or maybe even nothing at all to do with the advances of digital audio.
If anyone wants to buy 192Khz converters or work at 88.2/96/192Khz, thats fine by me. For the moment, I'll stick to 44.1/24.
And I will leave you all with this conclusion.
Over and out about this endless topic.
UnderTow |
|
|
Spindrift
Spindrift
Started Topics :
33
Posts :
1560
Posted : Apr 30, 2005 16:10
|
What I'm really trying to point out is that sample frequency is not only affecting what frequencies you can represent and bit depth is not only affecting how wide dynamic range you can achive.
Just try it and downsample a sound to 11k sample rate.
It will have an effect on how the bass and mid sounds as well as removing any treble above 5.5k and not sound like you only applied a low pass filter.
Converting a sound to 8 bit will not only reduce the dynamic range of the sound but make it more gritty as well.
We are still talking about resolution, much like when working with images.
A higher resolution will result in a more defined image, up to a certain limit where our eyes cannot tell the difference.
And the listening tests I have looked at confirms that many people can hear a difference.
According to Bob Katz for example:
"My experiences with 96kHz/24-bit sampled recording have been exceptional. The sound is more open, transparent, and dynamic than previous 44.1kHz recordings, with a purer mid range and more apparent depth and space closer to the analogue source."
Thats my experience when trying synths using 96k as well, and if it's explainable mathematically or not does not really interest me.
  (``·.¸(``·.¸(``·.¸¸.·`´)¸.·`´)¸.·`´)
« .....www.ResonantEarth.com..... »
(¸.·`´(¸.·`´(¸.·`´``·.¸)``·.¸)``·.¸)
http://www.myspace.com/spindriftsounds
http://www.myspace.com/resonantearth |
|
|
Spindrift
Spindrift
Started Topics :
33
Posts :
1560
Posted : Apr 30, 2005 16:50
|
I read a bit about the subject and this is what Bob Katz say further on in the same page on 96 vs 44.1
http://www.audiomedia.com/archive/features/uk-0400/uk-0400-listeningtest/uk-0400-listeningtest.htm
Quote:
| The consequences of sharp filtering include time-smearing of the audio, possible short (millisecond) echos, which are caused by amplitude response ripples in the pass-band frequency response (20Hz to 20kHz) - even ripples as small as 0.1dB can cause problems. By moving the filter cut-off frequency to 48kHz (for 96kHz sampling), designers can use gentler filters and it is also easier to engineer filters with less ripple in the pass band. The result: purer tonality and more open sound in the 20Hz to 20kHz band. Researchers such as J. Andrew Moorer of Sonic Solutions and Mike Story of dCS have demonstrated other improvements from the higher sampling rate. Moorer pointed out that post-production processing, such as filtering, equalisation, and compression, will result in much less distortion in the audible band, as the errors are spread over twice the bandwidth — and half of that bandwidth is above 20kHz. I've already noticed that the equalisers in Sonic Solutions sound better at 96kHz sampling and, similarly, Daniel Weiss's double-sampling equaliser is very pure sounding. Conclusion: perform all your calculations at a higher rate, then down-sample only at the end." |
|
The "distortion in the audible band" I guess is about what I mentioned with the problem with reshaping waveforms.
You need a high pass filter, at 44.1k with a very sharp slope as well, to avoid having a lot of anti-aliasing.
A high pass filter will reshape the sounds below the cutoff frequency as well.
The odd harmonics is whats needed to add up sines to create a square wave.
Take a square at 4k.
First odd harmonic is at 8k, second at 32k.
Less than a perfect square, ie distorted.
So maybe we don't only percive the frequencies of the sounds, but their shape does make some impression on us as well.
Could this kind of smearing explain, in his own words, "how this 50-year-old mastering engineer hear such a big difference, when my ears only extend to about 15kHz?"
In analogue systems you have the same phenomenon, again in Bobs words:
Quote:
| I've never found a band-limited analogue system (transducer, pre-amplifier, etc.) that sounds as good as the equivalent wideband system. When I roll off the response of an op-amp to 100kHz bandwidth, it sounds worse than 200kHz! |
|
Due to limitations in AD/DA most likely we can't hear those differences though when reproducing digital audio, so it's always more a test of the converter.
But with electronic music at least it never touched a AD, and hence can be filtered and downsampled only as a final stage.
Hopefully DA technology will improve evntually though.
And working in 96k is probabaly a good idea if you have a lot of power and space to spend on getting a bit extra hi-fi sound.
I'm not bothered yet, but in the future I guess I will.
  (``·.¸(``·.¸(``·.¸¸.·`´)¸.·`´)¸.·`´)
« .....www.ResonantEarth.com..... »
(¸.·`´(¸.·`´(¸.·`´``·.¸)``·.¸)``·.¸)
http://www.myspace.com/spindriftsounds
http://www.myspace.com/resonantearth |
|
|
UnderTow
Started Topics :
9
Posts :
1448
Posted : May 2, 2005 14:06
|
Quote:
|
On 2005-04-30 16:10, Spindrift wrote:
What I'm really trying to point out is that sample frequency is not only affecting what frequencies you can represent and bit depth is not only affecting how wide dynamic range you can achive.
Just try it and downsample a sound to 11k sample rate.
It will have an effect on how the bass and mid sounds as well as removing any treble above 5.5k and not sound like you only applied a low pass filter.
|
|
I am guessing this is either a psychoaccoustic effect or the result of "bad" sample rate conversion.
Quote:
|
Converting a sound to 8 bit will not only reduce the dynamic range of the sound but make it more gritty as well.
|
|
Absolutely. It will introduce quantization noise and reduce resolution. Hence my comments about increasing bit-depth.
Quote:
|
We are still talking about resolution, much like when working with images.
A higher resolution will result in a more defined image, up to a certain limit where our eyes cannot tell the difference.
|
|
Well no. No increased resolution in the audible bandwidth range. That is what I am trying to say the whole time ...
Quote:
|
And the listening tests I have looked at confirms that many people can hear a difference.
|
|
I am not discounting this. I am pointing to other factors that might be causing the differences.
Quote:
|
According to Bob Katz for example:
"My experiences with 96kHz/24-bit sampled recording have been exceptional. The sound is more open, transparent, and dynamic than previous 44.1kHz recordings, with a purer mid range and more apparent depth and space closer to the analogue source."
|
|
Agreed. I am not against 96Khz. [1] Nor am I against oversampling for non-linear DSP processing or upsampling for converters. I just don't think that the whole chain should be at 192Khz. That is overkill IMLO.
[1] I have used it to record accoustic music I just don't really think it is worth it for psytrance. But it depends on your DAW and available DSP power. For me right now it isn't worth the tradeoff.
Quote:
|
Thats my experience when trying synths using 96k as well, and if it's explainable mathematically or not does not really interest me.
|
|
It is certainly possible. Although oversampling the non-linear processes should fix this. It really depends on how the synths are implemented.
But again, we started this whole thread because of 192Khz. Not 96Khz.
UnderTow |
|
|
Spindrift
Spindrift
Started Topics :
33
Posts :
1560
Posted : May 2, 2005 15:55
|
@UnderTow
I think we are bascially agreeing about the fundamental issues.
It's not worth it to use 96k for audio and processing still. At least not on my setup and I work with 44.1/24.
Keeping the audio on 96k while mixing processing will make a small but audible difference and is worthwhile if you don't regard diskspace and processing power.
Then the rest is discussable and theoretical.
Using 192k seems purely wasteful if you are working for CD as end format for sure.
If the audio is intended to be published as 96k i could imagine that using 192k in the mixing/processing could help avoid rounding errors.
I would think that 96k converters is becoming the standard in hi-fi equipment and soundcards and the quality of them will improve.
And then 192k as a working format will make sense for audiphile producers.
About the audible effects of reducing bit depth or samplerate.
The effect of reducing samplerate is not so different from reducing bitdepth.
Lower samplerate within the audible range will result in "quantization noise and reduce resolution" just like with bit depth.
The alisaing effect you get when you reduce rate is because the data is insufficient to calculate a proper frequency, so you get scrambeled frequencies as a result.
So it aliasing is infact a form of quantization noise.
Normally what you do to avoid aliasing is to use a LPF to cut off the frequencies that is causing the alisaing.
I bet you that even if you use a LPF at 100hz i can tell you with ease if sound is samplerate converted down to below 11k.
Resolution of the sound decreases no matter if you reduce bitrange or sample frequency.
  (``·.¸(``·.¸(``·.¸¸.·`´)¸.·`´)¸.·`´)
« .....www.ResonantEarth.com..... »
(¸.·`´(¸.·`´(¸.·`´``·.¸)``·.¸)``·.¸)
http://www.myspace.com/spindriftsounds
http://www.myspace.com/resonantearth |
|
|
thockin
Started Topics :
1
Posts :
114
Posted : May 2, 2005 19:36
|
I think part of the original point was that if you are targetting CD, you're better off usign 88.2k than 96k. I would use 88.2k, except that I push my PC to the limits at 44.1, and I can't afford to double the sample rate. |
|
|
|