Let's get started...
1. Click on My Projects, then create a new project. I called mine VoiceApp.
2. You will now see the layout screen with Palette, Viewer, Components, Media and Properties boxes. Adding components is easy by dragging objects from the Palette box onto the Viewer.
3. Now drag a Button from the left column under Basic onto the palette. Select the button in the Components column and click Rename to change the name to VoiceToTextButton. Then, in the Properties column, set the Text to "Voice to Text."
4. Next, drag in a Label and place below the VoiceToTextButton. Rename the label to ResultLabel and set the Text field to "".
5. Drag in another Button and place below ResultLabel. Rename to TextToVoiceButton and set Text field to "Text to voice."
6. Now, expand the Other Stuff tab in the left column and drag two final components onto the palette: SpeechRecognizer and TextToSpeech. NOTE: These are non-visible components and so will appear below the palette.
Your screen should now look like this:
7. Now connect your Android phone via usb. On your phone, go to Settings-->Applications-->Development. Enable USB debugging and Stay awake.
8. On the layout screen click the button to Open the Blocks Editor. This will open a Java applet that contains all of the logic blocks/action handlers and interfaces with your phone.
9. In the Blocks Editor, create the following code:
We need to handle the Voice to text button click event first. In this, we simply tell the SpeechRecognizer1 to start listening. The BeforeGettingText function clears our label so the words spoken can be displayed there. The AfterGettingText function sets our label to the words spoken.
10. To go the other way--text to voice--we handle the click event of the other button. TextToSpeech1.Speak has an output parameter that we set to our label.text field.
In order for this component to work, the device must have the TTS Extended Service app by Eyes-Free Project installed. You can download this from http://code.google.com/p/eyes-free/downloads/list
So there's the code (layout and blocks) required for building a simple voice-to-text and text-to-voice application.
Download this application onto your phone by scanning this code:
Hi my friend, great tutorials I must say!
ReplyDeleteI'm working on a "co workers phonebook". I'm sick of filling my personal phonebook with 100 of CO's and I've been trying to make my "CO phonebook" using the list pickers but the only thing I can do is text, I want to have the list + the phonecall function. Cant sort it out, I'd be greatful if you had any tip for me or even better, show me some blocks in the block editor 8)
Best regards Nicklas
Hi Nicklas,
ReplyDeleteYou may find this tutorial helpful for making phone calls. http://appinventor.googlelabs.com/learn/tutorials/piccall/piccall.html
- tk
speech to text
ReplyDeletei want to convert speech to text... so i done but dont work... pls help me...and list the code....
ReplyDeleteThanks great site
ReplyDeletehow can i do a project like put the word hello in press a translate button and changes to another word.
ReplyDeleteSorry for the silly question but how do you get the Text block with just Text and no drop down? Thanks tons
ReplyDeleteThis comment has been removed by the author.
ReplyDeleteIn many ways Voice Actions for Android is very similar to the Vlingo for Android product—just by pushing a widget button on the home screen you can speak to your Android phone and have Voice Actions turn your words into actions. Just like Vlingo you can speak to send a text message or an email, navigate to a business location, search the web, and much more. The Voice Actions business dialing feature is very similar to Vlingo’s SuperDialer—you just say “call ” such as “call Blue Ribbon Barbecue” and Voice Actions dials the business for you. It even goes farther in some areas—my favorite is setting the alarm clock on the phone just by speaking “Set alarm for 8 am.”
ReplyDeletehi guys!my name is mahmoud and am from africa, i need help on my project and its important. can somebody please contact me via my mail for mentorship. thanks in advance.
ReplyDeletemahmoud.
email: mahmoudgbessay@gmail.com
Hi,
ReplyDeleteIs it possible to create Text/String to Sound?
The text is base64 format of an encrypted text or string.
and vice versa from sound to encrypted string which then will be passed to a function to decrypt the text/string?
Thanks.
Congratulations guys, quality information you have given!!!..Its really useful blog. Thanks for sharing this useful information
ReplyDelete|Best Android Training in Velachery | android development course fees in chennai
Thanks! This was extremely helpful! I wanted to share helpful site for voice recognition: convert voice recording to text. Hope this helps someone!
ReplyDeleteWedding Anniversary Wishes Images
ReplyDeleteIt works great Thanks :)
ReplyDeleteNice tutorial. Thanks for sharing the valuable information. it’s really helpful. Who want to learn this blog most helpful. Keep sharing on updated tutorials…
ReplyDeleteClick here:
angularjs training in rajajinagar
Click here:
angularjs training in marathahalli
Your good knowledge and kindness in playing with all the pieces were very useful. I don’t know what I would have done if I had not encountered such a step like this.
ReplyDeleteClick here:
angularjs training in sholinganallur
Click here:
angularjs training in btm
Nice tutorial. Thanks for sharing the valuable information. it’s really helpful. Who want to learn this blog most helpful. Keep sharing on updated tutorials…
ReplyDeleteBlueprism training in Chennai
Blueprism training in Bangalore
Blueprism training in Pune
Blueprism online training
Nice tutorial. Thanks for sharing the valuable information. it’s really helpful. Who want to learn this blog most helpful. Keep sharing on updated tutorials…
ReplyDeleteBlueprism training in Chennai
Blueprism training in Bangalore
Blueprism training in Pune
Blueprism online training
Thanks you for sharing this unique useful information content with us. Really awesome work. keep on blogging
ReplyDeleteDevOps online Training|DevOps Training in USA
Outstanding blog post, I have marked your site so ideally I’ll see much more on this subject in the foreseeable future.
ReplyDeletejava training in chennai | java training in bangalore
java online training | java training in pune
This is a terrific article, and that I would really like additional info if you have got any. I’m fascinated with this subject and your post has been one among the simplest I actually have read.
ReplyDeleteData Science Training in Chennai | Data Science course in anna nagar
Data Science course in chennai | Data science course in Bangalore
Data Science course in marathahalli | Data Science course in btm
It is amazing and wonderful to visit your site.Thanks for sharing this information,this is useful to me...
ReplyDeleteangularjs Training in electronic-city
angularjs online Training
angularjs Training in marathahalli
angularjs interview questions and answers
angularjs Training in bangalore
ReplyDeleteWhoa! I’m enjoying the template/theme of this website. It’s simple, yet effective. A lot of times it’s very hard to get that “perfect balance” between superb usability and visual appeal. I must say you’ve done a very good job with this.
AWS Training in BTM Layout |Best AWS Training in BTM Layout
AWS Training in Marathahalli | Best AWS Training in Marathahalli
ReplyDeleteWhoa! I’m enjoying the template/theme of this website. It’s simple, yet effective. A lot of times it’s very hard to get that “perfect balance” between superb usability and visual appeal. I must say you’ve done a very good job with this.
AWS Training in BTM Layout |Best AWS Training in BTM Layout
AWS Training in Marathahalli | Best AWS Training in Marathahalli
Thanks admin for spending your valuable time to write an excellent article.
ReplyDeleteSelenium Training in Chennai
Best Selenium Training Institute in Chennai
ios developer training in chennai
.Net coaching centre in chennai
French Classes in Chennai
Big Data Training in Chennai
Best JAVA Training in Chennai
PHP Institutes in Chennai
PHP Training Center in Chennai
Very good to read the post thanks for sharing
ReplyDeleteblue prism training in chennai
Thanks for information i also interested in learning for your blog.
ReplyDeleteSpeech To Text
We Offer Professional Online Transcription Services
ReplyDeleteAt Very Affordable Rates.Powered By Native Transcribers, We Deliver Great Quality.Chat With Us Now!.
Good Post! Thank you so much for sharing this pretty post, it was so good to read and useful to improve my knowledge as updated one, keep blogging.
ReplyDeleteblue prism Training in Electronic City
I have found that this site is very informative, interesting and very well written. keep up the nice high quality writing. Download speech recognition
ReplyDeleteAppreciating the persistence you put into your blog and detailed information you provide.
ReplyDeleteCss training in chennai | Css course in chennai
blue prism training in chennai| Blue prism training course in chennai
On my website you'll see similar texts, write what you think. 60 inches in feet
ReplyDeletevery good.....
ReplyDeleteinplant training in chennai
inplant training in chennai for it
Bermuda web hosting
Botswana hosting
armenia web hosting
dominican republic web hosting
iran hosting
palestinian territory web hosting
iceland web hosting
nice
ReplyDeleteBermuda web hosting
Botswana hosting
armenia web hosting
lithuania shared web hosting
inplant training in chennai
inplant training in chennai for it
suden web hosting
tunisia hosting
uruguay web hosting
This site certainly has all the info I wanted concerning this subject and didn’t know who to ask.
ReplyDeleteWow what a Great Information about World Day its incredibly charming instructive post. An obligation of appreciation is all together for the post.
ReplyDeletewhat is marketing, link building strategies, on-page seo best practices, balanced scorecard for marketing management, what is sales, is desire to buy emotional or rational decision, how i increased website traffic by 600 in 24 months, free internet marketing resources, free digital marketing resources
This comment has been removed by the author.
ReplyDeleteThis is interesting blog keep on doing...
ReplyDeletehttps://www.acte.in/angular-js-training-in-chennai
https://www.acte.in/angular-js-training-in-annanagar
https://www.acte.in/angular-js-training-in-omr
https://www.acte.in/angular-js-training-in-porur
https://www.acte.in/angular-js-training-in-tambaram
https://www.acte.in/angular-js-training-in-velachery
this is full of exciting information to admire..keep us motivating by sharing more information
ReplyDeleteBEST SOFTWARE TESTING TRAINING IN CHENNAI WITH PLACEMENT
Software Testing Training in Chennai | Software Testing Training in Anna Nagar | Software Testing Training in OMR | Software Testing Training in Porur | Software Testing Training in Tambaram | Software Testing Training in Velachery
wonderful article. Very interesting to read this article.I would like to thank you for the efforts you had made for writing this awesome article. This article resolved my all querie.thanks
ReplyDeleteAi & Artificial Intelligence Course in Chennai
PHP Training in Chennai
Ethical Hacking Course in Chennai Blue Prism Training in Chennai
UiPath Training in Chennai
https://www.happierit.com
ReplyDeletehttps://www.happierit.com
https://www.happierit.com
https://www.happierit.com
https://www.happierit.com
https://www.happierit.com
https://www.happierit.com
https://www.happierit.com
very interesting to read this article. I would like to thank you for the efforts you had made for writing this awesome article. This article resolved my all queries.
ReplyDeleteAngular js Training in Chennai
Angular js Training in Velachery
Angular js Training in Tambaram
Angular js Training in Porur
Angular js Training in Omr
Angular js Training in Annanagar
Smm Panel
ReplyDeletesmm panel
is ilanlari blog
İnstagram takipçi satın al
hirdavatciburada.com
www.beyazesyateknikservisi.com.tr
servis
tiktok jeton hilesi
ümraniye toshiba klima servisi
ReplyDeletebeykoz daikin klima servisi
üsküdar daikin klima servisi
pendik beko klima servisi
tuzla daikin klima servisi
çekmeköy toshiba klima servisi
ataşehir toshiba klima servisi
üsküdar lg klima servisi
beykoz alarko carrier klima servisi
VNC Connect Enterprise 6.7.1 Full Crack With Keygen. [Latest] \/\/FREE\\\\. Fujistu Coccokat Web Monitor with Crack Latest By Pengifer Box [Latest] Fujistu.Vnc Server Free License
ReplyDeleteشركة مكافحة الحمام بالاحساء
ReplyDeleteشركة المثالية للتنظيف بالاحساء