title: Analyse recorded audio file with Swift for speech to text
body: <p>I'm able to record audio with Swift for iOS and play the recorded audio file. What I'm asking is if it is possible to check the recorded audio file for background noise &amp; volume/decibel so I can decide that it is good enough for my speech to text framework. The framework is not the problem and I have researched all the available ones. </p>
  
  <p>I'm curious if I can analyse the recorded audio file with AVFoundation or Accelerate Framework or any other framework to check if the audio file is good/clear enough to process with a speech to text framework.</p>
  
  <p>I don't have a lot of audio knowledge but I've researched a bit and found out I can get the peak and average decibel values while recording but what about background noise?</p>
  
  <p>Any information would be helpful about analysing a recorded audio file with Swift.</p>