automatically find useful samples from longer recordings