I need to apply a phase ramp in the frequency domain to a signal in order to apply a delay to it in the time/digital domain. However, I am confused by the fact that if I convert the phase ramp into delay I get a different delay per frequency, which sounds weird. Maybe I am mixing the concepts of phase delay and group delay. Instead, if I compute the group delay then I get only a single delay.
If I convert the phase (of the phase ramp) at each frequency to delay this way:
$\tau_i=\frac{\phi_i}{2\pi f_i}$
I get a different delay per frequency. So only in particular conditions (when the phase ramp has a slope $2\pi\tau $ the phase ramp could be converted to a constant delay per frequency
Computing the group delay instead would be:
$\tau_D=\frac{\Delta\phi}{2\pi\Delta f}$
And I would get a single delay value, which by the way it's totally different to the delay computed earlier. So in the end I don't know by how much should I delay in time really.