Use a lowpass filter with -6dB/octave or so. You will NOT get rid of the string plucking sound like this. You need to remove it in software. Delay the freq. measurement start a fixed time (or periods) after the signal starts. Remember that saying about nothing meing so simple when you look at it from close enough ? . I'm having a great deal of fun with rotary encoders (cheap ones) along these lines now. good luck, Peter -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu