title: How to convert ArrayBuffer to AudioBuffer?
body: <p>I am streaming an arrayBuffer to convert to an audioBuffer in order to be able to listen to it.</p>
  
  <p>I am receiving a stream via a websocket event</p>
  
  <pre><code>retrieveAudioStream(){
    this.socket.on('stream', (buffer) =&gt; {
      console.log('buffer', buffer)
    })
  }
  </code></pre>
  
  <p>the <code>buffer</code> is an arrayBuffer and I need it to be an <code>audioBuffer</code> in order to be able to listen to it on my application.</p>
  
  <p>How can I do this?</p>