Text this: Adaptive multiple-modalities data compression algorithm using wavelet for wireless sensor networks