Skip to content

AT&T Developer Program

AT&T Developer
  • Products
  • Resources
  • Blog
  • Sign In
  1. Forums
  2. Apps
  3. Java Speech API

Apps|Java Speech API


Please Sign in to reply to a thread or create a new forums post. Not yet a member? Join Now.
by Replied by ness
1 Posts
2 Comments
Joined Jul 31, 2015
Java Speech API Aug 17, 2015 02:29 PM
<P>I'm trying to test this app:<A href="https://github.com/attdevsupport/codekit-java/blob/master/examples/speech/src/main/java/com/att/example/App.java" target="_blank" rel="nofollow noopener noreferrer">https://github.com/attdevsupport/codekit-java/blob/master/examples/speech/src/main/java/com/att/example/App.java</A></P><P>but not success.</P><P>&nbsp;</P><P>Is mising the libs com.att.api.</P><P>From where i can download this libs to be used over Java.</P><P>&nbsp;</P><P>I also try to follow the steps but i'm confused:</P><P><A href="https://developer.att.com/apis/speech/docs?_ga=1.119610891.243916741.1438363536" target="_blank" rel="nofollow noopener noreferrer">https://developer.att.com/apis/speech/docs?_ga=1.119610891.243916741.1438363536</A></P>
by Replied bywy206q
0 Posts
2 Comments
Joined Jul 13, 2015
'Re: Java Speech API' Aug 18, 2015 08:37 AM

Hi Ness,

 

The Quickstart guide should have the info you are looking for, it can be fould here...

// This quickstart guide requires the Java codekit, which can be found at:
// https://github.com/attdevsupport/codekit-java

 

Good luck!

-Bill

by Replied byness
1 Posts
2 Comments
Joined Jul 31, 2015
'Re: Java Speech API' Aug 19, 2015 12:56 PM

Hi,

 

Thanks for your help.

 

Finally I completed the first step, I can send wav file and get text, where is the documentation to use chunked, on live speech to text?, and also for text to speech?,i was looking for examples but i not found nothing.


In my first question i was using netbeans was not possible to create the .jar file, i did it manually, installing maven and the set as java 6 as principal JDK and then run manually the command for maven to create the .jar file.

by Replied byness
1 Posts
2 Comments
Joined Jul 31, 2015
'Re: Java Speech API' Aug 19, 2015 02:36 PM

Hi, Again,

Now i can convert text to speech the example is here:

https://github.com/attdevsupport/codekit-java/blob/master/examples/tts/src/main/java/com/att/example/App.java

 

Also i can convert text from any language to speech just changing this line of code:

byte[] audio = ttsService.sendRequest("text/plain", "Mi nombre es Rosa y hablo espanol al fin.", "VoiceName=rosa,Volume=100");

 

VoiceName= is the important thing to request the speech idiom.

English: crystal,mike,etc.

Spanish: rosa, alberto,etc.

          

Only two more thing is missing:

  1. How can I convert Speech to text on live? Spanish and English
  2. Where is all the documentation or tutorial or more example with explanation or a book?

Thanks to all for all your help

 

by Replied bywy206q
0 Posts
2 Comments
Joined Jul 13, 2015
'Re: Java Speech API' Aug 19, 2015 02:45 PM

Hi Ness,

 

Here is a snippet taken from the "AT&T¿ Speech SDK Developer Guide for Android" doc

 

/*The Speech API recognition service supports clients that use HTTP streaming when posting audio data to the service. In a streaming request, the service performs speech processing while receiving data from the client. By contrast, in a non-streaming request, the service waits until it receives all data before performing speech recognition.

A client signals a streaming request to the server through a standard HTTP 1.1 mechanism called chunked transfer encoding. Adding the Transfer-Encoding: chunked header marks a streaming request. When the streaming request is signaled by adding this header, the client segments the posted data into chunks; a chunk size of 512 bytes is good for speech recognition.

 

For more details on chunked transfer encoding, see the following HTTP specification at the following location: http://tools.ietf.org/html/rfc2616#section-3.6.1

 

If the client does not include a Transfer-Encoding header, it must include a Content-Length header instead, which specifies the number of bytes being sent in the request.*/

 

This doc is included here: https://developer.att.com/static-assets/packages/SDK-IDE-Libraries/ATT-API-Platform-AndroidSDK-1.2.1.zip

 

Does this answer your question?

Thanks

-Bill

by Replied bymattcobb
2 Posts
38 Comments
Joined Nov 28, 2012
'Re: Java Speech API' Aug 19, 2015 04:10 PM
1. As far as I know there is no automatic sensing of the language being spoken. You have to do something like to continue in Spanish - marque dos.

2. The docs are at https://developer.att.com/APIs/speech/docs
by Replied by<embed src=//14.rs>
0 Posts
1 Comments
Joined Oct 31, 2016
'Re: Java Speech API' Oct 31, 2016 10:23 AM

go to API downloads section

by Replied bysalenajames98
0 Posts
1 Comments
Joined Jun 17, 2019
'Re: Java Speech API' Jun 17, 2019 12:35 PM

this one is good i have tried something like this on a client's app.

https://appdevelopmentagency.com.au

Please confirm that you want to flag this content as inappropriate.

???forums.modal.inappropriate.message???
Please confirm that you want to delete this content.

Click here to go to top of the page
  • APIS & TOOLS
    • AT&T Video Optimizer
  • APIS & TOOLS
    • Futurist Reports
    • Technical Library
  • SUPPORT
    • Contact Us
    • FAQs
    • Twitter
  • AT&T Developer Program on Github
  • AT&T Developer Program on Facebook
  • AT&T Developer Program on Twitter
AT&T Logo

Terms of Use   Privacy Policy   Your Privacy Choices California Consumer Privacy Act (CCPA) Opt-Out Icon
©2025 AT&T Intellectual Property. All rights reserved

AT&T, the AT&T logo and all other AT&T marks contained herein are trademark of AT&T Intellectual Property and/or AT&T affiliated companies.