I am writing a script to frequency modulate the stereo audio signal, and later calculating the modulation index wrt time.
As we have to modulate the stereo audio signal, I have to first synthesize the composite signal of bandwidth 96KHz and modulate it with carrier frequency of 1MHz(assume here).
We define FM signal as,
$$ y(t) = A * sin \big(2\pi*\int_{-\infty}^t(f_o + k*m(\tau)) d\tau\big) $$
As per FCC rule, maximum frequency deviation should be 75KHz, here I have to keep k = 75000 and m(t) between -1 to 1.
I have a very big audio file, my script should fetch some samples from the file and modulate it, and repeat the above steps.
Here I am confused about the integration limits. Do I need to take integration from very start for each upcoming sample? If I see the hardware implementation for FM generation, VCO should have some sensitivity. What I understand it, as VCO output cant change abruptly, it will change the frequency as per the cumulative effect of its present and previous inputs of some input voltages. Therefore, In hardware any upcoming sample frequency will depends only on some past message signal samples. Am I right here?
If we see the instantaneous frequency of FM signal, from the above formula, it should be
$ f_i = f_o + k*m(t) $
It means that maximum frequency which could change is $k*max(|m(t)|)$, equal to 75KHz, but when we do frequency transform of FM signals, there are many sidelobs which is beyond 75Khz.
I am not able to think where my concepts are going wrong.
Thanks.