mxj Rwrapper - wraps input between two values
--> download Rwrapper.zip : includes java code & .class compile

For example Rwrapper is useful for determining the actual sounding frequency of a pitch above the nyquist point (sampling rate / 2)

max/msp example patch