Main Forums >> Recording Techniques
        Print Thread

Pages: 1 | 2 | (show all)
Music Manic
active member


Joined: 20/12/02
Posts: 1890
Loc: London UK
Digital bit depth and analogue SPL
      #925541 - 10/07/11 04:30 PM
Hi Guys,

After reading Digital Problems...and Digital Myths

I have a fair understanding of how an analogue signal is converted to a digital.

I'm slighty unclear on how Bits relate to amplitude.
For example, if I have a classical piece of music which has a dynamic range of, say 70dB, and is then converted digitally into a four bit converter (which only has a 24dB dynamic range). Does this mean that it will be "compressed" in some way?

I use to think that each 6dB per bit was calibrated to the levels of sound pressure, which is clearly wrong right!

I now know that interpolation "fills in the gaps" but I am slightly unsure on how varying analogue sound pressure levels are represented by different bit depths.

Thanks


Post Extras: Print Post   Remind Me!   Notify Moderator     Back to top
dmills



Joined: 25/08/06
Posts: 2130
Re: Digital bit depth and analogue SPL new [Re: Music Manic]
      #925542 - 10/07/11 04:43 PM
What actually happens is that (providing everything is dithered correctly!) the classical music on playback sounds like it is mixed with noise at the -24dB level....

Actually that -24 is not quite right but it will do for now.

So the quiet bits of the music fade smoothly down into the constant background of dither noise (which may be noise shaped to give a perception that the noise level is lower then -24dB).

Nothing gets compressed and everything is linear (just with added hiss).

Regards, Dan.

--------------------
Audiophiles use phono leads because they are unbalanced people!


Post Extras: Print Post   Remind Me!   Notify Moderator     Back to top
Hugh RobjohnsAdministrator
SOS Technical Editor


Joined: 25/07/03
Posts: 18390
Loc: Worcestershire
Re: Digital bit depth and analogue SPL new [Re: Music Manic]
      #925545 - 10/07/11 05:04 PM
Quote Music Manic:

I'm slighty unclear on how Bits relate to amplitude.




The bits count the available quantising levels, and louder signals cross more quantising levels.

Quote:

...a four bit converter (which only has a 24dB dynamic range).




That's not quite right. A 4 bit converter would have a signal-noise ratio of about 24dB -- the noise floor will be roughly 24dB below the maximum amplitude. However, if it is correctly dithered, as Dan says, the signal will remain audible even though it may be significantly quieter than than the noise floor. And noise shaped dither will make the apparent dynamic range even larger.

Quote:

Does this mean that it will be "compressed" in some way?




No. There is no compression. The quieter stuff will just have to fight to be audible through the system noise.

Quote:

I use to think that each 6dB per bit was calibrated to the levels of sound pressure, which is clearly wrong right!




You could calibrate the system so that a given SPL captured by a microphone was reproduced by a speaker at the same SPL... but that's an entirely operational consideration rather than anything to do with digital quantisation and bits per se.

Quote:

I now know that interpolation "fills in the gaps"




Only in the error concealment system of CD and CAT machines, and only then if the error correction system fails. There is no interpolation in the quantisation process.

Quote:

I am slightly unsure on how varying analogue sound pressure levels are represented by different bit depths.




analogue pressure variations are converted into electrical voltage variations by a microphone. Those voltage variations are compared against a scale, the various quantising levels of which are represented by binary numbers through the quantising process.

On replay, the binary numbers are used to generate analogue voltage pulses which are then filtered to rebuild the original analogue voltage waveform which is passed to a loudspeaker to recreate a varying acoustic sound pressure.

hugh

--------------------
Technical Editor, Sound On Sound


Post Extras: Print Post   Remind Me!   Notify Moderator     Back to top
nickluckman



Joined: 20/11/09
Posts: 28
Re: Digital bit depth and analogue SPL new [Re: Music Manic]
      #925566 - 10/07/11 08:44 PM
By the way, 4 Bit means the signal will be quantised by 2^4 (16) levels.
SNR and the signals resolution depends on bit depth which is why it is better to convert at 16 Bit, and even better at 24 bit, than at 4 bit. Especially for classical recordings which usually have very large dynamic ranges.


Post Extras: Print Post   Remind Me!   Notify Moderator     Back to top
dmills



Joined: 25/08/06
Posts: 2130
Re: Digital bit depth and analogue SPL new [Re: Music Manic]
      #925587 - 11/07/11 12:44 AM
Bad word! BAAAD Word, Hugh, he said the R word!

A correctly dithered quantiser does not have a RESOLUTION, it is **LINEAR** all the way down. What it has is noise, which is injected before quantization and has the effect of linearising the quantiser provided the noise has the right statistical properties.

Quantised systems (if done properly) are not particularly intuitive in that they have statistical properties that mean that the output is indistinguishable from the input plus a defined level of noise (even for input signals below the LSB), weird but the math stacks up.

Simple minded stair step drawings and join the dots "waveform" (They are nothing of the sort!) displays in DAWs have a lot to answer for.

Regards, Dan.

--------------------
Audiophiles use phono leads because they are unbalanced people!


Post Extras: Print Post   Remind Me!   Notify Moderator     Back to top
Music Manic
active member


Joined: 20/12/02
Posts: 1890
Loc: London UK
Re: Digital bit depth and analogue SPL new [Re: Music Manic]
      #925592 - 11/07/11 03:21 AM
Yes it's all getting clearer now.

I see the differences of "noise" now.
Quantisation noise is used to linearise, and is relative to the original signal where-as dither is the noise added to convert to different bit depths.

Quantising is related to the discrete level which is modulated with a PCM signal right? This helps the reconstruction filter when it converts the signal to analogue.

The clock connects the exact timing between quantising and the sampling rate. So there is a balance between sample rates and bit depths but as long as the Jitter is precise then and the significant bits are working then a home studio should be able to compete with the big boys now.

Thanks


Post Extras: Print Post   Remind Me!   Notify Moderator     Back to top
narcoman
active member


Joined: 14/08/01
Posts: 8469
Re: Digital bit depth and analogue SPL new [Re: Music Manic]
      #925605 - 11/07/11 07:34 AM
next person that comes on here quoting "bits is resolution" gets sold into serfdom....


