Frequency modulating a wav file?

Hi, i'm trying to frequency modulate an arbitary input wav file with a periodic wave. I was wondering how to do this because basic maths for frequency modulation depends on simple sine waves and i'm trying to modulate a non periodic complex waveform?
Any help would be greatly appreciated!

Antworten (3)

Siddharth Shankar
Siddharth Shankar am 31 Jan. 2011

0 Stimmen

If simulink is an option, the FM Modulator Passband will do the trick.
If you have the communications toolbox, you can use the FMMOD function.
You could also consider this file exchange submission.
This is assuming that you've already imported the WAV file into MATLAB. If not, use wavread to do this.

1 Kommentar

isra
isra am 8 Dez. 2016
what if the audio file's content was no periodic, is it possible to FM modulate it?

Melden Sie sich an, um zu kommentieren.

Vieniava
Vieniava am 31 Jan. 2011

0 Stimmen

when .wav is one-channel (not stereo):
[x fs]=wavread('NonPeriodic.wav');
Fc=1e6; % carrier = 1MHz
FS=2.2*Fc; % sampling frequency for output signal
deviation=75e3; % freq. deviation
smod=fmmod(x, Fc, FS, deviation);

1 Kommentar

isra
isra am 8 Dez. 2016
what if the audio file's content was no periodic, is it possible to FM modulate it?

Melden Sie sich an, um zu kommentieren.

jessica david
jessica david am 8 Mär. 2011

0 Stimmen

hi, do you know how to perform fsk on a .wav file

Produkte

Gefragt:

am 31 Jan. 2011

Kommentiert:

am 8 Dez. 2016

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by