[OT] emulating a hardware synth

Tyler Littlefield tyler at tysdomain.com
Sat Jan 31 13:18:15 EST 2009


shane, LP is just a pointer. You can use const char*, though const may not 
work. and int would work for interupt. Check the windows API 
documentation--they have about 500000 different types of variables that are 
all typedefed to int long short char* etc etc.

----- Original Message ----- 
From: "Shane W" <shane-speakup at csy.ca>
To: "Speakup is a screen review system for Linux." <speakup at braille.uwo.ca>
Sent: Saturday, January 31, 2009 9:09 AM
Subject: Re: [OT] emulating a hardware synth


> On Sat, Jan 31, 2009 at 04:05:04AM -0800, Tony Baechler wrote:
>> setup.exe from cygwin.com.  I don't use JAWS but I would be interested
>> if you get something like this to work.
>
> If someone who knows this stuff can contact me off list, I
> have a few questions but yeah this definitely looks doable
> with the current Cygwin.  I can get the serial stuff going
> but the question is how to link in and use jfwapi.  I have
> jfwapi.dll from my jaws install and can link it with
> gcc test.c -L. -ljfwapi
> But I have no jfwapi.h and the calling parameters on this
> stuff are not C as I know it.
>
> NAME
>    JFWSayString
>
> PURPOSE
>            Instructs JFW to speak a string of text.
>
> USAGE
>    BOOL WINAPI JFWSayString(LPCTSTR lpszStrinToSpeak,BOOL
>    bInterrupt);
>
> IE. what is an lpctstr, can I just define jfwsaystring as:
> extern int jfwsaystring(const char *s, int interrupt);
>
> Somehow I doubt it but this must come up when linking in
> any foreign dll into a Cygwin project.
>
> The jfwapi is very limited, jfwsaystring, jfwstopspeech and
> jfwrunscript so if using the Jaws api, synth codes for
> setting rate, pitch, punctuation etc aren't gonna work.
> Rather, the user will have to set those things in Jaws
> unless I can find a good sapi5 cygwin implementation but I
> understand sapi is a beast.
>
> Shane
> _______________________________________________
> Speakup mailing list
> Speakup at braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup 




More information about the Speakup mailing list