Utilities for signal processing.