# How to add a frequency offset to a buffer of MPSK signal for simulation purposes?

I need to simulate some channel effect to a buffer of MPSK signal. How to add a frequency offset to a buffer of baseband MPSK signal?

$$y[n] = x[n]\cdot e^{j\pi \frac{f_{offset}}{F_s/2}n}$$
Where $$f_{offset} \in \left(-\dfrac{F_s}{2}, \dfrac{F_s}{2}\right)$$.