Can MATLAB read audio files?
You can read audio files into a Matlab-vector using the following command audio_vector=audioread('filename'); audioread is a built-in Matlab function. In order to play audio files within Matlab, you can use the following command sound(audio_vector); By default sound assumes a sampling rate of 8192Hz.
What information about an audio file can you retrieve in MATLAB?
Sample rate of the audio data in the file, in hertz. Total number of audio samples in the file. Duration of the file, in seconds. Number of bits per sample encoded in the audio file.