This is an example project that shows how to use the The Synthesis Toolkit in C++ v 4.4.4 for iOS projects, using The Amazing Audio Engine as the audio engine.
The idea behind it is to help integrate those changes INTO the STK so that it fully supports iOS.
Please read the original thread on the STK mailing list for more information.
##Instructions
- Clone this repository, then clone the The Amazing Audio Engine by doing:
git submodule update --init
##Steps so far:
- Get the STK
- Copy only the following directories into a new and empty STK folder in the repository:
- include/
- rawwaves/
- src/
-
Remove the file
src/Makefile.in
-
Drag and drop the STK folder into the Xcode project, select "Create groups for any added folders", tick "Add to targets".
-
Open your Build Settings, add
stk/include/
to your Header Search Paths: -
Remove the following files (
.h
files are in include/,.cpp
files are in src/):
Multithreading:
Thread.h
Thread.cpp
Mutex.h
Mutex.ccp
Networking:
UdpSocket.h
UdpSocket.cpp
Socket.h
Socket.cpp
TcpClient.h
TcpClient.cpp
TcpServer.h
TcpServer.cpp
File I/O:
InetWvOut.h
InetWvOut.cpp
InetWvIn.h
InetWvIn.cpp
Audio Layer setup:
RtAudio.h
RtAudio.cpp
RtMidi.h
RtMidi.cpp
RtWvIn.h
RtWvIn.cpp
RtWvOut.h
RtWvOut.cpp
RtError.h
In rawwaves/
makefun.c
makemidi.c
makewav.c
sine.c
##Thanks to Hari Karam Singh, Richard Dobson, and the MoMu-STK project for useful pointers.