Digital Signal Processing Reference
In-Depth Information
Other filters can be created and other sound files can be filtered. If you use
the speech.wav file on the accompanying disc be aware that it has a sampling
frequency of 11,025 Hz. It is also captured as an 8-bit file.
8.5 CONCLUSION
We have reached the end of this chapter where the implementation of FIR and IIR
filters has been developed. We have developed a fully functional program to filter
sound files, which can be mono or stereo, and 8-bit or 16-bit files. Other file
formats can be added to the program with minimum effort by writing functions to
read and write the file headers and passing the required information to our
functions. Compressed files can be handled by implementing a decompression
function between the reading of the data and its filtering. Further information on
sound file formats and C code for filtering can be found in Appendix I.
Search WWH ::




Custom Search