ac Josephson-like effect with linear-periodic current-phase relation