Issues with sound and soundsc (matlab R2011a, Lion)
2 ビュー (過去 30 日間)
古いコメントを表示
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 件のコメント
回答 (2 件)
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 件のコメント
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!
参考
カテゴリ
Help Center および File Exchange で Audio and Video Data についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!