Applying my own filter using torchaudio on 1D signal

I have a 1 D signal of size (151pts) sample at every 4ms => 250Hz. I want to use torch audio to apply my own filter . lets say a filter that is going from 0 to 1 (from 10Hz to 20Hz) then 1 from 20Hz to 50Hz, then 1 to 0 from 50Hz to 60Hz and then 0 for >60Hz.
How can I do this signal filtering by taking my signal, moving it to frequency domain, multiply the filter and then go back to time domain