[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference bgsdev::dectalkinsoftware

Title:Software implementation of DECtalk Text-to-Speech
Moderator:BGSDEV::HALLAHAN
Created:Thu Aug 12 1993
Last Modified:Mon Jun 02 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:113
Total number of notes:390

32.0. "Another sample application: SAY" by UHUH::BEERMAN (Charlie Beerman) Tue Jan 04 1994 11:35

T.RTitleUserPersonal
Name
DateLines
32.1READ.ME for SAYUHUH::BEERMANCharlie BeermanTue Jan 04 1994 11:3737
32.2SAY.TXTUHUH::BEERMANCharlie BeermanTue Jan 04 1994 11:3966
32.3New version, new filenameUHUH::BEERMANCharlie BeermanThu Jan 13 1994 11:0836
32.4Problems finishing a thought...ICELAN::AARONAaron Sakovich, Support ConsultantFri Apr 01 1994 02:1714
32.5Bug in DECTALK.DLLUHUH::BEERMANCharlie BeermanFri Apr 01 1994 11:5724
32.6SAY102UHUH::BEERMANCharlie BeermanSat May 07 1994 02:3913
32.7Problem fixedBGSDEV::HALLAHANWed Aug 17 1994 14:085
32.8'SAY' as a background process?AWECIM::LUPISELLATue May 06 1997 23:5023
    I am running 'say' by invoking it from within a Visual Basic
    Application. The Application is an Event Reporting System. I am using
    'say' to tell me when a particular event has occurred as opposed to
    watching the viewer all day. The problem I am having is that when my
    event occurs, whatever Window I have activated at the time, becomes
    automatically deactivated while the 'say' process runs. I have to keep
    reactivating an edit session or WEB browser session or whatever 
    everytime an event occurs.The active window is automatcially changed 
    to an MS DOS window which comes up at the time of the event. Is there 
    any parameter that I can pass to the 'say' command line which will tell 
    it to run as a background proces? I am running in a WIndows NT V3.51 
    environment. The command line I am using from within my application: 
    
    say -d c:\DECTALK\DIC\USER.dic [:punct none][:ra 200][:nh] $MESSAGE
    
    ($MESSAGE is interpreted by the Visual Basic Application then spoken by
    'say') 
    
    Thanks in Advance
    
    Jeff Lupisella
    Digital SemiConductor
    Hudson, MA
32.9might be a generic Windows or NT question..TEKVAX::KOPECTom Kopec W1PFWed May 07 1997 15:4616
    Hm. Because it runs as a dos program (I think; I don't use it much),
    maybe you can twiddle the PIF for it and then "run" the PIF.. or maybe
    VB has some option to run a DOS command without a box..
    
    Here's the "official" response.. (I'm just the messenger..)
    
>Hi Tom;
>
>Thanks for sending this to me. However, say is a sample program. If the 
>user wants to do something different then what the sample code does, the 
>user can change it. If the issue is that the sample code is not 
>supplied, is incomplete, etc., then I agree we need to address it.
>
>Regards,
>
>Carl
32.10Closing the command prompt windowBGSDEV::HALLAHANMon Jun 02 1997 18:4751
    
    
    I don't know how to prevent the command prompt
    
    (MSDOS) window from becoming the foreground window,
    
    but I do know how to make it close when speaking has
    
    completed. This will cause the previous foreground
    
    window to regain focus. Instead of launching say.exe,
    
    launch cmd.exe. Since I don't have Visual Basic, I
    
    cannot ensure the exact sequence. I tested this by
    
    launching say from another command prompt window.
    
    Here's what I did:
    
    
    
      start cmd /C say <string>
    
    
    
    where <string> is your composed string. The /C causes
    
    the command prompt window to close when say is
    
    complete. I would appreciate it if you would post
    
    a reply that indicates if and how this works.
    
    Note that typing:
    
    
    
        cmd /?
    
    
    
    will give all of the switches for cmd.exe.
    
    
    
                         Bill Hallahan
    
                         hallahan@zko.dec.com