Double alternating rectification and filtering