Issues with sound and soundsc (matlab R2011a, Lion)

2 vues (au cours des 30 derniers jours)
Wendy
Wendy le 27 Fév 2012
Commenté : folkelotte le 28 Déc 2016
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!

Réponses (2)

Daniel Shub
Daniel Shub le 28 Fév 2012
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 le 19 Avr 2016
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 commentaire
folkelotte
folkelotte le 28 Déc 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!

Connectez-vous pour commenter.

Community Treasure Hunt

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

Start Hunting!

Translated by