2
與此類似問題Basic sound error in Matlab(無答案),當我嘗試播放聲音(Matlab的2012A,64位Windows 7),即使用sound
,soundsc
,或audioplayer
,我得到一個錯誤:錯誤嘗試播放聲音
>> load chirp.mat;
>> soundsc(y,Fs)
Error using sound (line 60)
Too many input arguments.
Error in soundsc (line 48)
sound(varargin{:})
我懷疑這是一個設備驅動程序問題,但它只是一個猜測。 Matlab似乎看到音頻設備:
>> devinfo = audiodevinfo;
>> devinfo.output.Name
ans =
Primary Sound Driver (Windows DirectSound)
ans =
Speakers (High Definition Audio Device):1 (Windows DirectSound)
ans =
Speakers (High Definition Audio Device):2 (Windows DirectSound)
任何想法?