Skip to main content

alphaWorks  >  Forums  >  IBM ViaVoice Toolkit for Animation  >  developerWorks

cannot get clips.bat to work    Point your RSS reader here for a feed of the latest messages in this thread


     

 
 

My developerWorks
 Welcome, Guest
Sign in or register
Permlink Replies: 3 - Pages: 1 - Last Post: Oct 18, 2007 10:06 PM Last Post By: Threads: [ Previous | Next ]

Posts: 2
Registered: Oct 06, 2007 02:07:04 AM
cannot get clips.bat to work
Posted: Oct 06, 2007 02:33:00 AM
Click to report abuse...   Click to reply to this thread Reply
I am a poor animator who hates manual lipsync and who hopes you still check this forum. This is such a good idea. However, I cannot get clips.bat to work. It executes and exits before I can move from command prompt window to speechpad window.

My steps were:

    • open viavoice
    • open speechpad
    • turn off microphone
    • goto command prompt window
    • run clips.bat
    • goto speechpad
    • turn on microphone
    • dictate
    • turnoff microphone
    • close speechpad
    • close viavoice

My machine is an old sony pcg-r505gl laptop running windows XP. Viavoice runs fine by itself.

By the way, from 1993 to 2002, I was a programmer in the language modeling group at Dragon Systems working by and large on Dragon NatSpeak, so I should be able to get this thing to work. Hope to hear from someone.

Chip Moore

Below are contents of two log files

lipswf.log message is


Starting
  • Connected
No recognition sessions active.


Terminating

engine.log message is

Copyright
Oct 06 01:44:12.808 2007

IBM ViaVoice Speech Recognizer

(C) Copyright International Business Machines Corp. 1991,2004.
All Rights Reserved
Licensed Materials - Property of IBM

U.S. Government Users. RESTRICTED RIGHTS -
Use, Duplication, or Disclosure restricted by
GSA ADP Schedule Contract with IBM Corporation.

Engine Starting
Oct 06 01:44:12.808 2007
Module c:\progra~1\viavoice\Bin\engine.exe
c:/progra~1/viavoice/temp
c:\progra~1\viavoice\Bin\engine.cfg

WsInt - Configuration
Oct 06 01:44:12.808 2007
Configuration File c:\progra~1\viavoice\Bin\engine.cfg
Increased priority for thread fffffffe

WsInt - System Variables


Oct 06 01:44:12.808 2007
SPCH_RUN c:/progra~1/viavoice/temp
SPCH_BIN c:\progra~1\viavoice\Bin
SPCH_RO c:\progra~1\viavoice/vocabs
SPCH_USERS C:\Documents and Settings\chip/Application Data/IBM/ViaVoice/users
SPCH_PATH C:\Program Files\ViaVoice\Vocabs\Langs\%L\pools
SPCH_TRN C:\Documents and Settings\chip/Application Data/IBM/ViaVoice/temp

PCM-AP - Starting
Oct 06 01:44:12.808 2007
Decoder - Starting
Oct 06 01:44:12.808 2007
Built 19:48:28 Apr 14 2005 @
Name VV R10 ANIMATION
Type PRODUCT 0
Version 10.0.1.144

SPCH_PORT 1569
Mailman - Accepted socket connection.
Oct 06 01:44:12.818 2007
Mailman: Received connection from client. Accept socket 264.

Mailman - Socket select warning!
Oct 06 01:44:12.828 2007
Mailman: Warning, select woke on connected socket 264 but no data available.
Closing a shared session
Oct 06 01:44:12.828 2007
WSI:DispatchMessages - Exiting on Usage Timeout
Oct 06 01:44:22.832 2007

PAP: Close Session
Oct 06 01:44:22.832 2007
PCM State PCM_Idle
AP State AP_Idle
Closing all sessions
Oct 06 01:44:22.832 2007
Session ended
Oct 06 01:44:22.832 2007
monkowsk

Posts: 12
Registered: Sep 16, 2005 09:42:25 AM
Re: cannot get clips.bat to work
Posted: Oct 15, 2007 02:40:56 PM   in response to: in response to: 's post
Click to report abuse...   Click to reply to this thread Reply
This is the kind of output you get when ViaVoice is not started first or when ViaVoice is running in a different directory.

Start ViaVoice and dictate something to SpeakPad. Then go to the engine.log file. You should find it in c:/progra~1/viavoice/temp Check the time and date on the file to make sure it is for the current time and date.

If you find it there, go over to the c:/progra~1/viavoice/lipsync directory in a DOS window and run clips.bat from there.

Let me know what happens.

Mike
monkowsk

Posts: 12
Registered: Sep 16, 2005 09:42:25 AM
Re: cannot get clips.bat to work
Posted: Oct 18, 2007 02:38:14 PM   in response to: monkowsk in response to: monkowsk's post
Click to report abuse...   Click to reply to this thread Reply
> My installation still does not
> work. What was odd is that I did not find an engine.log file in the
> viavoice\temp directory until after I ran clips.bat. When I start
> viavoice there is a current version of engine.log in the
> c:\docume~1\chip\applic~1\ibm\viavoice\temp directory and no version in
> progra~1\viavoice\temp directory. After I run clips.bat, there are
> current versions of engine.log in both directories.
>
> I uninstalled the toolkit and reinstalled it, but the results did not
> change. I will try and figure out how to get viavoice to use the
> viavoice\temp directory for the engine.log file. Not sure why that may
> make a difference, but that is the only thing I can think to do right now.

It is possible to run several instances of ViaVoice at once. They are kept separate by specifying the SPCH_RUN environmental variable. Apparently, your installation of the ViaVoice dicatation product sets SPCH_RUN to c:\docume~1\chip\applic~1\ibm\viavoice\temp So, in the clips.bat file where you see

set SPCH_RUN=c:/progra~1/viavoice/temp

replace it with

set SPCH_RUN=c:/docume~1/chip/applic~1/ibm/viavoice/temp

I don't know when the installer was changed, but I guess I'll have to change the scripts to look in this new location.

Mike

Posts: 2
Registered: Oct 06, 2007 02:07:04 AM
Re: cannot get clips.bat to work
Posted: Oct 18, 2007 10:06:51 PM   in response to: monkowsk in response to: monkowsk's post
Click to report abuse...   Click to reply to this thread Reply
Thanks, Mike. That fixed the problem. I made one swf file and it looks good.

Point your RSS reader here for a feed of the latest messages in all forums