This demo is based off of the work by Jeff Cooper.
Before reading this, we highly recommend you to read a great tutorial on Hello World example first. This example is included in AudioKit in the Examples directory with versions for iOS and OSX.
Our sampler uses recordings of sounds that were preloaded into Sounds directory of the project folder.
And then we jump right into Conductor.swift file where we can find the same declarations for a basic sequencer, a mixing node, a filter node, a playback node to generate audio, and a mixing node.
During the init() function we initialize the instruments, connect them to a mixing node, create a filter node from a mixing one, and then start the AudioKit engine.