Reply to Post
Classic Spy
coffeejay
2 Posts
Member since ‎07.10.2012

Speech API for iOS

Hey all, Recently joined this program and was just had a few quick questions. So as far as I understand, there is currently no API to access the Watson speech API via the iOS SDK? If so, would any of the officials here have an idea of an approximate release date for said API and perhaps a example project? I appreciate it, coffeejay
Moderator
bs595r
147 Posts
Member since ‎01.13.2012

Re: Speech API for iOS

Hello,

 

The iOS SDK for Speech should become available within the next few weeks. Stay tuned.

 

Cheers,

     --brett

Classic Spy
coffeejay
2 Posts
Member since ‎07.10.2012

Re: Speech API for iOS

Hey Brett,

 

Appreiciate the response. Thanks! I'm very excited to do some cool things with the SDK!

Expert Spy
benreaves
13 Posts
Member since ‎08.02.2012

Re: Speech API for iOS

Looks like it is released. I made a quick-start guide at http://brss.us/attSpeechApi which works for me, but it's not an official AT&T page. It does have helpful links, though

Expert Ghost
crhamilt
3 Posts
Member since ‎07.13.2012

Re: Speech API for iOS

Hi Ben:

 

Thanks so much for the guide, it was a huge help!  I was able to get the sample app working on my iphone.   One thing I note right off the bat, the response time of ATT is much slower than that of Nuance.  (2-3 seconds versus 1 second)

 

Small changes in your guide to get it to work:

 

In step 3, the application name must be SimpleSpeech, or else rename the sample project to match the name that you onboard.

 

Down near the bottom of the document, 

 

#define API_KEY @"0x1234"
#define SECRET @"0x567"

 

should be:

 

#define API_KEY @"1234"

#define API_ SECRET  @"567"

 

(SECRET needs the API_ prefix, and the 0x hex prefix shouldn't be left there when inserting key)

Expert Spy
benreaves
13 Posts
Member since ‎08.02.2012

Re: Speech API for iOS

 Thank you for your corrections! I updated http://brss.us/attSpeechApi and will try them on my sample app in a few days when I reconfigure this darn iPhone which has been rereconfigured so many times, I'm not surprised that the Provisioning Profile is not quite right...

 

 Indeed it seems to be very slow compared to Nuance Dragon SDK. I haven't tried Nuance's new Nina SDK, have you? Do you know anyone who has? AT&T's advantage to us is the ability to save the audio data separately. Our app needs this ability, and Nuance's SDK makes this extremely difficult.

 

 I'm glad you like the Quick Start doc. I'll keep it up there until they create one, or we stop using AT&T - whichever is first.

Skilled Ghost
briancolavito
2 Posts
Member since ‎12.17.2012

Re: Speech API for iOS (v4.3 support?)

I'm having a problem in iOS 4.3 that does not exist in other versions of the OS.  It happens in SimpleSpeech so it's not necessarily related to my own code.

 

After attempting to login to the API via the SDK (i.e. in "prepareSpeech" in the example), the following message fires:

 

- (void)speechService:(ATTSpeechService *)speechService failedWithError:(NSError *)error;

 

And error is NIL, so I cannot tell what the problem is. 

 

Has anyone else encountered this?

  • of 1