Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Whoa!!!

 
Craig Sutherland
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
OK. Working on 4b, say. On my Mac. Compiling with javac the lastest effort. Too focused and enter 'say 2345690845' into the Terminal (console) command line insead of 'javac say.java'. All of a sudden, my speakers ooze out a sexy voice speaking that amount. Blink...puzzled look...what the....
Macs have a say command to convert text to speech and I triggered it. For a moment though, very very strange wide eyed whoaaaa. Momentary warp. LOL. Wondering if I can get credit for this.......uhhhhhh no.
Craig
[ March 22, 2004: Message edited by: Craig Sutherland ]
 
Marilyn de Queiroz
Sheriff
Posts: 9066
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
 
Pauline McNamara
Sheriff
Posts: 4012
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
cool, I'll have to try that!
 
Michael Matola
whippersnapper
Ranch Hand
Posts: 1820
4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
CS: Wondering if I can get credit for this.
Are you planning to program OOP-2 NaturalLanguageMultiply to accept voice input?
 
Craig Sutherland
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Was I planning on it. No- only 'cause:
a) I had not looked ahead that far. You know, the old 'keep your papers face down on your desk until I.."
b) Anticipated a challenge would be issued.
c) Would not have thought of it on my own.
Sooooo (picking up and inspecting Michael's glove), indeed I shall provide what is needed to have speech input trigger and specify the parameters for the java program in described OOP-2. OS X 10.2 or better. My lawyer will talk to your lawyer.
Now, I'm off to put the finishing touches on my time machine.
Craig
[ March 23, 2004: Message edited by: Craig Sutherland ]
[ March 23, 2004: Message edited by: Craig Sutherland ]
 
Pauline McNamara
Sheriff
Posts: 4012
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Too focused and enter 'say 2345690845' into the Terminal (console) command line
Is that all really? I tried and got a "Command not found". Any preferences or anything to set for this?
 
Craig Sutherland
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Pauline,
10.3.3 (but I believe it has been there since 10.2). /usr/bin/say
Perhaps System Prefs->Universal Access-> Enable access for assitive devices needs to be checked. I am not at my machne now but when I get home late tonight will check, but I try to stay pretty vanilla on that box. I turn on assistive devices to be able to use the UI scripting that Applescript now uses and that may be the difference. I'll update more as I dig it out.
Craig
 
Pauline McNamara
Sheriff
Posts: 4012
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Craig.
I don't see say in /usr/bin so maybe it's a version thing - I'm using 10.2 still.
...
a few surfing minutes later...
Yep, looks like it comes with 10.3. I'll have to remember whenever I get around to updating.
 
Barbara Norway
Ranch Hand
Posts: 150
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That's fun. But the voice sounds pretty robotic.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic