Quantization of Signals
🏃🏻 Getting Started Guide
This document can be executed directly on the Bohrium Notebook. To begin, click the Connect button located at the top of the interface, then select the digital-signal-processing:Digital-Signal-Processing-Lecture Image and choose your desired machine configuration to proceed.
📖 Source
This Notebook is from a famous Signal Processing Lecture. The notebooks constitute the lecture notes to the masters course Digital Signal Processing read by Sascha Spors, Institute of Communications Engineering, Universität Rostock.
This jupyter notebook is part of a collection of notebooks on various topics of Digital Signal Processing. Please direct questions and suggestions to Sascha.Spors@uni-rostock.de.
Requantization of a Speech Signal
The following example illustrates the requantization of a speech signal. The signal was originally recorded with a wordlength of bits. It is requantized by a uniform mid-tread quantizer to various wordlengths. The signal-to-noise ratio (SNR) after quantization is computed and a portion of the (quantized) signal is plotted. It is further possible to listen to the requantized signal and the quantization error. Note, the level of the quantization error has been normalized for better audability of the effects.
Original Signal ../data/speech.wav
Requantization to 8 bit
SNR: 34.0 dB
Requantized Signal speech_8bit.wav
Quantization Error speech_8bit_error.wav
Requantization to 6 bit
SNR: 22.9 dB
Requantized Signal speech_6bit.wav
Quantization Error speech_6bit_error.wav
Requantization to 4 bit
SNR: 11.7 dB
Requantized Signal speech_4bit.wav
Quantization Error speech_4bit_error.wav
Requantization to 2 bit
SNR: 2.4 dB
Requantized Signal speech_2bit.wav
Quantization Error speech_2bit_error.wav
Copyright
This notebook is provided as Open Educational Resource. Feel free to use the notebook for your own purposes. The text is licensed under Creative Commons Attribution 4.0, the code of the IPython examples under the MIT license. Please attribute the work as follows: Sascha Spors, Digital Signal Processing - Lecture notes featuring computational examples.