We released a new Speech SDK supporting the new Speech Service. The new Speech SDK comes with support for Windows, Android, Linux, Javascript and iOS.
Please check out Microsoft Cognitive Services Speech SDK for documentation, links to the download pages, and the samples.
NOTE: The content of this repository is supporting the Bing Speech Service, not the new Speech Service. Bing Speech Service has been deprecated, please use the new Speech Service.
This repo contains the iOS client library and samples for Speech-to-Text in Microsoft Speech API, an offering within Microsoft Cognitive Services on Azure, formerly known as Project Oxford.
To add the Speech Client Library dependency to an existing XCode Project:
File
then Add Files to ...
iPhoneOS
, select SpeechSDK.framework
, and click Add
.General
tab. You will notice that SpeechSDK.framework exists under the Linked Frameworks and Libraries
section.General
tab, under the Embedded Binaries
section, click the (+) button. In the dialog, select SpeechSDK.framework
and click the Add
button.iPhoneSimulator
or MacOSX
instead.The Client Library Reference for iOS can be found here.
This sample demonstrates the following features using a wav file or external microphone input:
File
, and Open...
the workspace file Cognitive-Speech-STT-iOS > SpeechSDK.xcworkspace
.Samples/SpeechRecognitionServerExample/settings.plist
.luisAppID
and luisSubscriptionID
in Samples/SpeechRecognitionServerExample/settings.plist
.Product > Build
to build the sample and Run
to launch the sample app.In XCode, select the menu Product
, and Run
to launch this sample app.
Change Mode
to select which recognition mode you would like to use.We welcome contributions. Feel free to file issues and pull requests on the repo and we'll address them as we can. Learn more about how you can help on our Contribution Rules & Guidelines.
You can reach out to us anytime with questions and suggestions using our communities below:
This project has adopted the Microsoft Open Source Code of Conduct. For more information, see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.
All Microsoft Cognitive Services SDKs and samples are licensed with the MIT License. For more information, see LICENSE.
Sample images are licensed separately, please refer to LICENSE-IMAGE.
Developers using Cognitive Services, including this client library and sample, are expected to follow the "Developer Code of Conduct for Microsoft Cognitive Services", found at http://go.microsoft.com/fwlink/?LinkId=698895.