Post Extras: Print Post   Remind Me!   Notify Moderator     Back to top
ZukanModerator
Zukan


Joined: 12/09/03
Posts: 8514
Re: Digital bit depth and analogue SPL new [Re: narcoman]
      #925609 - 11/07/11 07:54 AM
Quote narcoman:

next person that comes on here quoting "bits is resolution" gets sold into serfdom....




Don't knock it m8. At least bit rate wasn't mentioned......

--------------------
Samplecraze
Stretch That Note


Post Extras: Print Post   Remind Me!   Notify Moderator     Back to top
illegal colors



Joined: 16/06/07
Posts: 130
Re: Digital bit depth and analogue SPL new [Re: dmills]
      #925626 - 11/07/11 08:48 AM
Quote dmills:

Bad word! BAAAD Word, Hugh, he said the R word!

A correctly dithered quantiser does not have a RESOLUTION, it is **LINEAR** all the way down. What it has is noise, which is injected before quantization and has the effect of linearising the quantiser provided the noise has the right statistical properties.





Yes, sort of. Under certain circumstances you can say that and be right more or less.
For example if you are trying to popularize the practice of recording at lower levels and increased bit depth then the notion of resolution being a bad word can come handy.
In this particular instance however nickluckman mentioned 4 bit audio which made use of the word rather more appropriate.

Let me give you an example to make my point more obvious.
Imagine you and I and maybe Hugh Robjohns if he has no better things to do are watching a good movie like Pineapple Express on a Blu-ray disc played back on a Blu-ray player properly connected to a high quality 42' full HD LCD TV. Everything is set-up right, image quality is excellent and from about 2 or 3 meters we all can appreciate advantages of Blu-ray format over good old DVD. From about 5 meters however you won’t be able to tell the difference between Blu-ray and 400-line DivX re-encode of the same Blu-ray source if everything is done properly of course. Incidently, the best and most natural looking upscaling algorithms are little more than added noise. But if you press zoom button to get rid of black bars for example then difference between the sources will become obvious again because resolution is different although someone may want to argue that level of video noise is the only difference.

Resolution is the right word if you keep in mind that when it comes to sound we rarely can ‘get closer’ to the sound than equivalent of 5 meters for a 42' TV but with a printed still photographic image we can get as close as we want.


Post Extras: Print Post   Remind Me!   Notify Moderator     Back to top
dmills



Joined: 25/08/06
Posts: 2130
Re: Digital bit depth and analogue SPL new [Re: Music Manic]
      #925666 - 11/07/11 11:24 AM
Err even in video, resolution and noise are separate concepts.

Resolution is more akin to frequency response while noise is just noise.

I think what you are trying to say is that a very low wordlength system will have a dither noise floor above the background in most listening environments, where a 16 or 24 bit wordlength will have a dither noise floor below the background? True, but uninteresting.

Regards, Dan.

--------------------
Audiophiles use phono leads because they are unbalanced people!


Post Extras: Print Post   Remind Me!   Notify Moderator     Back to top
narcoman
active member


Joined: 14/08/01
Posts: 8469
Re: Digital bit depth and analogue SPL new [Re: illegal colors]
      #925692 - 11/07/11 01:09 PM
Quote illegal colors:



Let me give you an example to make my point more obvious.
Imagine you and I and maybe Hugh Robjohns if he has no better things to do are watching a good movie like Pineapple Express on a Blu-ray disc played back on a Blu-ray player properly connected to a high quality 42' full HD LCD TV. Everything is set-up right, image quality is excellent and from about 2 or 3 meters we all can appreciate advantages of Blu-ray format over good old DVD. From about 5 meters however you won’t be able to tell the difference between Blu-ray and 400-line DivX re-encode of the same Blu-ray source if everything is done properly of course. Incidently, the best and most natural looking upscaling algorithms are little more than added noise. But if you press zoom button to get rid of black bars for example then difference between the sources will become obvious again because resolution is different although someone may want to argue that level of video noise is the only difference.





There is no direct correlation between pixel sampling and sound sampling .... at all. This common comparison carries as much weight as the Stork SB taste test.

A sound sample is a "point on a curve". As any A-level mathematician can tell you - three points will fully describe any sinusoidal curve to the exclusion of all other curves. ALL sound is sine waves - all a set of samples do is describe complicate multilevel sine waves. End of.... a continuous phenomena described by discrete points with the unfortunate side effect of errors being set as noise. A 24bit describes and samples a sine wave EXACTLY as accurately as a 4 bit one - but the 4 bit one will have greater quantisation error.... there is only noise!



Post Extras: Print Post   Remind Me!   Notify Moderator     Back to top
Hugh RobjohnsAdministrator
SOS Technical Editor


Joined: 25/07/03
Posts: 18390
Loc: Worcestershire
Re: Digital bit depth and analogue SPL new [Re: dmills]
      #925731 - 11/07/11 03:33 PM
Quote dmills:

Bad word! BAAAD Word, Hugh, he said the R word!






Hugh

--------------------
Technical Editor, Sound On Sound


Post Extras: Print Post   Remind Me!   Notify Moderator     Back to top
Hugh RobjohnsAdministrator
SOS Technical Editor


Joined: 25/07/03
Posts: 18390
Loc: Worcestershire
Re: Digital bit depth and analogue SPL new [Re: Music Manic]
      #925736 - 11/07/11 03:51 PM
Quote Music Manic:

Quantisation noise is used to linearise




Not quite, but we risk getting lost in the meaning of terminology and semantics. Most people use the term quantisation noise to refer to the error inherent in a simple quantisation process. If there are a lot of quantisation levels (ie, large wordlength) and the signal is large, then the quantisation distortion will have noise-like properties. Hence the term 'quantisation noise' -- but as the signal level or wordlength falls, those distortion products become more and more strongly related to the signal itself, and thus more and more obvious and unacceptable.

Dither is a noise-like signal with specific statistical properties that allows a crude quantisation process to become perfectly linear and totally distortion-free.

Quote:

...dither is the noise added to convert to different bit depths.




Yes, as part of the truncation process, dither re-linearises the whole thing.

Quote:

Quantising is related to the discrete level which is modulated with a PCM signal right?




Quantisation is the process that converts analogue signal levels into discrete digital signal levels. The result is a PCM signal.

Quote:

