I think AVFoundation is probably the easiest way to get started.

There’s a pretty good sample on how to do it:

https://developer.apple.com/documentation/avfoundation/audio_track_engineering/building_a_signal_generator
 
<https://developer.apple.com/documentation/avfoundation/audio_track_engineering/building_a_signal_generator>

Dan
-----------------------------------------
Dan Waylonis | nekotech.com
650.887.3711



> On Mar 13, 2020, at 3:51 PM, Jens Alfke via Cocoa-dev 
> <cocoa-dev@lists.apple.com> wrote:
> 
> 
> 
>> On Mar 12, 2020, at 5:31 PM, Carl Hoefs <newsli...@autonomy.caltech.edu> 
>> wrote:
>> 
>> In iOS, what is the current way to generate precise audio tones? 
>> AVFoundation? CoreAudio? AudioUnits?
> 
> AudioUnits. It's been a long time since I worked with that API, but I'm 
> pretty sure I recall some sample code showing a generator AU that emits a 
> sine wave.
> 
> —Jens
> _______________________________________________
> 
> Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
> 
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
> 
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/cocoa-dev/danw%40nekotech.com
> 
> This email sent to d...@nekotech.com

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to