Wavelets and adapted waveform analysis