This helps the reconstruction filter when it converts the signal to analogue.




The reconstruction filter is part of the sampling system and is completely separate from the quantisation process.

Sampling creates 'sidebands' which are the mathmatical product and difference of the audio signal and the sample rate. The reconstruction filter removes those sidebands from the reconstructed signal. Nothing to do with quantisation.

Quote:

The clock connects the exact timing between quantising and the sampling rate.




Again, quantising and sampling are entirely separate things. The clock defines the sample rate. It ensures that the analogue input signal is sampled at regular intervals, and it ensures that the output samples are reconstructed at regular intervals.

Quote:

So there is a balance between sample rates and bit depths




Yes there is, using technologies like oversampling and delta-sigma conversion. These allow data which is coded with very high sample rates but at low wordlengths to be transcoded to data with lower sampling rates but much higher wordlengths -- and vice versa. But the actual information content in other form is the same.

Quote:

a home studio should be able to compete with the big boys now.




The technology hasn't been a problem for a decade or more, and even budget home studio equipment is better now than the highest quality analogue pro-audio could achieve ten years ago, and little differnt to the best digial gear now.

The difference has always been -- and remains -- the quality of home studio acoustics and the talent and skillbase of the person using the equipment.

Hugh

--------------------
Technical Editor, Sound On Sound


Post Extras: Print Post   Remind Me!   Notify Moderator     Back to top
Hugh RobjohnsAdministrator
SOS Technical Editor


Joined: 25/07/03
Posts: 18390
Loc: Worcestershire
Re: Digital bit depth and analogue SPL new [Re: illegal colors]
      #925740 - 11/07/11 04:01 PM
Quote illegal colors:

In this particular instance however nickluckman mentioned 4 bit audio which made use of the word rather more appropriate.




With respect, no it doesn't -- although clearly some people associate different meanings to the term 'resolution'. As far as I am concerned, 'high resolution' means 'low distortion and wide bandwidth', and it is perfectly possible to achieve both of these with a low wordlength systems. Indeed, the much praised Super Audio CD uses a one-bit PCM system (called DSD) ... and is trumpted as a 'high resolution' system -- and rightly so.

I wrote an article a while back (digital myths) in which I provided an audio example of a three-bit recording of some classical solo piano. The files are still available on the SOS website. While the signal is buried in noise, it is very obviously undistorted and therefore captured with high resolution. The use of noise-shaped dither renders this point even more obvious.

Low wordlength systems inherently result in a higher system noise floor, but that is the only compromise. Audio resolution is unaffected.

Quote:

Imagine ... watching a good movie ... [on a] high quality 42' full HD LCD TV.




Your analogy is fatally flawed. You are talking about the differences in 'circles of confusion' created by the density of a fixed array of discrete image pixels. There is no meaningful relationship between this and audio sampling/quantisation.

hugh

--------------------
Technical Editor, Sound On Sound


Post Extras: Print Post   Remind Me!   Notify Moderator     Back to top
dmills



Joined: 25/08/06
Posts: 2130
Re: Digital bit depth and analogue SPL new [Re: Hugh Robjohns]
      #925743 - 11/07/11 04:06 PM
Quote Hugh Robjohns:


The difference has always been -- and remains -- the quality of home studio acoustics and the talent and skillbase of the person using the equipment.





Quoted for truth, but it is amazing how many people don't want to hear it.

--------------------
Audiophiles use phono leads because they are unbalanced people!


Post Extras: Print Post   Remind Me!   Notify Moderator     Back to top
narcoman
active member


Joined: 14/08/01
Posts: 8469
Re: Digital bit depth and analogue SPL new [Re: Music Manic]
      #925763 - 11/07/11 05:36 PM
.... I still say it's like the Stork SB taste test....


Post Extras: Print Post   Remind Me!   Notify Moderator     Back to top
illegal colors



Joined: 16/06/07
Posts: 130
Re: Digital bit depth and analogue SPL new [Re: Music Manic]
      #925824 - 12/07/11 03:33 AM
Gentlemen,
for the benefit of this discussion I will try to be as succinct as I can manage.

Quote dmills:

Err even in video, resolution and noise are separate concepts.

Resolution is more akin to frequency response while noise is just noise.




Well, if noise is just noise, what do you think happens when digital video is upscaled and dithered?

Quote narcoman:


There is no direct correlation between pixel sampling and sound sampling .... at all. This common comparison carries as much weight as the Stork SB taste test.




Maybe if you are sampling one pixel but I was talking about resolution of digital video and digital audio. You guys all seem to be confused by the fact that you actually can see pixels on your screens.

Quote narcoman:


A sound sample is a "point on a curve". As any A-level mathematician can tell you - three points will fully describe any sinusoidal curve to the exclusion of all other curves. ALL sound is sine waves - all a set of ...



Then a luma sample is also a "point on a curve" and a chroma sample is a point on a curve if you will continue in this manner your video will lose resolution completely and become totally linear. How do you like that?

I believe I know how these ideas got into your heads. You are thinking about digital video as a pixel-for-pixel system throughout which is rarely the case. And as soon as you change resolution at least once your A-level mathematician goes out the window

Quote Hugh Robjohns:


With respect,



Also with respect,
if you apply the same logic of yours to real world digital video as opposed to ultra-simplified understanding the three of you seem to subscribe to then we also can't use the R word when talking about anything.

Cordially,
illegal colors


Post Extras: Print Post   Remind Me!   Notify Moderator     Back to top
Music Manic
active member


Joined: 20/12/02
Posts: 1890
Loc: London UK
Re: Digital bit depth and analogue SPL new [Re: illegal colors]
      #925827 - 12/07/11 04:44 AM
Semantics!


Post Extras: Print Post   Remind Me!   Notify Moderator     Back to top
narcoman
active member


Joined: 14/08/01
Posts: 8469
Re: Digital bit depth and analogue SPL new [Re: illegal colors]
      #925861 - 12/07/11 08:53 AM
Quote illegal colors:


I believe I know how these ideas got into your heads. You are thinking about digital video as a pixel-for-pixel system throughout which is rarely the case. And as soon as you change resolution at least once your A-level mathematician goes out the window





