New version of Text-To-Speech library

Posted by Marco Minerva

Some weeks ago I talked about my library for Text-To-Speech with .NET Micro Framework.

In the mean time, The Microsoft Translator Service, that I use in my library, has been moved to Azure and has been enhanced with new features. Now it is able to return streams in both WAV and MP3 format, and it is also possible to specifiy the quality of the audio stream to obtain.

One of the major changes is that the Bing AppID mechanism, used in previous version, is no longer supported. Now the service uses a token based access system that is compliant with OAuth standard. So, we must register our application in the Azure DataMarket, in order to obtain the Client ID and Client Secret needed to use the service.

As a result, I have updated my Text-To-Speech library to support the new platform and I have added properties to set audio format and quality of the stream.

You can download the new version from MSDN Code Gallery, or, as usual, you can directly get it from NuGet (just search TranslatorService.Speech).



  1. #1 by AlGu on May 16, 2012 - 4:06 AM


    i have the following error:

    ‘TranslatorService.Speech 1.2.0’ already installed.
    Unable to find assembly references that are compatible with the target framework ‘.NETMicroFramework,Version=v4.1’.

    can you help me, please.

    Thanks AlGu

    • #2 by Marco Minerva on May 16, 2012 - 4:31 AM

      When do you get this error?

      • #3 by AlGu on May 17, 2012 - 5:05 AM

        I get this error if i create new MF Project “FEZ Panda II Application” and then add NuGet “TranslatorService.Speech”.

        I have downloaded the Ms example and this do not work on my hardware, i get an “NotSupported” Exception. 😦

        thx AlGu

      • #4 by Marco Minerva on May 17, 2012 - 5:51 AM

        What version of .NET Micro Framework does the FEZ Panda II Application target? The NotSupportedException error arises because of some incompatibility with SSL, that is necessary to use the 1.2 version of the library.
        I can send you an old version of the Text-To-Speech library, that uses Bing ID authentication system and does not need SSL, but take in mind that this authentication type is deprecated and no longer supported.

      • #5 by AlGu on May 17, 2012 - 6:06 AM

        My SKD Version is 4.1 and the FEZ Panda II:
        ClrInfo.clrVersion: 4.1.2821.0
        ClrInfo.targetFrameworkVersion: 4.1.2821.0

        Yes please send me your old Version. I think too it is a problem with SSL, i hope it is fixed in 4.2 🙂

  2. #6 by Marco Minerva on May 17, 2012 - 7:33 AM

    You can find the library attached to this post:
    Go to the end of the article and download the code.

  1. convert text to speech

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: