help me plis im using matlab 2018a
古いコメントを表示
y1=audioread('namafile.wav');
Fs=10000;
wavplay(y1,Fs,'async')
>> PSD312
Undefined function or variable 'wavplay'.
Error in PSD312 (line 3)
wavplay(y1,Fs,'async')
回答 (2 件)
Steven Lord
2020 年 4 月 27 日
編集済み: Steven Lord
2020 年 4 月 27 日
0 投票
The wavplay function was removed in release R2014a. The Release Notes recommends using audioplayer and play instead.
Ameer Hamza
2020 年 4 月 27 日
0 投票
As Steven mentioned, you can use audioplayer. Or if you have several functions already using wavplay. Then you can use this FEX submission: https://www.mathworks.com/matlabcentral/fileexchange/71798-wavplay to preserve backward compatibility. This function also internally call audioplayer.
カテゴリ
ヘルプ センター および 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!