Converts the sampling rate of an existing speech file from its current rate, to a different rate.
THE SET OF SPEECH AND AUDIO FILES HAVE TO BE DOWNLOADED AND SAVED IN THE SAME FOLDER TO WHICH YOU DOWNLOAD THE VARIOUS SPEECH PROCESSING EXERCISES IN ORDER FOR THIS PROGRAM TO WORK SEAMLESSLY. THE SPEECH AND AUDIO FILES CAN BE DOWNLOADED USING THE FOLLOWING LINK:
WE STRONGLY URGE YOU TO DOWNLOAD THE SPEECH AND AUDIO FILES BEFORE DOWNLOADING ANY OF THE SPEECH PROCESSING EXERCISES.
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 2000, 4000, 6000, 6667, 8000,10000, 16000, 20000 and 40000 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
This MATLAB exercise provides a simple sampling rate converter between standard sampling rates of 2000, 4000, 6000, 6667, 8000,10000, 16000, 20000 and 40000 Hz, as well as between any pair of sampling rates that have a least common multiple that is an integer.
For optimal results use the speech files at this link: