SRC-Sampling_Rate_Conve​rsion

Sampling rate conversion between standard rates for speech and audio.
204 Downloads
Updated 11 Sep 2015

View License

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. The file '1.7 Sample Rate Conversion.pdf' provides a User's Guide for this exercise.

Cite As

Lawrence Rabiner (2024). SRC-Sampling_Rate_Conversion (https://www.mathworks.com/matlabcentral/fileexchange/52135-src-sampling_rate_conversion), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2015a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Simulation, Tuning, and Visualization in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0

works on both R2015a and windows 10
added name of User's Guide for this exercise