Sensory adaptation and amplification