AVAudioEngine 3D Audio Example

Last Revision:
Version 2.0, 2016-11-03
Updated for macOS 10.12 and Xcode 8.1. Added iOS and tvOS targets.
(Full Revision History)
Build Requirements:
OS X 10.11 SDK
Runtime Requirements:
OS X 10.12 or greater

Demonstrates how to use AVAudioEngine, AVAudioEnvironmentNode and AVAudioPlayerNode to play positional multichannel audio using SceneKit to setup a cube environment and manage some bouncing balls. When the balls hit and bounce off a wall, positional audio is played using AVAudioEngine.