How to obtain wav files to test my audio sampler

4 views (last 30 days)
I have a very simple question. I am making an audio sampler using matlab and need audio to test but I don't know how to pass wav files into matlab or if matlab has an wav files already that I can just load.

Accepted Answer

KALYAN ACHARJYA
KALYAN ACHARJYA on 1 Jun 2019
Edited: KALYAN ACHARJYA on 1 Jun 2019
[y,Fs]=audioread('filename.wav');
%...................^^ file name
% Ensure that audio file in current working directory
See here for detail.
There are sample audio files also, you can check from here

More Answers (0)

Community Treasure Hunt

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

Start Hunting!