Quality-based control for drying food materials