have sample at tuning X - how to use tuning X to create new sample

Hi, I’m hoping to somehow use tuning X of sample to create a sinewave that is tuned to that exact tune.

so let’s say i have a pad that is “in tune” of the whole track (i’m doing a remix), and i would like to create a sinewave that is in that exact tune, how would i go about doing it?

edit: alternatively, is there some way of filtering a pad with the Process command in the Sample Editor so that it will only retain it’s low end… without having to muck around with the dsp chain on a track and record the sample played through a lowpassfilter or somesuch.

maybe using your lua skills you can hack this one to work as you want?