I want to know the difference between audioplayer and sound in matlab.
5 ビュー (過去 30 日間)
古いコメントを表示
Seetha Rama Raju Sanapala
2015 年 1 月 25 日
回答済み: Geoff Hayes
2015 年 1 月 25 日
As far as I know, sound and audioplayer play a vector with a given sampling rate. What is the difference between them? Are they the same? Is there a situation where audioplayer is applicable but not the sound or vice-versa?
0 件のコメント
採用された回答
Geoff Hayes
2015 年 1 月 25 日
Seetha - using the audio player object allows you to do much more than just "play" a vector of data at a given sampling rate (which is about all you can do with sound). You can pause the playback, resume it, play with blocking, get and set properties of the object, etc. See audioplayer for details.
You would use the audio player object when you want more control over the data that you are playing (for example, maybe you have a GUI that you wish to use to manipulate the sound data - play, pause, resume, stop).
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
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!