The Csound for iOS API, by Steven Yi and Victor Lazzarini, provides an iOS interface to the Csound language, essentially allowing you to integrate Csound into the iOS ecosystem in order to build applications that use it. This is helpful for a number of reasons, not least of which include that while Apple's Core Audio API is famously well-designed and very high-performing, this is matched in equal measure with its notoriety for being difficult to parse, very poorly documented, and ultimately inaccessible to those without considerable background and time.

While Apple does provide higher-level APIs (especially notable is the more recent node-based AVAudioEngine API), these are often offered at the expense of control and flexibility, and of course low-level access is useful for other things. Csound for iOS puts a wide variety of DSP, synthesis, and more audio algorithms at the fingertips of the developer who either has attained some familiarity with Csound or is willing to. Having used the Csound iOS API for a while now for various projects, updated it, and helped to write materials (and acted as TA) for a course on developing iOS applications with it, I've written and compiled various items of relevance to it. I've described and linked to some of them below. This page also acts as a resource page for EP P453: Audio Programming for the iPad in the Spring 2018 semester, for which I am currently slated to be the instructor.

  • Csound for iOS: A Guide for Modern Developers: A getting-started guide for the Csound for iOS API in both Objective-C and Swift, authored by myself and Dr. Richard Boulanger. Also serves as the FLOSS Manual entry for Csound in iOS. HTML Version. Example Project.

  • A custom Csound for iOS framework bundle: This contains Csound, the Csound for iOS API, and libsndfile, and is modular so as to be able to be imported into Swift with a statement like import CsoundiOS. It's also built with bitcode.

  • Csound for iOS Examples Swift Rewrite: To make the API accessible to developers working in Swift. This is now also part of the Csound repository, in the iOS section. These are mostly translated from the original Objective-C examples (by Yi, Lazzarini, and others) and include the updates I added to those, but they're written in idiomatic Swift 3 and streamlined in other ways, which I think makes them an easier starting point (in addition to being in Swift, of course).