[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[amibroker] Re: Say() function does not work in Vista ?



PureBytes Links

Trading Reference Links

Hi  TJ

The "notepad" should be "notebook", my English is awkward from time 
to time :-)

I had configured the voice-to-speech , the notebook could read 
articles. And the sound card is ok to play movies.

But the weird thing was that it did not play any sound initiated by 
Amibroker, not only  "say()", but also "alertif()"

I used the following code to make a test:

----------------------------------------------------------------------
-------------------------
Say("this is to test say function");

AlertIf(True,"SOUND C:\\windowS\\Ding.wav", "this is to test alert 
if",0,4);

----------------------------------------------------------------------
-------------------------

For both lines, not a piece of sound was made.  But for the second 
line , in the alert output window , there was a messgae :" "this is 
to test alert if".


Then I suddenly remembered that I turned off the sound for Amibroker 
two weeks ago during a code test,  being rather annoyed by  the 
repeated error sound alert .Unlike Windows XP, Vista is able to 
control sound output on a program-by-program basis, that's why all 
other sound programs are in good funtion.

Sorry for the silly question, today I paid for my carelessness.

Best regards/ Huanyan


--- In amibroker@xxxxxxxxxxxxxxx, "Tomasz Janeczko" <groups@xxx> 
wrote:
>
> "The sound card of the notepad is OK . "
> What is that supposed to mean?
> 
> Anyway Say() works OK on vista and any other TTS enabled system.
> Go to Windows Control Panel and make sure that Speech is configured
> 
> 
http://www.microsoft.com/windowsxp/using/accessibility/ttsplaybackvoic
e.mspx
> 
> Best regards,
> Tomasz Janeczko
> amibroker.com
> ----- Original Message ----- 
> From: "huanyanlu" <huanyan2000@xxx>
> To: <amibroker@xxxxxxxxxxxxxxx>
> Sent: Thursday, January 15, 2009 10:03 AM
> Subject: [amibroker] Say() function does not work in Vista ?
> 
> 
> > Hi
> > 
> > I have some indicators with function say() to make a sound alert 
when 
> > some conditions are satisfied.  The code works in Windows XP. 
Recently 
> > I  bought a notepad with Windows Vista Home Edition. Amibroker 
works on 
> > it normally , but it does not make sound alert with the funtion 
say() 
> > anymore . 
> > 
> > Does anyone had the same issue before ? What may be the reason 
for 
> > this ?
> > 
> > Thanks/ Huanyan
> > 
> > 
> > ------------------------------------
> > 
> > **** IMPORTANT ****
> > This group is for the discussion between users only.
> > This is *NOT* technical support channel.
> > 
> > *********************
> > TO GET TECHNICAL 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
> > 
> > 
> >
>



------------------------------------

**** IMPORTANT ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

*********************
TO GET TECHNICAL 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/