Newsgroups: comp.speech
From: larrym@linkcad.demon.co.uk (Larry Marini)
Path: lyra.csx.cam.ac.uk!pipex!demon!linkcad.demon.co.uk!larrym
Subject: Re: Has anyone sorted Monolog? 
References: <Ct55K9.35@cee.hw.ac.uk>
Organization: Link-Miles, THOMSON-CSF
Reply-To: larrym@linkcad.demon.co.uk
X-Newsreader: Simple NEWS 2.0 (ka9q DIS 1.24)
Lines: 59
Date: Tue, 19 Jul 1994 08:14:10 +0000
Message-ID: <774605650snz@linkcad.demon.co.uk>
Sender: usenet@demon.co.uk

In article <Ct55K9.35@cee.hw.ac.uk> david@ma.hw.ac.uk writes:

> Hi
> 
> I wonder if anyone has made head or tail about the DLL interface to Monolog for
>  Windoes?
> 
> God, is it the worst documented thing in the world or what?
> 
> If anywone has any information about how to use the DLLs that come with Monolog
>  for Windows I would be very grateful.
> 
> 
> Thanks
> 
> 
> dave
> 
> 
> =============================================================================
> David G Wild                                               Research Student
> david@cara.ma.hw.ac.uk                                     Dept of Maths
>                                                            Heriot-Watt Uni.
>                                                            Riccarton
>                                                            Edinburgh Eh14 4AS
> =============================================================================
> 
> 
> 

Dave, a little over a year ago I evaluated Monologue for Windows within
a Visual Basic environment. It worked, technically, but the voice quality
was not good enough for my application so I returned the product. 
However, I did make the following notes which may help you:

I used only speech.dll which was declared using

 Declare Function SetSayGlobals Lib "speech.dll"
  ( ByVal R1 As Integer, ByVal R2 As Integer, ByVal Pitch As Integer,
    ByVal Speed As Integer, ByVal Volume As Integer ) As Integer

 Declare Function Say Lib "speech.dll" ( ByVal SayIt As String ) As Integer

and then I called the functions using statements like

 I% = SetSayGlobals ( 0, 0, Pitch%, Speed%, Volume% )
 I% = Say ( SayItString$ )

My notes also remind me that, to make this work, I had to configure 
MONOLOGUE using the MCI SoundBlaster driver and that SPEECH.DLL had to be
in the PC's execution path.

I can't remember what R1 and R2 were, only that I always set them to 0; and
I can't remember what version of Monologue for Windows it was.

I hope this is of some use.

-- 
Larry Marini
