An optimised method to determine the degree of acetylation of chitin and chitosan by FTIR spectroscopy.