Adopted James Lyon's feature detection for audio module