In this paper, a wavelet packet-based method is used for detection of abnormal respiratory sounds. The sound signal is divided into segments, and a feature vector for classification is formed using the results of the search for the best wavelet packet decomposition. The segments are classified as containing crackles, wheezes or normal lung sounds, using Learning Vector Quantization. The method is tested using a small set of real patient data which was also analysed by an expert observer. The preliminary results are promising, although not yet good enough for clinical use.