Core Audio

System Sound Services

 * Fine for basic, < 30 sec sound bytes.
 * Generally like an alert
 * http://www.onlinetuningfork.com/
 * Celestial

Audio Queue
"Audio Queue Services provides features similar to those previously provided by the Sound Manager in Mac OS X. It adds additional features such as synchronization. The Sound Manager is deprecated in Mac OS X v10.5 and does not work with 64-bit applications. Apple recommends Audio Queue Services for all new development and as a replacement for the Sound Manager in existing Mac OS X applications." void listener_callback(void *userData,   AudioQueueRef inQ,    AudioQueueBufferRef inBuf,    const AudioTimeStamp *inStartTime,    UInt32 inNumberPacketDescriptions,    const AudioStreamPacketDescription *inPacketDesc) { //....With 1024 samples per audio buffer, this callback gets called 21.53 times per second
 * http://developer.apple.com/library/ios/#documentation/MusicAudio/Reference/CAAudioTooboxRef/_index.html
 * http://stackoverflow.com/questions/2739466/how-to-generate-sound-from-a-waveform-data
 * http://developer.apple.com/library/ios/#documentation/MusicAudio/Reference/AudioQueueReference/Reference/reference.html
 * http://developer.apple.com/library/ios/#documentation/MusicAudio/Conceptual/AudioQueueProgrammingGuide/Introduction/Introduction.html
 * http://developer.apple.com/library/mac/#documentation/AudioToolbox/Reference/AUGraphServicesReference/Reference/reference.html
 * http://developer.apple.com/library/mac/documentation/MusicAudio/Reference/CoreAudioDataTypesRef/Reference/reference.html#//apple_ref/doc/c_ref/AudioStreamBasicDescription
 * http://www.iphonedevsdk.com/forum/iphone-sdk-development/20747-audiostreambasicdescription-headache.html

short int *ibuf = (short*)inBuf->mAudioData; for(int i=0; i<1024; i++) {       my8BitBuffer[i] = ibuf[i]>>8; }   AudioQueueEnqueueBuffer(inQ, inBuf, 0, NULL);

}

AVFoundation

 * Objective-C framework for Core Audio
 * http://developer.apple.com/library/ios/#samplecode/avTouch/Introduction/Intro.html

Core MIDI

 * http://www.cs.berkeley.edu/~lazzaro/rtpmidi/


 * http://www.synthtopia.com/content/2009/03/17/5-reasons-apples-iphone-30-software-kicks-ass-for-music/
 * http://stackoverflow.com/questions/2237574/play-midi-file-on-the-iphone
 * http://stackoverflow.com/questions/449057/midi-player-synthesizer-library-for-the-iphone
 * http://timidity.sourceforge.net/#info
 * http://stackoverflow.com/questions/4966586/is-there-a-way-to-use-core-midi-on-pre-ios-4-2-devices
 * http://code.google.com/p/dsmi/
 * http://dsmidiwifi.tobw.net/
 * http://stackoverflow.com/questions/5047453/coremidi-midinetworknotificationcontactsdidchange-symbol-not-found
 * http://stackoverflow.com/questions/5048131/cross-platform-midi-library-supporting-ios-coremidi

Core Audio

 * http://timbolstad.com/2010/03/14/core-audio-getting-started/
 * http://timbolstad.com/2010/03/16/core-audio-getting-started-pt2/
 * http://timbolstad.com/2010/03/17/core-audio-getting-started-pt3/
 * http://www.subfurther.com/blog/2009/04/28/an-iphone-core-audio-brain-dump/
 * http://sites.google.com/site/iphonecoreaudiodevelopment/remoteio-playback
 * http://sites.google.com/site/iphonecoreaudiodevelopment/one-node
 * http://stackoverflow.com/questions/742706/can-i-use-core-audio-effects-on-the-iphone
 * http://developer.apple.com/library/ios/#documentation/MusicAudio/Conceptual/CoreAudioOverview/WhatsinCoreAudio/WhatsinCoreAudio.html
 * http://developer.apple.com/library/mac/#documentation/MusicAudio/Conceptual/CoreAudioOverview/Introduction/Introduction.html
 * http://developer.apple.com/library/ios/#technotes/tn2008/tn2199.html
 * http://en.wikipedia.org/wiki/Core_Audio

Remote IO AU

 * http://atastypixel.com/blog/using-remoteio-audio-unit/
 * https://devforums.apple.com/message/2679#2679
 * https://devforums.apple.com/thread/1140?start=0&tstart=0

