I am tryng to implement the following example. And i get an error. What could be the reason?
code:
audio = dsp.AudioFileReader('guitartune.wav','SamplesPerFrame',4410);
fmbMod = comm.FMBroadcastModulator('AudioSampleRate',audio.SampleRate, …
'SampleRate',240e3);
fmbDemod = comm.FMBroadcastDemodulator( …
'AudioSampleRate',audio.SampleRate, …
'SampleRate',240e3,'PlaySound',true);
Best Answer