title: How to convert a wave file into numbers in R Studio
body: <p>I have loaded audio files into R and would now like to get a list of the complex number samples so I can use FFT and Wavelet transforms on the samples.</p>
  
  <p>How do I get the list of numbers to work with whilst in R?
  I've tried <em>'audio$data'</em>, but get an error message as $ is not defined in the s4 class.</p>
  
  <p>Any help would be highly appreciated, thanks.</p>