O'Reilly logo

iOS Programming Cookbook by Hossam Ghareeb

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Working with audio capabilities

In this section, we will talk about audio capabilities in iOS. Now, we have a lot of remarkable APIs to provide the best experience when dealing with audio files. You can play back audio files, record audio, or even recognize speech. In this section, we will see how to play back audio files, record voices, and use the new Speech framework in iOS 10 to recognize speech in many different languages. We will build a demo to see how to work with all of these awesome features.

Getting ready

The only thing that you should be ready with is an audio file to play. In our demo, we are using a sample audio file to play in the app.

How to do it...

  1. Create a new Xcode project with the Single View Application template and the name ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required