A python algorithm to distinguish and categorize percussive sounds