attempting to get rid of overtone detection as well as putting protection back in place for sample_valid