PureBytes Links
Trading Reference Links
|
Tomasz,
Thank you for suggesting that this is something that you could add to
the Say() in a future version. I have added it to the suggestions. I
was hoping that I could find an easy way to do it with an AxtiveX
control without bothering you, but it would be best to have it done
right internally.
Best regards,
Dennis
On Jul 10, 2008, at 5:43 PM, Tomasz Janeczko wrote:
> Dennis,
>
> I can queueing or busy state flag to Say() if you wish.
> If you are interested please use Feedback Center to submit suggestion.
>
> Best regards,
> Tomasz Janeczko
> amibroker.com
> ----- Original Message -----
> From: "Dennis Brown" <see3d@xxxxxxxxxxx>
> To: <amibroker@xxxxxxxxxxxxxxx>
> Sent: Thursday, July 10, 2008 11:39 PM
> Subject: Re: [amibroker] Say() text overspeak
>
>
>> Hello,
>>
>> After some research I have found that I can use an ActiveX object to
>> speak text.
>>
>> It is set up with:
>> speakIt = CreateStaticObject("Sapi.SPVoice");
>>
>> and is called with:
>> speakIt.Speak("text to say");
>>
>> The difference from the Say() command is that it halts the AFL until
>> it stops speaking.
>>
>> This would certainly be useful for things like debugging where you
>> could make it say a value in a tight loop, and it would slow down the
>> loop, saying each value. Better have a way to break out of the loop
>> though if it is a long one.
>>
>> Using this command would make sure that every spoken output is
>> completed. However, I still want to just buffer up the messages and
>> let the chart continue to run full speed.
>>
>> I have spent quite a while trying to find the object that will tell
>> me
>> the busy status of the speech engine. Very frustrating search so
>> far. MS Docs %^$^@%#^#^!
>>
>> Anyway, I hope this extra bit can be useful to others.
>>
>> Best regards,
>> Dennis
>>
>> On Jul 8, 2008, at 9:16 PM, Dennis Brown wrote:
>>
>>> Hello,
>>>
>>> I use the Say() command a lot for trading notifications in realtime
>>> (also in debugging). However, often a notification is generated
>>> before the last notification has completed speaking and it just
>>> truncates the current message and starts in on the next message
>>> and I
>>> can't tell what was being said. I want to fix this.
>>>
>>> It would not be hard for me to make a function that would take up
>>> to N
>>> messages into a FIFO buffer and give them to the say() command one
>>> at
>>> a time as it is done saying each one. However, I don't know how to
>>> tell if the speech engine has quit talking so that I can give it the
>>> next one to say.
>>>
>>> The ugly hack way to do this is to time by ear each message and
>>> include the number of seconds required for each message in the
>>> function call.
>>> The better way is to be able to query the state of the speech to
>>> text
>>> engine.
>>>
>>> Doing a little digging, it seems that jscript can also talk to the
>>> speech module. Perhaps I could use this in addition to or instead
>>> of
>>> the Say() command. However, I have not found enough details to do
>>> so
>>> yet.
>>>
>>> Perhaps someone else has already solved this problem and will share
>>> the solution, or someone has some enlightening thoughts.
>>>
>>> Best regards,
>>> Dennis
>>>
>>>
>>>
>>> ------------------------------------
>>>
>>> Please note that this group is for discussion between users only.
>>>
>>> To get support from AmiBroker please send an e-mail directly to
>>> SUPPORT {at} amibroker.com
>>>
>>> For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
>>> http://www.amibroker.com/devlog/
>>>
>>> For other support material please check also:
>>> http://www.amibroker.com/support.html
>>> Yahoo! Groups Links
>>>
>>>
>>>
>>
>>
>> ------------------------------------
>>
>> Please note that this group is for discussion between users only.
>>
>> To get support from AmiBroker please send an e-mail directly to
>> SUPPORT {at} amibroker.com
>>
>> For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
>> http://www.amibroker.com/devlog/
>>
>> For other support material please check also:
>> http://www.amibroker.com/support.html
>> Yahoo! Groups Links
>>
>>
>>
>
> ------------------------------------
>
> Please note that this group is for discussion between users only.
>
> To get support from AmiBroker please send an e-mail directly to
> SUPPORT {at} amibroker.com
>
> For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
> http://www.amibroker.com/devlog/
>
> For other support material please check also:
> http://www.amibroker.com/support.html
> Yahoo! Groups Links
>
>
>
------------------------------------
Please note that this group is for discussion between users only.
To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com
For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/
For other support material please check also:
http://www.amibroker.com/support.html
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/amibroker/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/amibroker/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:amibroker-digest@xxxxxxxxxxxxxxx
mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx
<*> To unsubscribe from this group, send an email to:
amibroker-unsubscribe@xxxxxxxxxxxxxxx
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|