A Real-Time Algorithm for Signal Analysis with the Help of the Wavelet Transform