How can you record audio to a file in an app's documents directory using AudioKit. They include examples on how to display live microphone signals and how to playback audio that's shipped as part of a binary but there is no information as far as I can tell regarding saving microphone input to a file.
I have managed to record files using AKManager.sharedManager().startRecordingToURL(pathURL)
however when I export the file I get a silent .wav file. Am I not specifying a recording device?
I'm using Swift so answers in swift are preferable to Obj-C answers.