Add basic time-frequency processing functions

This PR adds some basic signal processing functions.