socket.on('music', buffer => {
window.AudioContext = window.AudioContext || window.webkitAudioContext
const context = new AudioContext()
const source = context.createBufferSource()
source.buffer = buffer
source.connect(context.destination)
source.start(0)
// TypeError: Failed to set the 'buffer' property on 'AudioBufferSourceNode': The provided value is not of type 'AudioBuffer'.
})