Bring the code over from libaudioverse and relicense