Analytical solution of a free-fermion chain with time-dependent ramps | Synapse