A simple tone generator for iOS, made using Matt Gallagher's fantastic tone generating code. ToneGenerator is a portable class that you can drop in your app and create tones, like so:
- Copy ToneGenerator.h and ToneGenerator.m into your project.
#import "ToneGenerator.h"
ToneGenerator *toneGenerator = [[ToneGenerator alloc] init];
toneGenerator.frequency = 10000; // 10 KHz
[toneGenerator start];
ToneGenerator is a bit basic right now; lots of changes likely await as I use it in actual projects.