Arrangements for reducing harmonics or ripples