📄 quantaudio.c
字号:
//
// Project: Experiment 3.6.2 Quantization Audio - Chapter 3
// File name: quantAudio.c
//
// Description: This function performs quantization to audio data and plays back
// audio samples on C5510 DSK.
//
// For the book "Real Time Digital Signal Processing:
// Implementation and Application, 2nd Ed"
// By Sen M. Kuo, Bob H. Lee, and Wenshun Tian
// Publisher: John Wiley and Sons, Ltd
//
// Tools used: CCS v.2.12.07
// TMS320VC5510 DSK Rev-C
//
short quantAudio(short indata, short quant);
short quantAudio(short indata, short quant)
{
return(indata&quant); // Quantization by masking the data sample
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -