Does the WAVREAD function from MATLAB 7.13 (R2011b) support ADPCM data format?
1 view (last 30 days)
Show older comments
I am attempting to use WAVREAD to open WAV files under Windows and I receive the following error message from MATLAB:
airdata = wavread('airplane2.wav')
??? Error using ==> wavread at 166
Data compression format (Microsoft ADPCM) is not supported.
Accepted Answer
MathWorks Support Team
on 7 Nov 2012
This enhancement has been incorporated in Release 2012b (R2012b). For previous product releases, read below for possible workarounds:
WAVREAD does not support the ADPCM data format found in some WAV-files; it only supports the Microsoft PCM data format.
Possible workarounds are:
1. Convert your ADPCM files into PCM files using a converter program. There are some free and paid options available online.
2. The Simulink DSP System Blockset has a 'From Multimedia File' block that can read ADPCM WAV files. However, to utilize this, you must have Simulink and the DSP System Blockset licenses available, and then make a Simulink model that utilizes the block and outputs the data into the workspace.
0 Comments
More Answers (0)
Categories
Find more on Audio Processing Algorithm Design in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!