Skip to content

Swift sample code for the book, Learning Core Audio. The original sample code was written in C/Objective-C but I tried to make it in Swift version.

License

Notifications You must be signed in to change notification settings

derekli66/Learning-Core-Audio-Swift-SampleCode

Repository files navigation

Learning-Core-Audio-Swift-SampleCode

This repo is my practice for learning Apple Core Audio API. Thanks Chris Adamson and Kevin Avila two authors they created the book, Learning Core Audio: A Hands-On Guide to Audio Programming for Mac and iOS. This book let me have a gentle guide to walk through the basic of audio programming.

Practice is the best way to learn something you are not familiar with. Therefore, I decided to use Swift to do practices on the original sample codes which were written in C/Objective-C.

I wish I could learn more about unsafe Swift and also audio programming at the same time in this practice.

If you happen to learn Core Audio as well as using this book, you may want to see the Swift version sample code. Hope this repo will help you.

If you would like to share your Swift knowledge to make these sample code better, please send me PR. I will be happy to learn from it.


The following chapters were finished in Swift.

  • Chapter 3 - Audio Processing with Core Audio
  • Chapter 4 - Recording
  • Chapter 5 - Playback
  • Chapter 6 - Conversion
  • Chapter 7 - Audio Units: Generators, Effects, and Rendering
  • Chapter 8 - Audio Units: Input and Mixing
  • Chpater 9 - Positional Sound
  • Chapter 10 - Core Audio on iOS
  • Chapter 11 - Core MIDI
  • Chapter 12 - Coda (AUSampler)

Revision Notes

2019/12/21

  • Update sample codes to support Swift 5.

About

Swift sample code for the book, Learning Core Audio. The original sample code was written in C/Objective-C but I tried to make it in Swift version.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages