• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Can someone explain quantizing?

Kitros

Golden Member
It is before coding and after sampling, that I know. However, what I am hung up on is if I quantized a signal into 8 bits, 0-255 points would be assigned to the sampled points, but for what duration? If I had a 3 minute song, and digitized it in 8-bit, would the whole song only be represented by 256 points? THAT doesn't seem correct.. If I digitized it in 16 bits, would the song be represented in ~65,000 points?

brain...hurtz!

thanks ppl...
 
The quantizing refers to each sample point. For example, lets say you have a 22khz recorded sample of something.

If you had an 8bit signal, each sample (22,000 are recorded per second) has a size of a single byte, and can record 256 different levels. So if you were sampling audio, for example, the different levels would correspond to amplitude of the signal at that time.

A 16bit signal stores a word for each sample, and so can have 65k different volume variations at a given point. Obviously, this gives a much better approximation to the actual sine-wave signal. If you know about Fourier analysis, you know that sharp edges in the time-domain correspond to high frequencies; so those rough and abrupt transitions in 8bit sound cause high-frequency noise.

So the total amount of size taken by an audio sample would be :

TIME of sampe x Sampling Rate x SampleSize

so for 3 minutes (180s) of audio recorded at 22khz at 8bit, you need 3.969MB of storage space, or double that if you either double the sampling rate, or double the sample size (8bit->16bit) Thus why compression is so handy. 🙂
 
o i c...

...so, the bit/size is the dynamics?

...the sampling rate is how accurate the range of notes is...

...and quantizing is just assigning binary numbers to the sampled points?
 
quantizing is nothing more than rounding numbers to the nearest pre-determined level., ie, a sampled sine wave can be rounded to the nearest quarter,

0, .25, .5, .75, 1, .75, .5, .25, .0, but of course it wouldn't be an accurate representation of the signal (aliasing can occur).
 
Back
Top