Adding a component to a mixture in response to a detected feature