iPhone synth starting point...
iPhone synth starting point...
- Subject: iPhone synth starting point...
- From: Richard Burnett <email@hidden>
- Date: Mon, 13 Apr 2009 15:29:45 -0400
Hello All!
I've been working on writing a few different programs on the iPhone and have just now started working with audio. I purchased the iPhone SDK book from O'reilly and looked through the SpeakHere example code, but I am really not finding what I am looking for with regards to development.
To be honest, I just don't know were to look next. I want to make a sample player with at least a 8 note polyphony (single instrument) with ADSR and maybe the ability to add reverb. I implemented the AudioQueue example code and in fact got it to play a sample off of the iPhone, this is no where near where I need to go. For instance:
(1) This code ran from a button callback and locked up the interface while the sound was playing. This of course leads me to believe I need to handle the threading and have the audio stuff run in a thread.
(2) Do *I* handle the buffer filling in one thread and just keep information around in the callback to start new sounds and add them together myself or is there better ways to handle this?
(3) Would I be better off understanding how to use audio units for the reverb?
Compared to the rest of the iPhone SDK I have worked with, it feels like working with CoreAudio is A LOT harder. I wish I had more experience with it on OSX itself, but my knowledge has been limited to a few AU projects I had started awhile ago.
Can anyone point me in some helpful directions. Your help will be GREATLY appreciated.
Thanks
Rick
Asylum Studio Productions
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden