I\'d like to play a synthesised sound in an iPhone. Instead of using a pre-recorded sound and using SystemSoundID to play an existing binary, I\'d like to synthesise it. Partial
Many of the audio technologies allow for data to be passed in instead of a sound file. AVAudioPlayer, for example, has:
-initWithData:error:
Initializes and returns an audio player for playing a designated memory buffer.
- (id)initWithData:(NSData *)data error:(NSError **)outError
However, I am not sure how you would pass in a data ptr, start the sound, and then keeping it looping by passing in other data ptrs, or repeating the same, etc.