actually without hacking into the native api loadSound can handle file.data:
loadSound
file.data
https://editor.p5js.org/micuat/sketches/etbE7PmHf