MATLAB Answers

Wendy
0

Issues with sound and soundsc (matlab R2011a, Lion)

Wendy
さんによって質問されました 2012 年 2 月 27 日
最新アクティビティ folkelotte さんによって コメントされました 2016 年 12 月 28 日
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!

  0 件のコメント

サインイン to comment.

2 件の回答

Daniel Shub
回答者: Daniel Shub
2012 年 2 月 28 日

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.

  0 件のコメント

サインイン to comment.


回答者: Sandeep Rai 2016 年 4 月 19 日

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 件のコメント

folkelotte 2016 年 12 月 28 日
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!

サインイン to comment.



Translated by