Cocoa

 * http://developer.apple.com/library/mac/#documentation/Cocoa/Reference/ApplicationKit/Classes/NSSound_Class/Reference/Reference.html
 * http://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/Sound/Concepts/NSSound.html
 * http://stackoverflow.com/questions/3556886/nssound-like-framework-that-works-but-doesnt-require-dealing-with-a-steep-learn

Source Code
audioBuffer[i] = amplitude * sin(i * 2.0 * pi * frequency / sampleRate )
 * https://devforums.apple.com/thread/1497
 * http://www.dribin.org/dave/blog/archives/2010/05/02/ipad_dev_camp_slides/
 * http://www.dribin.org/dave/blog/archives/2010/04/26/announcing_a440/
 * https://bitbucket.org/ddribin/chip-player
 * http://developer.apple.com/library/mac/#samplecode/AudioFileStreamExample/Introduction/Intro.html
 * http://www.saygoodnight.com/2009/08/prebuffering-iphone-audio-streams-for-gapless-playback/
 * https://github.com/mattgallagher/AudioStreamer
 * http://cocoawithlove.com/2008/09/streaming-and-playing-live-mp3-stream.html
 * http://cocoawithlove.com/2009/06/revisiting-old-post-streaming-and.html
 * http://developer.apple.com/library/ios/#samplecode/SpeakHere/Introduction/Intro.html
 * http://developer.apple.com/library/mac/#samplecode/DefaultOutputUnit/Introduction/Intro.html
 * http://discussions.apple.com/thread.jspa?threadID=1802790
 * http://developer.apple.com/library/ios/#samplecode/aurioTouch/Introduction/Intro.html
 * http://code.google.com/p/mobilesynth/
 * http://mda.smartelectronix.com/
 * http://forums.macrumors.com/showthread.php?t=679460
 * http://stackoverflow.com/questions/347250/tone-generation-in-cocoa-touch
 * 1) include

typedef double Sample; typedef double Time;

class MonoNote { protected: Time start, duration; virtual void internalRender(double now, Sample *mono) = 0; public: MonoNote(Time s, Time d) : start(s), duration(d) {} virtual ~MonoNote {} void render(double now, Sample *mono) { if (start <= now && now < start + duration) { internalRender(now, mono); }   } };

class MonoSinNote : public MonoNote { Time freq; Sample amplitude; protected: void internalRender(double now, Sample *mono) { const double v = sin(2*M_PI*(now - start) * freq); *mono += amplitude*v; } public: MonoSinNote(Time s, Time d, Time f, Sample a) : MonoNote(s, d), freq(f), amplitude(a) {} ~MonoSinNote {} };
 * http://code.google.com/p/pocketguitar/
 * http://code.google.com/p/cookbooksamples/downloads/list http://ericasadun.com/2008/10/sample-code/

Misc

 * http://stackoverflow.com/questions/5086267/java-midi-sequencer-not-always-producing-sound-how-do-i-debug-resolve
 * http://stackoverflow.com/questions/tagged/midi
 * http://www.iphonedevsdk.com/forum/iphone-sdk-development/27560-generate-beep-tone-dtmf.html
 * http://stackoverflow.com/questions/347250/tone-generation-in-cocoa-touch
 * https://devforums.apple.com/thread/1497
 * http://forums.macrumors.com/showthread.php?t=679460
 * http://en.wikipedia.org/wiki/Csound
 * http://www.csounds.com/matt/MacCsound/
 * https://ccrma.stanford.edu/~jos/
 * https://ccrma.stanford.edu/software/stk/
 * http://www.amazon.com/Introduction-Digital-Filters-Audio-Applications/dp/0974560715/ref=pd_luc_sim_00_04_t_lh

iPad

 * http://timbolstad.com/dingsaller/
 * http://itunes.apple.com/us/app/tek-kit-hd/id364872619?mt=8
 * http://itunes.apple.com/us/app/electrify/id368419081?mt=8
 * http://itunes.apple.com/us/app/chippad/id366250060?mt=8
 * http://itunes.apple.com/us/app/ellatron-hd/id365375749?mt=8

Forums

 * http://lists.apple.com/archives/Coreaudio-api/2009/Feb/msg00004.html
 * http://www.iphonedevsdk.com/forum/iphone-sdk-development/20747-audiostreambasicdescription-headache.html
 * http://stackoverflow.com/questions/914536/audio-recording-iphone-values-of-audiostreambasicdescription
 * http://developer.apple.com/library/mac/#documentation/MusicAudio/Reference/CoreAudioDataTypesRef/Reference/reference.html
 * http://www.macupdate.com/app/mac/29676/audiounitanalyzer