Instead, you should just zero out all samples below 35 grams. This way they do not affect the spectrum. (If you feel unsure about that, just consider the
DFT definition (Wikipedia). Zero samples
xn have no effect on the result, as if they were never even considered. As long as the nonzero samples indexes
n are unchanged, that is.)