• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Speakable Item and SpeechRecognitionServer
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Speakable Item and SpeechRecognitionServer


  • Subject: Re: Speakable Item and SpeechRecognitionServer
  • From: Deivy Petrescu <email@hidden>
  • Date: Wed, 9 Dec 2009 16:58:28 -0500

On Dec 9, 2009, at 2:57 PM, Bruce Robertson wrote:

>
> On Dec 8, 2009, at 6:35 PM, Deivy Petrescu wrote:
>
>>
>> On Dec 8, 2009, at 6:50 PM, Bruce Robertson wrote:
>>
>>> Just thought I'd try this again in case anybody came up with ideas.
>>>
>>> I have still not found a way to speak an arbitrary number sequence and have
>>> it recognized; or a mixed sequence of fixed and arbitrary data such as:
>>>
>>> "Find phone 1234"
>>>
>>> Or:
>>>
>>> "Find phone 5513"
>>>
>>>
>>
>>
>> Bruce:
>>
>> <script>
>> set j to "1 2 3 4 5"
>> tell application "SpeechRecognitionServer" to set l to listen for j with prompt "Say " & j & " now" giving up after 15
>> if l = j then say "it worked"
>>
>> </script>
>>
>> I thought I sent it to you a while ago!
>>
>> Deivy Petrescu
>> email@hidden
>>
>
> Though your example doesn't meet my need, I have tried to get it to work; and I have not been successful.
>
> Even if it recognizes the phrase, it never says "it worked"
>
> In addition, I have experienced large delays if I try to run the script a second time.
>
> Even using timeouts does not seem to fix the re-run delay problem.
>
> Is anybody able to get this to work?



Bruce,
Before I sent you the script I tried and it worked.
There are some issues with  "SpeechRecognitionServer", however.
But before we get to the issues, some things one has to do: calibrate the microphone.
Here, I am running SL so I can't tell you if  Leopard is the same (I think it is).
On Speech preference pane turn speech on and keep changing the input volume until you get most of the lines recognized.
Now run the script.
It worked here and I used to take attendance running a similar script (in Leopard and may be Tiger).
So, I am sure it works .



Deivy Petrescu
email@hidden



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

References: 
 >Re: Speakable Item and SpeechRecognitionServer (From: Bruce Robertson <email@hidden>)
 >Re: Speakable Item and SpeechRecognitionServer (From: Deivy Petrescu <email@hidden>)
 >Re: Speakable Item and SpeechRecognitionServer (From: Bruce Robertson <email@hidden>)

  • Prev by Date: Re: Speakable Item and SpeechRecognitionServer
  • Next by Date: Script debugger bugging out
  • Previous by thread: Re: Speakable Item and SpeechRecognitionServer
  • Next by thread: Re: Speakable Item and SpeechRecognitionServer
  • Index(es):
    • Date
    • Thread