A swelling-based chemiresistor for a biogenic odour.