Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
pause off;
clear all; clc;
c = 345; % speed of sound in m/s
fs = 8000; % sampling rate
f0 = 440; % source frequency
A = 1; % source amplitude
T = 6; % total time in seconds
l = 100; % path length in meters
Vs = l/T; % speed of source - m/s
y = 0; %...
%}
pause off;
clear all; clc;
c = 345; % speed of sound in m/s
fs = 8000; % sampling rate
[x,fs] = wavread('001.wav');
X = fft(x);
f = -fs/2:fs;fs/2;
W = 2*pi*f;
T = 6; % total time in seconds
l = 100; % path length in meters
Vs = l/T; % speed of source -...
Hi,
I need to apply the Doppler effect to a music file, I invoke the music file by using the waveread command,
How do I proceed next (frequency spectrum, apparent frequency etc.)?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.