File Exchange

image thumbnail

Sample rate conversion

version 1.4 (2.04 MB) by

converts the sampling rate of an existing speech or audio file from its current sampling rate



View License

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.

Comments and Ratings (0)



Updated to work with post-R2014b graphics


code updates; Read_Me.txt setup file; pathnew_matlab_central example


default sampling rate to 10000 Hz in GUI


Speech files fix added

MATLAB Release
MATLAB 8.0 (R2012b)

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video