hm unfortunately audio file exports aren't trivial in js; recording the loopback is much simpler, so if it's not too much hassle i'd recommend sticking with that method