how to use the pushbutton in GUI to record the voice
古いコメントを表示
hello , I was trying to apply GUI with guide to my code voice recognition I actually dont know a lot about GUI .first, what I want to do is to assgin a push button for recording , how can I do that? I know how to make the figure but I dont know how to proceed after that starting from the option view callbacks ,here is a simple code as a start ,
rec1 = audiorecorder(22050, 16, 2);
disp('Start speaking.')
recordblocking(rec1, 2);
disp('End of Recording.');
any advice would be appreciated .
3 件のコメント
Jon
2014 年 4 月 26 日
pushbuttonhandle = uicontrol('Style', 'Pushbutton', 'String', string, 'Position', [x, x, x, x], 'Callback', callback function);
enas
2014 年 4 月 27 日
Jan
2014 年 4 月 27 日
@enas: "Didn't work" does not allow us to recognize, what is happening. Please spend the time to explain any details. Show us your code and explain the problems.
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Speech Recognition についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!