Alice Community  

Go Back   Alice Community > Alice 2 > How do I...?

Reply
 
Thread Tools Display Modes
Voice Recognition
Old
Cloud
Guest
 
Status:
Posts: n/a
Default Voice Recognition - 01-25-2007, 06:30 PM

I am trying to add voice recognition instead of keyboard command for a project. First idea was to just have the voice recognition program write a file and have alice read that file for changes. I can't seem to find any way for alice to read from a file so would anyone else have any kind of idea of a way to get this sort of thing to work without changing source code?
   
Reply With Quote
Old
Firefoxman
Guest
 
Status:
Posts: n/a
Default 01-27-2007, 08:38 AM

Sorry, alice is not that good yet.
   
Reply With Quote
Old
jyby
Guest
 
Status:
Posts: n/a
Post 10-10-2008, 09:00 PM

I just tested the "Network" object downloaded from this webpage:
http://www.westga.edu/~drocco/alice/networking.html
It demonstrate a script which can download (and print) a file from the net, given its url. I did not manage to use it to read a file on the local computer, but it certainly demonstrates that such a thing can be done.

Hope it helps!
   
Reply With Quote
Old
DrJim
Guest
 
Status:
Posts: n/a
Default 10-12-2008, 10:16 AM

For reading and writing text files, see http://www.alice.org/community/showt...ghlight=script .

I have tried the first program there and it does work - I'm not sure how robust it is however. In general, scriptiong is a fairly iffy thing with Alice 2.0.
   
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Copyright ©2021, Carnegie Mellon University
Alice 2.x © 1999-2012, Alice 3.x © 2008-2012, Carnegie Mellon University. All rights reserved.