File Exchange

image thumbnail

Sample rate conversion

version 1.4.0.0 (2.04 MB) by Speech Processing
converts the sampling rate of an existing speech or audio file from its current sampling rate

7 Downloads

Updated 03 Jun 2015

View Version History

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.

Cite As

Speech Processing (2020). Sample rate conversion (https://www.mathworks.com/matlabcentral/fileexchange/45329-sample-rate-conversion), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (1)

Raktim Rakshit

MATLAB Release Compatibility
Created with R2012b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!