On macOS, I am looking for the best way to capture audio input levels from a microphone using Swift.
This article is along the lines of what I am thinking, but am not sure how to go about processing the sample buffers to get the volume levels:
macOS/swift Capture Audio with AVCaptureSession
Am I on the right track, or looking at this the wrong way?