Search code examples
iosaudioplaybackopenalwaveform

wavetable synth for iOS


I need to implement a wavetable player in my app. For different notes (polyphony) a note on and note off feature is needed (including looping for relevant sounds). The samples are available or can be converted by myself, the need is for a class that is capable of playing, looping and stopping the samples or waves. I found some open source project like fluid synth but here the question is for some sample code available for iOS or openAL. Thank you in advance for any hints or snippets, regards, Koen.


Solution

  • You could take a look at the new Sampler audio unit in iOS5. This lets you play samples with pitch control at low latency.

    There is some sample code from Apple.