... they do teach this in A-level maths!! So how would you "change resolution" in audio? Since it's never "steps" then the idea has no meaning! The audio is not the discrete samples - these are descriptors of the curve from which they were taken.... not a value of the audio. When reconstructing audio from samples we don't join the samples up ...

A pictorial sample has no relation to an audio sample.... the only way it could is if your SINGLE pixel was changing value all the time according to sine waves - a video pixel sample bears some relation but does not necessarily follow the rule of all sound is sinewaves. ALL sound.

As for not knowing what we're talking about : Hugh's a recognised expert on this, I did a PhD in the field (published too: sampling satellite transmission signals... y'know? Published? Peer reviewed?... I thank you:)) and Mills is the chief onion collector... in other words... he KNOWS it!

What we're talking about is - bit depth is NOT resolution in audio. Not now, not in any shape or form. A sine wave is no more accurate sampled with 24 bits as it is with 4.... just the noise floor changes.

General shout out chaps - STOP APPLYING GRAPHICS ANALOGIES TO AUDIO. THEY MEAN NOTHING. You cannot apply video/pictorial graphic sampling semantics to audio - they are different things. We DO share areas in aliasing and filters - but not in the acquisition of time variant signals.

I quote Shannon:
If a function x(t) contains no frequencies higher than B hertz, it is completely determined by giving its ordinates at a series of points spaced 1/(2B) seconds apart

Notice - hertz. A frequency based SI unit - wave functions are sinusoidal. You don't measure the sinusoidal aspect of light when sampling pictures (I would like to see the speed of THAT clock) nor could you as they are transverse electromagnetic waves.


A picture has resolution in pixels - there is no similar thing in audio, again : we don't reconstruct audio by joining samples up.

There is no resolution in audio - the samples are descriptors of curves. Errors reveal themselves as noise - not resolution. Or are you saying a 4 bit sample has lower resolution than a 24bit one?


Post Extras: Print Post   Remind Me!   Notify Moderator     Back to top
Richie Royale



Joined: 12/09/06
Posts: 3369
Loc: Bristol, England.
Re: Digital bit depth and analogue SPL new [Re: Music Manic]
      #925872 - 12/07/11 09:54 AM
Yeh, but no, but yeh? Innit.

--------------------
http://soundcloud.com/richie-royale
http://www.mixcrate.com/richieroyale


Post Extras: Print Post   Remind Me!   Notify Moderator     Back to top
dmills



Joined: 25/08/06
Posts: 2130
Re: Digital bit depth and analogue SPL new [Re: Music Manic]
      #925928 - 12/07/11 01:44 PM
I don't do qualifications pissing contests, mostly because I tend to loose, but there are some scary misunderstandings about the nature of video betrayed so lets have a go at fixing those:

Ok, consider a digital photo (it has exactly the same issues as video in this context), you have a grid of pixels each quantised at some suitable wordlength.

Now that grid has a spatial sampling frequency (effectively) that can be measured in samples per cm at the sensor and this fact imposes a upper limit on the spatial frequency that can be captured by that sensor without aliasing (Consider what happens to a tweed jacket in front of a cheap SD video camera, that is aliasing). Better cameras have a spatial anti aliasing filter to remove the high spatial frequency components by in effect introducing a little blur.

Thus high resolution video is just another way of saying "high spatial sample rate", it says nothing about the number of quantization levels employed (Or the noise floor for analogue video, same thing).

I suspect that I could write a perfectly good (but slow) scaler using stock audio resampler codes and just applying them twice (once for X and again for Y scale), there are much faster ways, but I suspect I could use zita resampler or something to make a perfectly functional simple minded off line video scaler.

Each pixel is then quantised to a given number of bits and it is the dither associated with that (or possibly the sensor noise which I suspect makes the full wordlength rather academic in some cases) that sets the black noise level.

Thus re scaling is really a resampling operation and the usual methods apply, and word length reduction (say for printing) needs dither, no surprise there. Some image dither algorithms effectively combine the dither and a downsampling step, particularly when producing halftone output, but that is a detail.

Note that all the math needs to be done in a linear colour space at a suitable word length and the conversion from and to a non linear gamma may imply the application of dither.

One other issue with film and video is that due to its low frame rate, temporal subsampling can easily occur (hence wagon wheels spinning backwards), but that is a separate issue from the one of spatial sampling.

Regards, Dan.

--------------------
Audiophiles use phono leads because they are unbalanced people!


Post Extras: Print Post   Remind Me!   Notify Moderator     Back to top
Hugh RobjohnsAdministrator
SOS Technical Editor


Joined: 25/07/03
Posts: 18390
Loc: Worcestershire
Re: Digital bit depth and analogue SPL new [Re: illegal colors]
      #925933 - 12/07/11 02:30 PM
Quote illegal colors:

what do you think happens when digital video is upscaled and dithered?




Again, your analogies don't hold the water you think they do. Fundamentally, the fixed display pixelation of video and the process of up- (or down-) scaling can not be related (in the way you are trying) with audio sampling. These are entirely different concepts.

Quote:

I was talking about resolution of digital video and digital audio. You guys all seem to be confused by the fact that you actually can see pixels on your screens.




These fixed capture and display pixels inherently provide an absolute visual resolution -- returning to the topic of 'circles of confusion' that you were alluding to earlier. Fewer pixels results in a blockier, distorted picture of low resolution. The approximately equivalents in correctly sampled audio is gross distortion and a limited audio bandwidth... but those are unrelated to wordlength which is the core of what was being discussed.

Correctly dithered low wordlength quantisation does not distort the audio signal in any way. The resolution is not altered. The only affect is that the noise floor is proportional to the wordlength.

Quote:

if you apply the same logic of yours to real world digital video as opposed to ultra-simplified understanding the three of you seem to subscribe to then we also can't use the R word when talking about anything.




There is an appropriate appliction of the term 'resolution' when discussing digital video display devices. And while I recognise that there are many people far more clever than me, whose understanding of digital video goes to much greater depths than my own, I am confident that my understanding is a tad beyond 'ultra-simple'. It appears that I'm not alone in questioning your analogies.

Regardless, we're talking about digital audio here. Digital video is a whole different kettle of fish, few aspects of which can be directly compared with digital audio as the techniques and technologies are aimed at dealing with entirely different issues...

Returning to my previous definition of 'high resolution' as meaning 'low distortion and wide bandwidth' -- which is the interpreation most people appear to associate with it -- then I reitterate the point that 'audio resolution' is completely unaffected by the wordlength. Only the level of the noise floor is dependent on wordlength.

hugh

--------------------
Technical Editor, Sound On Sound


Post Extras: Print Post   Remind Me!   Notify Moderator     Back to top
nickluckman



Joined: 20/11/09
Posts: 28
Re: Digital bit depth and analogue SPL new [Re: Music Manic]
      #925948 - 12/07/11 05:20 PM
So you're saying a 24 bit signal without dither isn't necessarily of higher resolution (ie an exacter representation of the original signal, which is what most people mean when talking about resolution) than a 4 bit signal smoothed over with a bit of dither?

I get your point but I meant resolution and I'll stick by it.

Who is to say dither-noise isn't distortion? If you're changing the waveform in adding dither, then it's distortion isn't it?

Open to criticism!!!


Post Extras: Print Post   Remind Me!   Notify Moderator     Back to top
dmills



Joined: 25/08/06
Posts: 2130
Re: Digital bit depth and analogue SPL new [Re: Music Manic]
      #925951 - 12/07/11 05:45 PM
Nope, distortion is correlated with the signal, noise is uncorrelated (And this is not just semantics).

A 4 bit UNDITHERED quantiser has more distortion then the 24 bit one does of course as it is non linear and so generates all kinds IMD (plus the IMDs aliases of course), but add the dither and all of that goes away to be replaced my a constant noise floor.

In audio it makes sense to speak of a frequency (and sometimes a phase) response and a noise floor (possibly shaped), together with various measures of distortion and linearity but there is no reasonable way to define what is meant by resolution except by importing concepts from video or photography which really do not translate in a meaningful way.

A lot of this stuff is seriously non intuitive and it is usually very badly taught which does not help. Further many DAWs do a very bad job of representing waveforms when you zoom in which gives completely the wrong impression of how things actually work.

Work however, it does.

Regards, Dan.

--------------------
Audiophiles use phono leads because they are unbalanced people!


Post Extras: Print Post   Remind Me!   Notify Moderator     Back to top
Hugh RobjohnsAdministrator
SOS Technical Editor


Joined: 25/07/03
Posts: 18390
Loc: Worcestershire
Re: Digital bit depth and analogue SPL new [Re: nickluckman]
      #925952 - 12/07/11 05:52 PM
Quote nickluckman:

So you're saying a 24 bit signal without dither...




You'll struggle to find one... but let's go with it...

Quote:

...isn't necessarily of higher resolution (ie an exacter representation of the original signal, which is what most people mean when talking about resolution) than a 4 bit signal smoothed over with a bit of dither?




No. In fact a correctly dithered 4-bit signal will, technically, have lower distortion than a non-dithered 24 bit signal... if you could create one. In practice the analogue stage in the converter would dither the signal adequately anyway.

And dither doesn't 'smooth over' the quantising distortions -- it fundamentally linearises the quantising process.

Quote:

Who is to say dither-noise isn't distortion?




Everyone -- because noise is random (ie, uncorrelated with the signal) whereas distortion is correlated. These are standard technical definitions of fundamentally different phenomena.

Quote:

If you're changing the waveform in adding dither, then it's distortion isn't it?




No, it's noisy.

This highlights the importance of using accurate technical terms and meanings.

Hugh


--------------------
Technical Editor, Sound On Sound


Post Extras: Print Post   Remind Me!   Notify Moderator     Back to top
nickluckman



Joined: 20/11/09
Posts: 28
Re: Digital bit depth and analogue SPL new [Re: Hugh Robjohns]
      #925962 - 12/07/11 06:47 PM
Look, i'm just trying to describe whats happening in simpler terms, and you're getting caught up on technicalities.

Quote:

No. In fact a correctly dithered 4-bit signal will, technically, have lower distortion than a non-dithered 24 bit signal... if you could create one. In practice the analogue stage in the converter would dither the signal adequately anyway.




Yes, technically it might have lower distortion,(due to the lack of granular noise spread out over the spectrum, right?) but it's drenched in noise so what's your point?

Quote:


And dither doesn't 'smooth over' the quantising distortions -- it fundamentally linearises the quantising process.




I know what it does, thankyou. Granular noise sounds chunky. Add dither to it and the signal sounds smoother. You wouldn't say, "Oh my that cello sounded linear!"
Although right now, I wouldn't put it past you

Quote:

noise is random (ie, uncorrelated with the signal) whereas distortion is correlated. These are standard technical definitions of fundamentally different phenomena.




Using everyday definitions one could argue that when noise is added to a signal, thus creating a new signal, we are creating a distorted (ie different, in the same sense that a shape can be distorted) signal.

Ahh, whatever. I get your point. Hopefully you get mine. That's enough for today.









resolution...


Post Extras: Print Post   Remind Me!   Notify Moderator     Back to top
Music Manic
active member


Joined: 20/12/02
Posts: 1890
Loc: London UK
Re: Digital bit depth and analogue SPL new [Re: nickluckman]
      #925980 - 12/07/11 08:21 PM
Quote nickluckman:

Look, i'm just trying to describe whats happening in simpler terms, and you're getting caught up on technicalities.



resolution...




Yes Nick but when Hugh expresses the technical side it helps people like me understand things clearer. Hugh defined resolution to what it means in an audio domain. If teachers standardised terms with exact meanings then education would be so much easier. The problem is that things become muddled when they don't.

An analogue audio signal can still be linear in a 4bit digital system but it has a side affect of noise. That can be compensated by having a higher sample rate, thus 1bit ADC's.

I never knew that until now.
This is why I don't have to worry about "filling" all the bits and I know how to apply this to mixing. There are more things, like understanding floating and fixed point. My DAW uses one and my sound card mixer uses the other. Knowing things like these increase my confidence and understanding so I don't have to guess!

This is what makes me RESOLUTE!

This is a great forum.


Post Extras: Print Post   Remind Me!   Notify Moderator     Back to top
nickluckman



Joined: 20/11/09
Posts: 28
Re: Digital bit depth and analogue SPL new [Re: Music Manic]
      #925989 - 12/07/11 08:43 PM
I always think if you can explain complex things like this to people with no technical background you find yourself having to reassess your knowledge, and going through different thinking processes, and in turn understanding the concepts even better. So we shouldn't get tied down on technical terms too much. Yes, let's use them to differentiate between specific things, but at the same time try to stop ourselves from jumping on every minor deviance from the "technical" truth.

I definitely learnt something from this discussion, and hope others did too. Maybe we got a little carried away proving a point, but hey, at least we're passionate enough about it to argue!

And yes, this is a great forum!


Post Extras: Print Post   Remind Me!   Notify Moderator     Back to top
narcoman
active member


Joined: 14/08/01
Posts: 8469
Re: Digital bit depth and analogue SPL new [Re: nickluckman]
      #926005 - 12/07/11 10:24 PM
Quote nickluckman:

Yes, let's use them to differentiate between specific things, but at the same time try to stop ourselves from jumping on every minor deviance from the "technical" truth.





Of course we shouldn't - you are right BUT it is the novice mistake to align resolution with bits. It seems to make sense, until you know the maths!! It's a term that abounds in digital audio - but has no basis in fact. It's important that we don't perpetuate this oft cited myth for those new to the subject.


Post Extras: Print Post   Remind Me!   Notify Moderator     Back to top
andrewm



Joined: 04/12/07
Posts: 2
Re: Digital bit depth and analogue SPL new [Re: Music Manic]
      #926011 - 12/07/11 10:45 PM
i really enjoy these technical threads, there is loads of great info which really helps you understand things. this line in hugh's article linked in the OP summed things up really well for me - "the only difference that the word length of a digital system actually makes is in defining the level at which that noise floor sits"

i guess things are not helped by all the articles and other info out there that are just filled up with staircase diagrams and calculations for the number of quantisation levels etc. i have often found that the issue of dither is just shoved in at the end and is not fully explained. so its quite easy to fall into the trap of "24bit has more resolution and is more accurate".

then you come in threads like this and see stuff along the lines of "as long as its done properly, dithering totally linearizes the quantisation process-there is no issue of greater or less resolution depending on bit depth". simple and to the point!

its great to have so many knowledgeable people who put in the time to clear up the misconceptions and help others to learn. these misconceptions seem pretty widespread though. i've seen loads of people on various websites and forums (including people working as pro recording engineers, many of whom seem pretty respected) stating the 24 bit has greater resolution line, and that when listening they can hear this improved accuracy compared to 16 bit. i guess they are convincing themselves of this because they think thats what they should be hearing?


Post Extras: Print Post   Remind Me!   Notify Moderator     Back to top
narcoman
active member


Joined: 14/08/01
Posts: 8469
Re: Digital bit depth and analogue SPL new [Re: Music Manic]
      #926015 - 12/07/11 11:04 PM
Absolutely right. Confirmation bias is a powerful weapon!!


Post Extras: Print Post   Remind Me!   Notify Moderator     Back to top
Jeraldo



Joined: 10/09/05
Posts: 2132
Re: Digital bit depth and analogue SPL new [Re: dmills]
      #926027 - 13/07/11 02:45 AM
Quote dmills:

Better cameras have a spatial anti aliasing filter to remove the high spatial frequency components by in effect introducing a little blur.





Hello dan: I'll take the opportunity to ask: How does a spatial anti-aliasing camera (sensor) filter differ from a plain ol' anti-aliasing sensor filter? I've seen both terms, but haven't pursued the distinction. Thanks.


Post Extras: Print Post   Remind Me!   Notify Moderator     Back to top
illegal colors



Joined: 16/06/07
Posts: 130
Re: Digital bit depth and analogue SPL new [Re: Music Manic]
      #926029 - 13/07/11 05:30 AM
Gentlemen,
it was never my intention to enter any kind of contest in this thread.
I am fully aware how foolish I would look if I’d try to stack up my knowledge and skills against those of Hugh Robjohns, Dan Mills and narcoman. The fact that I happened to be on the right side of the argument is purely accidental.
This is why I decided to exit this discussion in order to provide opportunity for this thread to wrap up elegantly and gracefully, but I will post the following few bullet points with intention to assist those who are genuinely confused.

* The word resolution is just as appropriate or inappropriate in regards to digital audio as it is in regards to digital video. Please note that comparison to still photo images is far less appropriate because of the way we tend to view still photographs.

* Just like noise in analog stage of a 24-bit audio converter will dither the output,
pixelation of a TV screen will be fundamentally linearized by limited resolution of a human eye positioned at an appropriate viewing distance.

* Watching TV too close is akin to listening to music through a converter upgraded by Jim Williams Audio Upgrades.

* Just like pixels on a TV screen can be made apparent under wrong circumstances,
low resolution of a digital audio file also can be made rather obvious. It’s all depends on converter design.

* Just like 3 or 4-bit audio signal is perfectly linear, low resolution video when upscaled and dithered correctly is also completely free of distortions. If you don’t like what you see it’s only because you don’t like noise, the picture itself is perfect.

* The notion of the word resolution being inappropriate in relation to digital audio is a legitimate and very useful trolling tool intended to draw attention to some very important for any audio engineer concepts. It isn’t wrong at all under specific circumstances. To make this last bullet point easier to understand I will provide an example: In planetariums around the world visitors are likely to witness a lecturer saying the following: “Because stars are so far away telescopes cannot make them look closer they only make stars look brighter”. This is a very useful trolling statement intended to gently shock children’s brains into the right state of mind and prepare them for understanding of what astronomers are actually trying to achieve and the ideas behind all kinds of reflecting telescopes. All this is very, very good of course. It’s only when a boy scout with a telescope from a novelty store starts telling everybody “No, no! You don’t understand. A telescope cannot make stars look closer. The stars are so far away.” we may conclude that the boy is in need of a talk.


Cordially,
illegal colors

P.S. As for narcoman’s questions regarding published and peer reviewed stuff. Yes I know what it is about. It’s all about man made global warning and science being settled. Also on a related note: Obama killed Osama.


Post Extras: Print Post   Remind Me!   Notify Moderator     Back to top
narcoman
active member


Joined: 14/08/01
Posts: 8469
Re: Digital bit depth and analogue SPL new [Re: Music Manic]
      #926034 - 13/07/11 07:24 AM
You're odd, well intentioned and completely wrong.

But I like your upgrades line


Resolution : In video and pictures we do HAVE discrete zones of transmission - pixels. There is no equivalent in audio as the sound is not the samples joined up. So stop calling it resolution. The nearest graphics come to it is PDFs and fonts - you zoom in and the bezier (or other curves) are formed from the sampled control points. "Resolution" implies the samples would sit on the "sound" curve - they rarely do. We don't join dots.

I know WHY you'd like to refer to it as resolution - but it's misleading and doesn't help the newbie in understanding how sound sampling works - in fact it leads them up the wrong path.


Post Extras: Print Post   Remind Me!   Notify Moderator     Back to top
desmond



Joined: 10/01/06
Posts: 7901
Re: Digital bit depth and analogue SPL new [Re: narcoman]
      #926046 - 13/07/11 08:42 AM
Stair-step waveform diagrams and DAW displays give people I think some sense of audio being like image pixels - ie, the number of bits on the vertical axis and the sample rate on the horizontal axis - and thus the thinking goes, the more bits I have more better "resolution" (in pixel terms) the vertical axis has, and the higher the sample rate the closer together the horizontal axis has (again, better "resolution"), thus the samples "more closely represent the audio waveform" than if they were further apart etc etc.

Simply said - it doesn't work like that.

And simple explanations traditionally fixate a little too much on the individual samples, rather than how the samples are used to create the audio waveform for playback, resulting in the perpetuation of these myths. And the term "resolution" has too many connotations with image resolution, which complexify the issue, as they do not apply like this to audio. That's what the "R" word is generally frowned upon by the "better" *ahem* audio engineers forums on the interwebs...

As for using the correct terms - people who often don't know the correct terms often call this out as a means of not communicating simply, when in actual fact it's entirely the opposite. By calling one thing by a different term that to other people means something entirely different, you cannot hope to be understood. That's why it's in your interest to learn the terms and understand what they represent, to better enable to help you communicate simply and clearly.

I'd like to end with a pudding-related analogy:-

If I don't understand what a spoon is and choose to call it a fork instead, then I'm going to have a hard time eating my custardy pudding. That's not a failure of terminology, or making things more complicated because I have to learn the vocabulary - it's that I need to know what a spoon is and what it's called. And if I simply fall back to "You know what I meant, when I said fork, you should have known I was talking about a spoon!" everyone else is going to say "Well you should have talked about a flippin' spoon then, you dufus!".

It's all about the pudding.

Edited by desmond (13/07/11 08:48 AM)


Post Extras: Print Post   Remind Me!   Notify Moderator     Back to top
Hugh RobjohnsAdministrator
SOS Technical Editor


Joined: 25/07/03
Posts: 18390
Loc: Worcestershire
Re: Digital bit depth and analogue SPL new [Re: illegal colors]
      #926052 - 13/07/11 09:14 AM
Quote illegal colors:

* The word resolution is just as appropriate or inappropriate in regards to digital audio as it is in regards to digital video.




This feels a bit like groundhog day... The whole point of the pedantry over the terminology is about trying to dispel the myth that digital audio is 'blocky' or 'granular' or in some way fundamentally different to an analogue system.

If you take an audio signal and digitise it, there will be no more distortion in the 4 bit version than there is in the 24 bit version if both are correctly dithered. The actual audio resolution is the same -- perfect -- in both cases. The only difference is that there will be substantially more noise on the 4 bit version.

It is perfectly possible to resolve a completely distortion-free audio signal at -120dBFS in a 16 bit system -- proving that the resolution is not dependent on the wordlength.

Quote:

* Just like noise in analog stage of a 24-bit audio converter will dither the output, pixelation of a TV screen will be fundamentally linearized by limited resolution of a human eye positioned at an appropriate viewing distance.




It's still not a valid analogy for a dithered quantiser because the effect you describe is fundamentally dependent on the inherently limited visual accuity of the human eye. The latter is masking the pixelation, and this is well documented and often referred to as the 'circles of confusion'.

Dithering is not masking. If we had to run with your analogy, it could only be related to the use of an undithered quantiser...

If you digitise a loud audio signal with a low wordlength undithered quantiser you get what appears to be a slightly noisy signal because the quantisation errors are small and appear to be pseudo-random. However, what you actually have is a distorted signal, it's just that we perceive those distortions as being noise-like.

This is roughly the equivalent to viewing a screen at a sufficient distance that the human eye can't quite resolve the pixelation -- the term is 'circles of confusion' as I've said. It's a fascinating concept and worth reading up about.

If you reduce the audio amplitude in our undithered quantiser the quantisation errors will become larger, relative to the audio signal itself, and more strongly correlated with the audio signal and quickly reveal themselves as gross distortions.

This is broadly equivalent to moving closer to the screen and becoming more aware of the pixelation until eventually the pixelation distorts your sense of the image.

In both cases, the distortions (quantisation errors and pixelation) were always there. But with a loud signal or a greater viewing distance they were not obvious to the audience because of their inherently limited ability to resolve the information.

In contrast -- and this is the key point -- with a dithered quantiser there are no distortions, no matter how small the audio signal or how few quantising levels there are.

The nearest picture analogy I can come up with is that of viewing a very high quality film print in which the image resolution appears* almost infinite no matter what distance you view it from.

(*It's not the case of course -- film prints still have a granular structure... they're just very small grains!)

Quote:

* Watching TV too close is akin to listening to music through a converter upgraded by Jim Williams Audio Upgrades.






Quote:

* Just like pixels on a TV screen can be made apparent under wrong circumstances, low resolution of a digital audio file also can be made rather obvious. It’s all depends on converter design.




Obvious, yes -- because of the very high noise floor. If properly dithered there won't be any distortion... which is the crux of the debate.

I think these audio files from the Digital Problems, Practical Solutions article make the points very well.

Take a high quality analogue audio signal -- in this case a piano recital (because it reveals distortion easily) -- and quantise it, undithered at 3 bits:

http://media.soundonsound.com/sos/feb08/audio/digitalaudio/piano_3.mp3

Sounds hideously distorted and clearly of 'low resolution'

Now, same source, same 3-bit quantiser, but now with proper dithering:

http://media.soundonsound.com/sos/feb08/audio/digitalaudio/dithered_piano_ 3.mp3

Look! No distortion. Sure, it's noisy becuase it's a 3-bit quantiser, but you can hear the signal far below the constant noise floor, and it is completely clean.

Finally, use noise-shaped dither (and this is a very simple form of noise-shaping -- there are far more effective systems than this):

http://media.soundonsound.com/sos/feb08/audio/digitalaudio/noiseshaped_pia no_3.mp3

It's still only quantised with 3 bits, but there is clearly no distortion at all, and the constant noise floor is far less obstructive because the noise shaping has moved much of it to parts of the spectrum where we can't hear it as easily.

Clearly, despite being only 3 bits, this is a high quality audio signal with perfect resolution.

ta da!

Quote:

* Just like 3 or 4-bit audio signal is perfectly linear, low resolution video when upscaled and dithered correctly is also completely free of distortions. If you don’t like what you see it’s only because you don’t like noise, the picture itself is perfect.




Another unhelpful analogy I'm afraid. It relates more to sample rate conversion, not quantisation.

Quote:

* The notion of the word resolution being inappropriate in relation to digital audio is a legitimate and very useful trolling tool intended to draw attention to some very important for any audio engineer concepts.




I object to the term 'trolling tool', obviously, but you are right in that it is a device intended to make clear a critically important concept that few people really comprehend.

Quote:

It isn’t wrong at all under specific circumstances.




Quite true. It would be fair to say that an undithered 24 bit system has greater resolution than an undithered 16 bit system.

It would also be fair to say that a dithered 16 bit system had greater resolution than an undithered 24 bit system.

But it would be wrong to claim that a dithered 24 bit system had greater resolution than a dithered 16 bit system.

I hope that helps.

Hugh

--------------------
Technical Editor, Sound On Sound


Post Extras: Print Post   Remind Me!   Notify Moderator     Back to top
ZukanModerator
Zukan


Joined: 12/09/03
Posts: 8514
Re: Digital bit depth and analogue SPL new [Re: Music Manic]
      #926056 - 13/07/11 09:19 AM
Okay, so we now know that 24 bit depth has a high resolution and that the bit rate displays a good dynamic range, but can we add swing to the quantisation?



--------------------
Samplecraze
Stretch That Note


Post Extras: Print Post   Remind Me!   Notify Moderator     Back to top
narcoman
active member


Joined: 14/08/01
Posts: 8469
Re: Digital bit depth and analogue SPL new [Re: Hugh Robjohns]
      #926060 - 13/07/11 09:44 AM
Quote Hugh Robjohns:


Quite true. It would be fair to say that an undithered 24 bit system has greater resolution than an undithered 16 bit system.

Hugh




It'd LESS bogus - but bogus none the less. We ain't joining dots!! Residual error would be smaller (therefore noise would be lower) BUT the same waveform would be described. Even undithered - you can't more accurately describe a waveform than correctly!


Post Extras: Print Post   Remind Me!   Notify Moderator     Back to top
Hugh RobjohnsAdministrator
SOS Technical Editor


Joined: 25/07/03
Posts: 18390
Loc: Worcestershire
Re: Digital bit depth and analogue SPL new [Re: narcoman]
      #926062 - 13/07/11 09:52 AM
Quote narcoman:

BUT the same waveform would be described.




Yes, but with correlated errors -- distortion -- that wouldn't be there if it was dithered.

hugh

--------------------
Technical Editor, Sound On Sound


Post Extras: Print Post   Remind Me!   Notify Moderator     Back to top
ken long



Joined: 21/01/08
Posts: 4277
Loc: The Orient, East London
Re: Digital bit depth and analogue SPL new [Re: Hugh Robjohns]
      #926063 - 13/07/11 09:54 AM
Someone petition Apogee...



--------------------
I'm All Ears.


Post Extras: Print Post   Remind Me!   Notify Moderator     Back to top
. . . Delete This
Here be Dragons


Joined: 23/06/08
Posts: 3888
Re: Digital bit depth and analogue SPL new [Re: ken long]
      #926066 - 13/07/11 09:57 AM
lol, I was thinking more along the lines of starting to charge to store people's anoraks....


Post Extras: Print Post   Remind Me!   Notify Moderator     Back to top
Hugh RobjohnsAdministrator
SOS Technical Editor


Joined: 25/07/03
Posts: 18390
Loc: Worcestershire
Re: Digital bit depth and analogue SPL new [Re: . . . Delete This User . . .]
      #926068 - 13/07/11 10:07 AM
I never take mine off...

hugh

--------------------
Technical Editor, Sound On Sound


Post Extras: Print Post   Remind Me!   Notify Moderator     Back to top
Pages: 1 | 2 | (show all)

Rate this thread

Jump to

Extra Information
0 registered and 48 anonymous users are browsing this forum.

Moderator:  David Etheridge, James Perrett, zenguitar, Martin Walker, Forum Admin, Hugh Robjohns, Zukan, Frank Eleveld, Will Betts,  
Forum Permissions
      You cannot start new topics
      You cannot reply to topics
      HTML is disabled
      UBBCode is enabled
Rating:
Thread views: 8227

 

Home | Search | News | Current Issue | Tablet Mag | Articles | Forum | Subscribe | Shop | Readers Ads

Advertise | Information | Digital Editions | Privacy Policy | Support

June 2013
On sale now at main newsagents and bookstores (or buy direct from the
SOS Web Shop)
SOS current Print Magazine: click here for FULL Contents list
Click image for June 2013
DAW Tips from SOS
 

Email: Contact SOS

Telephone: +44 (0)1954 789888

Fax: +44 (0)1954 789895

Registered Office: Media House, Trafalgar Way, Bar Hill, Cambridge, CB23 8SQ, United Kingdom.

Sound On Sound Ltd is registered in England and Wales.

Company number: 3015516 VAT number: GB 638 5307 26

         

All contents copyright © SOS Publications Group and/or its licensors, 1985-2013. All rights reserved.
The contents of this article are subject to worldwide copyright protection and reproduction in whole or part, whether mechanical or electronic, is expressly forbidden without the prior written consent of the Publishers. Great care has been taken to ensure accuracy in the preparation of this article but neither Sound On Sound Limited nor the publishers can be held responsible for its contents. The views expressed are those of the contributors and not necessarily those of the publishers.

Web site designed & maintained by PB Associates | SOS | Relative Media