API - Speech Translation

Microsoft Translator Speech Translation API Support

(thinking…)

Enter your idea and we'll search to see if someone has already suggested it.

If a similar idea already exists, you can support and comment on it.

If it doesn't exist, you can post your idea so others can support it.

Enter your idea and we'll search to see if someone has already suggested it.

  1. Microsoft Bing Speech Recognition

    Hi,

    I am using Bing Speech API https://www.microsoft.com/cognitive-services/en-us/Speech-api/documentation/API-Reference-REST/BingVoiceRecognition for ASR.

    I want to do continuous speech recognition from the microphone in Java. But the data we get from the microphone is raw data. I know we have to set wav header to the raw audio data before calling the REST API.

    I am using the below code to set the header

    byte[] header = new byte[44];
    ByteArrayOutputStream baos = null;
    DataOutputStream dos = null;
    try { // create byte array output stream
    baos = new ByteArrayOutputStream();
    short nChannels = 1;
    short mBitsPersample = 16; // create data output stream
    dos…

    2 votes
    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)

      We’ll send you updates on this idea

      0 comments  ·  Flag idea as inappropriate…  ·  Admin →
    • Speech to speech translation

      Hi,

      I want to translate speech from one language into speech of another language. I am trying to achieve this using the Translator Speech API. I am using this reference http://docs.microsofttranslator.com/speech-translate.html for my implementation.

      I am sending a stored audio file as an input to the API as it is given in this sample https://github.com/MicrosoftTranslator/Java-Speech-Translate but I am not getting the audio information and the audio in the final result.

      Can anybody help me on how to retrieve audio as the final output.

      4 votes
      Sign in
      Check!
      (thinking…)
      Reset
      or sign in with
      • facebook
      • google
        Password icon
        I agree to the terms of service
        Signed in as (Sign out)

        We’ll send you updates on this idea

        3 comments  ·  Flag idea as inappropriate…  ·  Admin →

        Hi Harshitha,

        With a websocket connection there are two types of streams coming back from the service. One stream is messages, in our case JSON. The other stream is data, in bytes. Your websocket implementation needs to have methods for both types of data.

        Here is an example for a websocket library for an IOS implementation:

        websocketDidReceiveMessage
        websocketDidReceiveMessage is called when the client gets a text frame from the connection.
        func websocketDidReceiveMessage(socket: WebSocket, text: String) {
        print(“got some text: \(text)”)
        }
        websocketDidReceiveData
        websocketDidReceiveData is called when the client gets a binary frame from the connection.
        func websocketDidReceiveData(socket: WebSocket, data: Data) {
        print(“got some data: \(data.count)”)
        }

        The link to this: https://github.com/daltoniam/Starscream

        You need to have a code that receives the messages (JSON), and code to receive the Data(Bytes)

        The messages and data come back over the websocket independently.

        Hope this helps.
        Pauline

      • Language Detection

        Hi,
        I am currently using Speech API to translate from one language to another language with python.
        I am getting correct audio output with translated language of the given audio input, But is it necessary to provide from which language we have to translate ?
        Do Microsoft speech APIs able to detect spoken language automatically ?

        I have taken help of this API: https://github.com/MicrosoftTranslator/Python-Speech-Translate/blob/master/speech.py

        2 votes
        Sign in
        Check!
        (thinking…)
        Reset
        or sign in with
        • facebook
        • google
          Password icon
          I agree to the terms of service
          Signed in as (Sign out)

          We’ll send you updates on this idea

          Resolved  ·  2 comments  ·  Flag idea as inappropriate…  ·  Admin →
        • 2 votes
          Sign in
          Check!
          (thinking…)
          Reset
          or sign in with
          • facebook
          • google
            Password icon
            I agree to the terms of service
            Signed in as (Sign out)

            We’ll send you updates on this idea

            Resolved  ·  1 comment  ·  Flag idea as inappropriate…  ·  Admin →
          • Speech api taking other audio formats

            Currently the speech api takes input audio in wav format, this is very expensive in terms of filesize, bandwidth used etc. Like tts gives output in mp3 and wav can the speech api also take audio input in mp3 or other efficient formats.

            3 votes
            Sign in
            Check!
            (thinking…)
            Reset
            or sign in with
            • facebook
            • google
              Password icon
              I agree to the terms of service
              Signed in as (Sign out)

              We’ll send you updates on this idea

              0 comments  ·  Flag idea as inappropriate…  ·  Admin →
            • Can we have offline translation available thru the API

              Can we have offline translation available thru the API like the one available in Microsoft Translate app

              4 votes
              Sign in
              Check!
              (thinking…)
              Reset
              or sign in with
              • facebook
              • google
                Password icon
                I agree to the terms of service
                Signed in as (Sign out)

                We’ll send you updates on this idea

                Resolved  ·  4 comments  ·  Flag idea as inappropriate…  ·  Admin →
              • Query limit per minute for text to speach

                I'm trying to use tts in my project (using this php example https://msdn.microsoft.com/en-us/library/ff512420.aspx#phpexample), and I see there is a limit of queries per some time. First 9-10 queries has response but then for about five minutes all response are: "Cannot find an active Azure Market Place Translator Subscription associated with the request credentials". After five minutes next 9-10 queries are ok and so on. It is normal? It is possible to turn off this limit?

                2 votes
                Sign in
                Check!
                (thinking…)
                Reset
                or sign in with
                • facebook
                • google
                  Password icon
                  I agree to the terms of service
                  Signed in as (Sign out)

                  We’ll send you updates on this idea

                  0 comments  ·  Flag idea as inappropriate…  ·  Admin →
                • Speech API for Java issue

                  Hi,

                  I'm working in a small start-up company and we would like to use the Microsoft Translator Speech API for a specific feature of one of our services.

                  After many hours of testing and coding (thanks to your web documentation), I have been able to get translation results from "speech to text" in our program but not the final successful result from "text to speech".

                  The code is written in Java and I have enabled the "text-to-speech" feature in the connect web socket command, but when I launch it, the app gets totally stuck as you can see in next…

                  2 votes
                  Sign in
                  Check!
                  (thinking…)
                  Reset
                  or sign in with
                  • facebook
                  • google
                    Password icon
                    I agree to the terms of service
                    Signed in as (Sign out)

                    We’ll send you updates on this idea

                    4 comments  ·  Flag idea as inappropriate…  ·  Admin →
                  • Text to Speech using JAVA Speech API

                    Hi,

                    I'm working on integrating Microsoft's Translate (Speech) API into my senior project, here at CalPoly. I've downloaded Microsoft's provided java sample code from GitHub, and have built and run it within Eclipse IDE.

                    However, after reviewing the provided documentation online, I am still having difficulty figuring out how to integrate the available Text-to-Speech TTS feature into the WebSocket.

                    Any guidance on how to enable it would be very helpful.

                    Regards,
                    Kevin

                    3 votes
                    Sign in
                    Check!
                    (thinking…)
                    Reset
                    or sign in with
                    • facebook
                    • google
                      Password icon
                      I agree to the terms of service
                      Signed in as (Sign out)

                      We’ll send you updates on this idea

                      Resolved  ·  0 comments  ·  Flag idea as inappropriate…  ·  Admin →
                    • We all need Sinhala language in the translator

                      We need to see the Sinhala language in the Microsoft Translator

                      2 votes
                      Sign in
                      Check!
                      (thinking…)
                      Reset
                      or sign in with
                      • facebook
                      • google
                        Password icon
                        I agree to the terms of service
                        Signed in as (Sign out)

                        We’ll send you updates on this idea

                        Resolved  ·  2 comments  ·  Flag idea as inappropriate…  ·  Admin →
                      • 2 votes
                        Sign in
                        Check!
                        (thinking…)
                        Reset
                        or sign in with
                        • facebook
                        • google
                          Password icon
                          I agree to the terms of service
                          Signed in as (Sign out)

                          We’ll send you updates on this idea

                          Resolved  ·  2 comments  ·  Flag idea as inappropriate…  ·  Admin →
                        • Don't see your idea?

                        API - Speech Translation

                        Feedback and Knowledge Base