Results 1 to 3 of 3

Thread: SpeechController in C#

  1. #1
    Newbie
    Join Date
    Mar 2007
    Posts
    8

    SpeechController in C#

    Hallo!

    Did anybody tried the SpeechController in C#? Everytime I call "app.SpeechController.Speak("test")" I get the following exception.


    System.Runtime.Remoting.RemotingException: ByRef value type parameter cannot be null.
    at System.Runtime.Remoting.Proxies.RealProxy.Validate ReturnArg(Object arg, Type paramType)
    at System.Runtime.Remoting.Proxies.RealProxy.Propagat eOutParameters(IMessage msg, Object[] outArgs, Object returnValue)
    at System.RuntimeType.ForwardCallToInvokeMember(Strin g memberName, BindingFlags flags, Object target, Int32[] aWrapperTypes, MessageData& msgData)
    at StreetDeck.ISpeechController.Speak(String TextToSpeak)
    at Project.Modules.MainMenu.ModuleSettings.btnCancel_ OnMouseClick(Int32 x, Int32 y) in ...

    A first chance exception of type 'System.Runtime.Remoting.RemotingException' occurred in mscorlib.dll

  2. #2
    Newbie
    Join Date
    Mar 2007
    Posts
    8
    I forgot something...

    The return value for "app.SpeechController.IsVoiceCapable()" is "false". But what makes my client VoiceCapable?

    Thank you,
    Lars

  3. #3
    Raw Wave god_of_cpu's Avatar
    Join Date
    Jan 2004
    Location
    SilverSpring Maryland
    Posts
    2,960
    The Speak command is demonstrated in Example 2 in the building digitalmods tutorial
    http://www.mp3car.com/wiki/index.php...for_StreetDeck

    I have just verified that it is working.

    You might be missing a dependancy or your error could be coming from something else your doing, but programmatically, there is no setup that you have to do to use the Speak command and your are calling it correctly.

    You can also call the Microsoft Speech SDK directly. Just download it from here: http://www.microsoft.com/speech/techinfo/apioverview/
    StreetDeck.com Developer (I am Chuck)
    Get StreetDeck at http://www.streetdeck.com
    The Official StreetDeck Forums have moved, please visit us at http://www.streetdeck.com/forum for official support for Streetdeck.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •