Automatic recognition of machinery noise in the working environment