home *** CD-ROM | disk | FTP | other *** search
/ Audio 4.94 - Over 11,000 Files / audio-11000.iso / msdos / sndbords / proaudio / mono16 / m-dll.txt < prev    next >
Text File  |  1993-12-15  |  9KB  |  208 lines

  1. ===============================================================================
  2. Subject: Monologue 16 DLL Access           Forum: Multimedia Vendor+ ,
  3.                                                   Media Vision
  4.  
  5. -------------------------------------------------------------------------------
  6. FROM: Byron P. Peebles , 74260,2235               Msg# : 56997
  7.   TO: All ,                                       Date : 10/17/93 12:37:15 PM
  8.  
  9. I received my MediaVision $60 update and the exciting Monologue 16.
  10. I have been trying to utilize the DLL interface to no avail.
  11.  
  12. First, the SPEECH.DLL mentioned in the brochure/manual doesn't exist.
  13. Second, when I use "FB_SPCH.DLL", the "Say" function causes a General
  14. Protection fault.
  15.  
  16. I am doing this from Central Point Tools' SCRIPT language,
  17. and I can interface to the DDE calls without incldent.
  18.  
  19. So, I'd like to know how to call the DLL properly.  I am now using:
  20. DLLCALL("fb_spch","Say","IC","Testing")
  21. and have tried all kinds of parameters with that.
  22.  
  23. I'd also like to know how I can list all the routines in the DLL,
  24. since there is ZERO documentation other than one or two
  25. examples of the "Say" call.
  26.  
  27. Thanks, in advance, to anyone who can help.  
  28.  
  29.  
  30. -------------------------------------------------------------------------------
  31. FROM: Kip Obenauf , 71333,3547                    Msg# : 57609
  32.   TO: Byron P. Peebles , 74260,2235               Date : 10/21/93 11:10:02 PM
  33.  
  34. Hi Byron,
  35.  
  36. I'm trying to get FB_SPCH.DLL to work myself.  I'm not much further than you,
  37. but I have discovered a file in the Media Vision library called "Monolog DLL
  38. programming updates."  Even with it, I can't get the dll to work, but no
  39. doubt, I'm closer.  This file introduces two new methods besides Say --
  40. OpenSpeech and CloseSpeech.  Take a look at this file, and let me know if you
  41. get it to work!
  42.  
  43. Kip
  44.  
  45. -------------------------------------------------------------------------------
  46. FROM: Mark Cheney , 72330,3423                    Msg# : 57795
  47.   TO: Kip Obenauf , 71333,3547                    Date : 10/23/93 9:20:26 PM
  48.  
  49. Hi -
  50.  
  51. I've been trying to get the FB_SPCH.DLL to work with Paradox for Windows and
  52. in C.  With PFW I get the same result you guys did - a general protection
  53. fault.  My C program though gave me a little clue before it blew up.  It said
  54. it couldn't find FB_11K8.dll.  I couldn't find it either.  All I've got on my
  55. monologue disk is FB_22K16.DLL.  Any ideas?  Thanx.
  56.  
  57. - Mark
  58.  
  59. -------------------------------------------------------------------------------
  60. FROM: Mark Cheney , 72330,3423                    Msg# : 57804
  61.   TO: Kip Obenauf , 71333,3547                    Date : 10/23/93 11:10:13 PM
  62.  
  63. Regarding my last message, I replaced the LPSTR voiceType parameter in OpenSpeech
  64. with "FB_22K16" and now it works fine.
  65.  
  66. -------------------------------------------------------------------------------
  67. FROM: Byron P. Peebles , 74260,2235               Msg# : 57866
  68.   TO: Kip Obenauf , 71333,3547                    Date : 10/24/93 6:16:03 PM
  69.  
  70. Thanks for the lead, Kip.  I'll check out the file,
  71. although I wonder if that will help outside a 3GL.
  72.  
  73. Will keep in touch.
  74.  
  75.  
  76. -------------------------------------------------------------------------------
  77. FROM: Kip Obenauf , 71333,3547                    Msg# : 57997
  78.   TO: Mark Cheney , 72330,3423                    Date : 10/25/93 10:47:05 PM
  79.  
  80. Mark,
  81.  
  82. You're a genius!  (Hope you see this Byron!)  In my case, I didn't have
  83. FB_22K16.DLL, but I did have FB_11K8.DLL, and passing that as the voiceType
  84. parameter to OpenSpeech solved my problem.  Like you, Mark, I did this in
  85. Paradox for Windows.  Since it took me a little muddling to figure this out,
  86. I'm going to post the USES statement and dll calls that I finally got to work,
  87. in case anyone else is looking in.
  88.  
  89. Thanks again Mark!
  90. Kip
  91. ____________________________________
  92. Uses FB_SPCH
  93.  Say(SCB CLONG, lpText CPTR)
  94.  OpenSpeech(HWND CWORD, mode CWORD, voiceType CPTR) CLONG
  95.  CloseSpeech(SCB CLONG)
  96. endUses
  97.  
  98. ___________________________________
  99. method pushButton(var eventInfo Event)
  100. var 
  101.  winHandle smallint
  102.  SCB longInt
  103.  tc tcursor
  104. endvar
  105. winHandle=windowHandle()
  106. SCB=OpenSpeech(winHandle, 0, "FB_11K8")
  107. Say(SCB, "Mark's a genius!")
  108. CloseSpeech(SCB)
  109. endmethod
  110.  
  111. -------------------------------------------------------------------------------
  112. FROM:  Ricardo Belmar, 70054,3616            Msg#: #58090
  113.   TO:  Kip Obenauf, 71333,3547            Date: 10/26/93 4:21:05 PM
  114.  
  115. Kip,
  116.  
  117. Check out the thread Monologue Breakthrough for a lengthy discussion about 
  118. Monologue. Have you had any problems with Monologue resetting your mixer's 
  119. wave volume to 50%? Some people did and we discovered a temporary fix - 
  120. having the microsoft driver "msacm.drv" loaded.
  121.  
  122. If you can, try this test using Monologue in its normal mode (have the pocket 
  123. mixer or pro mixer open as well): With Monologue's windows open, change it's 
  124. volume slider and press the sample button. Did the wave volume change in the 
  125. mixer? It shouldn't - Monologue's volume control is independent of the mixer 
  126. (when it works right<g>). If you try the test, let me know how it goes.
  127.  
  128. Ricardo
  129. -------------------------------------------------------------------------------
  130. FROM: Kip Obenauf , 71333,3547                    Msg# : 58096
  131.   TO: Ricardo Belmar , 70054,3616                 Date : 10/26/93 5:47:19 PM
  132.  
  133. Ricardo,
  134.  
  135. Thanks for the information on msacm.drv.  
  136.  
  137. I did try the test you mentioned, and the volume does change.  When I make a
  138. call to the dll, however, Monologue ignores the volume, pitch, and speed I
  139. had selected.  Is this related to what you're talking about?
  140.  
  141. Kip
  142.  
  143. -------------------------------------------------------------------------------
  144. FROM:  Ricardo Belmar, 70054,3616            Msg#: #58232
  145.   TO:  Kip Obenauf, 71333,3547            Date: 10/27/93 5:13:36 PM
  146.  
  147. >>> When I make a call to the dll, however, Monologue ignores the volume, pitch, 
  148. and speed I had selected.<<<
  149.  
  150. This is a part of the same effect. I would bet that when you do get the dll
  151. to work properly it also resets the volume to 50%. Why this happens I'm not
  152. sure, but having the msacm.drv loaded seems to cure the problem. Try
  153. downloading it and see if the volume change goes away. Why the dll ignores
  154. the settings may be related to this, but I haven't had time to test that yet...
  155.  
  156. If you haven't already looked at the Monologue Breakthrough thread, please do. 
  157. You'll see quite a few descriptions of how others have been trying to use the
  158. dll. I don't know how much of it has scrolled, but I may put together a text
  159. file with all the messages so  far if we get to a good cutoff point in the
  160. thread.
  161.  
  162. Ricardo
  163. -------------------------------------------------------------------------------
  164. FROM: Jeff , 71121,3301                           Msg# : 58606
  165.   TO: Ricardo Belmar , 70054,3616                 Date : 10/31/93 5:37:09 PM
  166.  
  167. Hey,
  168.   I have just tried to use MONOLOG via DDE and/or DLL, no luck...
  169.  
  170. Well, I jumped right into CSERVE to find the second half of what could have
  171. been an interesting thread.  "Monolog Breakthrough".  But, it seems that the
  172. more interesting bits have scrolled off the edge of the Earth.
  173. In this thread, you suggest that you might have an archive of "the good stuff".
  174.  
  175. I only have  FB_SPCH.dll
  176.   FB_TIMER.dll
  177.  and FB_22K16.dll
  178.  
  179. in my monolog dir.  Am I missing something?
  180.  
  181. I'd appreciate any help you may have.
  182.  
  183. -------------------------------------------------------------------------------
  184. FROM: Jeff , 71121,3301                           Msg# : 58881
  185.   TO: Ricardo Belmar , 70054,3616                 Date : 11/2/93 10:16:03 PM
  186.  
  187. >> What I did was upload a microsoft sound driver that fixed a problem with
  188. >> monologue's volume control.
  189.  
  190. I finally got it to work, After reading several messages here (and some
  191. noodle work) I got it to work.  Thanks to all!  But yes, I do have the
  192. problem of the DLL resetting the volume.  I looked for you uploaded
  193. driver, I couldn't find it.  Where can I scarf a copy.
  194.  
  195. -------------------------------------------------------------------------------
  196. FROM: Jeff , 71121,3301                           Msg# : 58883
  197.   TO: Ricardo Belmar , 70054,3616                 Date : 11/2/93 10:18:24 PM
  198.  
  199. Please disregard previous message, 
  200.  
  201. I found it (Try using an * or 2 for file searches )
  202.  
  203. Sorry,  I think that'll get me going...
  204.  
  205. Thanks
  206.  
  207. -------------------------------------------------------------------------------
  208.