How can I avoid having to press 'Enter' (or any keyboard key) to return text in an edit box?

9 ビュー (過去 30 日間)
BD
BD 2014 年 7 月 17 日
コメント済み: BD 2014 年 7 月 21 日
I'd like to use the Dictation capability in MAC OSX Mavericks to enter text into the workspace. Putting up a simple edit box, and staring the dictation program enables text to be input, however the 'Enter' key needs to be pressed to capture the text in the workspace. Is there anyway that this can be achieved without direct interaction?
Thanks in advance for any suggestions BD

回答 (2 件)

Joseph Cheng
Joseph Cheng 2014 年 7 月 17 日
there is an extensive thread here http://www.mathworks.com/matlabcentral/answers/8921-pull-string-out-of-edit-text-without-user-hitting-enter. I have not tried to implement it but it looks like the person who asked did get a solution.
  1 件のコメント
BD
BD 2014 年 7 月 21 日
Thanks - I had a look at this, but their solution is to trap keystrokes - with the dictation app, there are no keystrokes!

サインインしてコメントする。


Andrew Reibold
Andrew Reibold 2014 年 7 月 17 日
編集済み: Andrew Reibold 2014 年 7 月 17 日
Just throwing out ideas. I'm assuming Dictation is a speech-to-text
1) Try using a timer? Not sure what your application is. Maybe you will always be done within 5-10 seconds or some period of time.
2) Can you take live feed of the sound through matlab, and do something like, "When there is little noise or amplitude for 3 seconds straight, end and hit enter for me", aka, when you stop talking?

カテゴリ

Help Center および File ExchangeSpeech Recognition についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by