- This topic has 3 replies, 2 voices, and was last updated 7 years, 10 months ago by .
Viewing 3 reply threads
Viewing 3 reply threads
- You must be logged in to reply to this topic.
› Forums › Foundations of speech › Signal processing › Bit depth
What is the effect of using fewer bits per sample to store a speech waveform?
The effect is best described as a type of distortion. Using fewer bits means that the digital waveform is a worse approximation to the original analogue one. The attached samples demonstrate this (use headphones).
Tips:
I was wondering why 8bits and 16bits are used normally. I mean, will something go wrong if we choose 9-15bits?
Nothing will go wrong when using any number of bits.
However, the choices of 8 and 16 are the most convenient because of the way computers store numbers. 8 bits is one byte and corresponds to a char
in software (in C family languages). 16 bits corresponds to either an int
or short
in software.
Using 9 bits, for example, would be very inconvenient when writing software, since there is no built-in type that is of exactly that size.
Deep down in the operating system (in fact, in the hardware), everything is stored with a fixed number of bits. In modern operating systems, this is now usually 64 bits (older computers used 32 bits). The operating system can very neatly pack 8 or 16 bit numbers into memory. It would be messy to pack 9 bit numbers into memory, and also wasteful since we couldn’t use all 64 bits.
Some forums are only available if you are logged in. Searching will only return results from those forums if you log in.
Copyright © 2024 · Balance Child Theme on Genesis Framework · WordPress · Log in