DETECTION OF THE FAILURES VIA ACOUSTIC EMISSION USING ENVELOP ANALYSIS AND WAVELET TRANSFORM