Issues with sound and soundsc (matlab R2011a, Lion)

Hi,
I am having issues with sound and soundsc (I have a mac: Lion 10.7.2, using matlab R2011a).
Whenever I try to play sounds using sound or soundsc, I get the following error:
-----
Warning: The following error was caught while executing 'asyncio.Channel' class destructor:
Too many input arguments.
> In audioplayer.audioplayer>audioplayer.initialize at 241
In audioplayer.audioplayer>audioplayer.audioplayer at 194
In audiovideo/private/playsnd at 15
In sound at 58
In soundsc at 48
??? Error using ==> playsnd at 18
Too many input arguments.
Error in ==> sound at 58
playsnd(y,fs,bits);
Error in ==> soundsc at 48
sound(varargin{:})
--
an example of code in which I get that error, using one of Matlab's sample sounds:
load gong.mat;
sound(y, Fs);
I've been able to easily use sound and soundsc before. Has anyone else had this problem?
Thanks!

Antworten (2)

Daniel Shub
Daniel Shub am 28 Feb. 2012

0 Stimmen

This is surprising to me. I would contact TMW directly. While MATLAB and sound is sometimes flaky, it usually doesn't crash like this. I don't use a mac so I cannot confirm your problem.
Sandeep Rai
Sandeep Rai am 19 Apr. 2016

0 Stimmen

Having the same problem with audioread function in Windows 7 32-bit OS. It used to work on this same machine but now I tried different wav files. Everytime the problem is same.

1 Kommentar

folkelotte
folkelotte am 28 Dez. 2016
Yes, it keeps happening to me, too. Windows 7, 64-bit, Matlab R2014a. I don't need it very urgently, so for the time being, I'll do nothing about it, but if you had an resolution for the problem, I'd be interested!

Melden Sie sich an, um zu kommentieren.

Gefragt:

am 27 Feb. 2012

Kommentiert:

am 28 Dez. 2016

Community Treasure Hunt

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

Start Hunting!

Translated by