for filtering samples, try this:  run an [env~] detector from the sample player output, and smooth it with a [line].  then use that to modulate some parameter of your filter, such as the resonance or frequency.