kylesimmonds
kylesimmonds

Reputation: 183

Adding SoundTouch to Xcode/iPhone

I've downloaded the SoundTouch folder from their website and now I don't know what to do with it. I'm trying to integrate the pitch-manipulation feature into an iOS app that allows the user to select a song from their library and change the pitch.

What do I need to include in the Xcode project from the SoundTouch folder, and where do I go from there? Any help is appreciated.

Upvotes: 2

Views: 1242

Answers (2)

EnriMR
EnriMR

Reputation: 3970

If you still need it to use SoundTouch in your iOS project, I have share a GitHub repository with that libraries compiled for armv7, armv7s, arm64, i386 and x86_64

https://github.com/enrimr/soundtouch-ios-library

To implement that compiled library in your project, you have to add SoundTouch directory (which includes libSoundTouch.a and the directory with headers) in your Xcode project and then include

#include "SoundTouch.h" 

in your controller file.

Upvotes: 2

izzy
izzy

Reputation: 1349

I found this question googling "building soundtouch in Xcode"

It seems there is a project on github that has completed this successfully, https://github.com/mwhagedorn/SoundTouch

I was able to clone the repository, build the project, and include the libSoundTouch.a file in my project.

So you will need to include the soundtouch.h in the objective c file you want to access it from. From there create an instance of soundtouch, i.e. SoundTouch audioEngine = SoundTouch.createInstance();, and go from there.

Upvotes: 1

Related Questions