audioread doesn't read wave files that wavread reads. (Matlab R2014a)

3 views (last 30 days)
Hi,
I am using customized Matlab GUI software 'Tempo' published on Git Hub (https://github.com/JaneliaSciComp/tempo) which allows annotating sound events in spectrograms from *.wav files.
The software - as recommended by Mathworks - uses audioread() to read the wave files which I made using an earlier version of Matlab (2011).
However, while I can open and read the files using wavread() [in Matlab R2014a] I can not read the same file with audioread() - accordingly, 'Tempo' also doesn't open the file.
I got Matlab R2014a just recently (I updated because there were other problems running Tempo under Matlab 2011) and while waiting for the update by our IT department I asked one of the developers of Tempo to check whether Tempo could open my wav file (that was originally related to these other problems). Surprisingly, they were able to open the file. I think they are using Matlab 2013 for Mac.
What could be the problem?
thanks!
P.S. The error message:
Error: File: audioread.m Line: 79 Column: 8
Arguments to IMPORT must either end with ".*" or else specify a fully qualified class name:
"multimedia.internal.audio.file.PluginManager" fails this test.
I further discovered that I get the same error with audiowrite().
  2 Comments
Geoff Hayes
Geoff Hayes on 16 Sep 2014
Dennis - when you say that you can not read the same file with audioread(), is that because you are observing an error? If so, please include the error message in your question.
Dennis
Dennis on 16 Sep 2014
Oh, sorry, I added the error message to the original question.

Sign in to comment.

Accepted Answer

Geoff Hayes
Geoff Hayes on 16 Sep 2014
Dennis - check out the Sean de Wolski's answer to error with audio write. It is the same error message that you are observing just with the audiowrite function instead. The solution there may work well for you too (especially as you just recently updated your MATLAB version).

More Answers (1)

Dennis
Dennis on 16 Sep 2014
worked! great! Thank you!

Products

Community Treasure Hunt

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

Start Hunting!