Frequency modulating a wav file?
조회 수: 10 (최근 30일)
이전 댓글 표시
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!
댓글 수: 0
답변 (3개)
Siddharth Shankar
2011년 1월 31일
This is assuming that you've already imported the WAV file into MATLAB. If not, use wavread to do this.
댓글 수: 1
isra
2016년 12월 8일
what if the audio file's content was no periodic, is it possible to FM modulate it?
Vieniava
2011년 1월 31일
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
isra
2016년 12월 8일
what if the audio file's content was no periodic, is it possible to FM modulate it?
참고 항목
카테고리
Help Center 및 File Exchange에서 Waveform Generation에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!