Made time domain work with multiple channels and different sample speeds