Generation of synchronized pulse trains