Progress bar music, update in real time
3 ビュー (過去 30 日間)
古いコメントを表示
Hi,
I'm doing a music reader with matlab. I'd like to add a progress bar for the music, a slider I think. But I have a problem : How can I update the slider in real time during the play back of the music ?
Thank you
0 件のコメント
回答 (2 件)
Joseph Cheng
2014 年 3 月 25 日
編集済み: Joseph Cheng
2014 年 3 月 25 日
I do not have the time just at this moment to try it out but this link http://www.mathworks.com/matlabcentral/answers/95933 does seem applicable. Looks like you can use the player.TimerFcn to call a function that increments the slider as it plays. Will need to play and read up a bit to figure out how to get the slider update if it is manually moved and skip to the correct audio time .
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!