=============================================================================== Subject: Monologue 16 DLL Access Forum: Multimedia Vendor+ , Media Vision ------------------------------------------------------------------------------- FROM: Byron P. Peebles , 74260,2235 Msg# : 56997 TO: All , Date : 10/17/93 12:37:15 PM I received my MediaVision $60 update and the exciting Monologue 16. I have been trying to utilize the DLL interface to no avail. First, the SPEECH.DLL mentioned in the brochure/manual doesn't exist. Second, when I use "FB_SPCH.DLL", the "Say" function causes a General Protection fault. I am doing this from Central Point Tools' SCRIPT language, and I can interface to the DDE calls without incldent. So, I'd like to know how to call the DLL properly. I am now using: DLLCALL("fb_spch","Say","IC","Testing") and have tried all kinds of parameters with that. I'd also like to know how I can list all the routines in the DLL, since there is ZERO documentation other than one or two examples of the "Say" call. Thanks, in advance, to anyone who can help. ------------------------------------------------------------------------------- FROM: Kip Obenauf , 71333,3547 Msg# : 57609 TO: Byron P. Peebles , 74260,2235 Date : 10/21/93 11:10:02 PM Hi Byron, I'm trying to get FB_SPCH.DLL to work myself. I'm not much further than you, but I have discovered a file in the Media Vision library called "Monolog DLL programming updates." Even with it, I can't get the dll to work, but no doubt, I'm closer. This file introduces two new methods besides Say -- OpenSpeech and CloseSpeech. Take a look at this file, and let me know if you get it to work! Kip ------------------------------------------------------------------------------- FROM: Mark Cheney , 72330,3423 Msg# : 57795 TO: Kip Obenauf , 71333,3547 Date : 10/23/93 9:20:26 PM Hi - I've been trying to get the FB_SPCH.DLL to work with Paradox for Windows and in C. With PFW I get the same result you guys did - a general protection fault. My C program though gave me a little clue before it blew up. It said it couldn't find FB_11K8.dll. I couldn't find it either. All I've got on my monologue disk is FB_22K16.DLL. Any ideas? Thanx. - Mark ------------------------------------------------------------------------------- FROM: Mark Cheney , 72330,3423 Msg# : 57804 TO: Kip Obenauf , 71333,3547 Date : 10/23/93 11:10:13 PM Regarding my last message, I replaced the LPSTR voiceType parameter in OpenSpeech with "FB_22K16" and now it works fine. ------------------------------------------------------------------------------- FROM: Byron P. Peebles , 74260,2235 Msg# : 57866 TO: Kip Obenauf , 71333,3547 Date : 10/24/93 6:16:03 PM Thanks for the lead, Kip. I'll check out the file, although I wonder if that will help outside a 3GL. Will keep in touch. ------------------------------------------------------------------------------- FROM: Kip Obenauf , 71333,3547 Msg# : 57997 TO: Mark Cheney , 72330,3423 Date : 10/25/93 10:47:05 PM Mark, You're a genius! (Hope you see this Byron!) In my case, I didn't have FB_22K16.DLL, but I did have FB_11K8.DLL, and passing that as the voiceType parameter to OpenSpeech solved my problem. Like you, Mark, I did this in Paradox for Windows. Since it took me a little muddling to figure this out, I'm going to post the USES statement and dll calls that I finally got to work, in case anyone else is looking in. Thanks again Mark! Kip ____________________________________ Uses FB_SPCH Say(SCB CLONG, lpText CPTR) OpenSpeech(HWND CWORD, mode CWORD, voiceType CPTR) CLONG CloseSpeech(SCB CLONG) endUses ___________________________________ method pushButton(var eventInfo Event) var winHandle smallint SCB longInt tc tcursor endvar winHandle=windowHandle() SCB=OpenSpeech(winHandle, 0, "FB_11K8") Say(SCB, "Mark's a genius!") CloseSpeech(SCB) endmethod ------------------------------------------------------------------------------- FROM: Ricardo Belmar, 70054,3616 Msg#: #58090 TO: Kip Obenauf, 71333,3547 Date: 10/26/93 4:21:05 PM Kip, Check out the thread Monologue Breakthrough for a lengthy discussion about Monologue. Have you had any problems with Monologue resetting your mixer's wave volume to 50%? Some people did and we discovered a temporary fix - having the microsoft driver "msacm.drv" loaded. If you can, try this test using Monologue in its normal mode (have the pocket mixer or pro mixer open as well): With Monologue's windows open, change it's volume slider and press the sample button. Did the wave volume change in the mixer? It shouldn't - Monologue's volume control is independent of the mixer (when it works right). If you try the test, let me know how it goes. Ricardo ------------------------------------------------------------------------------- FROM: Kip Obenauf , 71333,3547 Msg# : 58096 TO: Ricardo Belmar , 70054,3616 Date : 10/26/93 5:47:19 PM Ricardo, Thanks for the information on msacm.drv. I did try the test you mentioned, and the volume does change. When I make a call to the dll, however, Monologue ignores the volume, pitch, and speed I had selected. Is this related to what you're talking about? Kip ------------------------------------------------------------------------------- FROM: Ricardo Belmar, 70054,3616 Msg#: #58232 TO: Kip Obenauf, 71333,3547 Date: 10/27/93 5:13:36 PM >>> When I make a call to the dll, however, Monologue ignores the volume, pitch, and speed I had selected.<<< This is a part of the same effect. I would bet that when you do get the dll to work properly it also resets the volume to 50%. Why this happens I'm not sure, but having the msacm.drv loaded seems to cure the problem. Try downloading it and see if the volume change goes away. Why the dll ignores the settings may be related to this, but I haven't had time to test that yet... If you haven't already looked at the Monologue Breakthrough thread, please do. You'll see quite a few descriptions of how others have been trying to use the dll. I don't know how much of it has scrolled, but I may put together a text file with all the messages so far if we get to a good cutoff point in the thread. Ricardo ------------------------------------------------------------------------------- FROM: Jeff , 71121,3301 Msg# : 58606 TO: Ricardo Belmar , 70054,3616 Date : 10/31/93 5:37:09 PM Hey, I have just tried to use MONOLOG via DDE and/or DLL, no luck... Well, I jumped right into CSERVE to find the second half of what could have been an interesting thread. "Monolog Breakthrough". But, it seems that the more interesting bits have scrolled off the edge of the Earth. In this thread, you suggest that you might have an archive of "the good stuff". I only have FB_SPCH.dll FB_TIMER.dll and FB_22K16.dll in my monolog dir. Am I missing something? I'd appreciate any help you may have. ------------------------------------------------------------------------------- FROM: Jeff , 71121,3301 Msg# : 58881 TO: Ricardo Belmar , 70054,3616 Date : 11/2/93 10:16:03 PM >> What I did was upload a microsoft sound driver that fixed a problem with >> monologue's volume control. I finally got it to work, After reading several messages here (and some noodle work) I got it to work. Thanks to all! But yes, I do have the problem of the DLL resetting the volume. I looked for you uploaded driver, I couldn't find it. Where can I scarf a copy. ------------------------------------------------------------------------------- FROM: Jeff , 71121,3301 Msg# : 58883 TO: Ricardo Belmar , 70054,3616 Date : 11/2/93 10:18:24 PM Please disregard previous message, I found it (Try using an * or 2 for file searches ) Sorry, I think that'll get me going... Thanks -------------------------------------------------------------------------------