actually works now: audio write and sound