SMS: Signal processing with lapped transforms