Speech processing designates a team consisting of Prof. Lawrence Rabiner (Rutgers University and University of California, Santa Barbara), Prof. Ronald Schafer (Stanford University), Kirty Vedula and Siva Yedithi (Rutgers University). This exercise is one of a set of speech processing exercises that are intended to supplement the teaching material in the textbook “Theory and Applications of Digital Speech Processing” by L R Rabiner and R W Schafer.
Speech and audio waveforms are generally sampled at a number of standard rates, including 6000, 6667, 8000,10000, 16000, 20000, 22050 and 44100 Hz. Often speech processing (within a MATLAB m-file) expects speech or audio to be sampled at one of these standard rates. Hence if the sampling rate for an input signal to a MATLAB algorithm or application is not the required rate, it is often necessary to convert the sampling rate, do the signal processing at the specified rate, and convert back to the original sampling rate (e.g., for a speech processing algorithm).
This MATLAB exercise provides a simple sampling rate converter between standard sampling rates of 6000, 6667, 8000, 10000, 16000, 20000, 22050 and 44100 Hz, as well as between any pair of sampling rates that have a least common multiple that is an integer.