LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

am modulator

Hi,

 

I'm trying to modulate a sound file with AM. My problem is that the sample rate of the song is low and I'm usign a real AM frequency carrier which has a pretty high frequency (I'm choosing one frequency between 540 KHz and 1600 KHz). 

 

The sample rate of my song is 44100. When I multiply the message and the carrier I get an error that says "Waveforms have different dt values" in the multiplication triangle. Of course it's because the ample rate is different between the message and the carrier but I actually need a much higher sample rate for the carrier (at least 1600K*2) and the song only has 44100.

 

Is there a possibility to sample the song at a rate that I would like? Would that affect the sound file?

 

Can somebody help me please?

 

Thank you very much in advanced.

0 Kudos
Message 1 of 3
(2,504 Views)

Look at Resample Waveform in the Signal Conditioning palette.

 

If your sampling rate is only slightly higher than the minimum required by Nyquist, you will also need an anti-aliasing filrer following the D/A converter to prevent the signal from containing excessive harmonics.

 

Lynn

0 Kudos
Message 2 of 3
(2,497 Views)

Thank you for answering.

 

I'm not able to do it. I still get the same error. In here, I'm posting my original VI. The error pops in the multiply box and it says "Waveforms have different dt values".AM modulator.png 

I tried usign a Scale delta t VI to get the same sample rate I'm usign in the sine but I still get the same error. Can somebody help me please?

AM resampling.png

 

Thanks in advanced.

0 Kudos
Message 3 of 3
(2,460 Views)