这是我到目前为止的代码,我被困在 F 部分
% Project 1
% Part B
[S1,Fs1,bits] = wavread('F1');
[S3,Fs3,bits3] = wavread('F3');
[S6,Fs6,bits6] = wavread('F6');
S12=downsample(S1,2);
S32=downsample(S3,2);
S62=downsample(S6,2);
% Part D
%F1
L1=length(S1); %Number of samples
F1=Fs1 ; %Sampling Frequency
E1 =sum((S1).^2); %Energy
P1=E1/L1; %Power
%S12
L12=length(S12); %Number of samples
F12=Fs1 ; %Sampling Frequency
E12 =sum((S12).^2); %Energy
P12=E12/L12 ; %Power
%F6
L6=length(S6) ; %Number of samples
F6=Fs6 ; %Sampling Frequency
E6 =sum((S6).^2) ; %Energy
P6=E6/L6 ; %Power
%S62
L62=length(S62); %Number of samples
F62=Fs6; %Sampling Frequency
E62 =sum((S62).^2); %Energy
P62=E62/L62; %Power
% L1 = 93648
% F1 = 22050
% E1 = 1.3476e+03
% P1 = 0.0144
% L12 = 46824
% F12 = 22050
% E12 = 673.5918
% P12 = 0.0144
% L6 = 5934
% F6 = 22050
% E6 = 34.8697
% P6 = 0.0059
% L62 = 2967
% F62 = 22050
% E62 = 17.4075
% P62 = 0.0059
% Part E
S14=downsample(S1,4);
% Part F
[S2,Fs2,bits2] = wavread('F2');
[S4,Fs4,bits4] = wavread('F4');
[S5,Fs5,bits5] = wavread('F5');
[S7,Fs7,bits7] = wavread('F7');
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
我想添加剪辑 S2、S6、S4、S5、S3、S7、S7。
我应该使用什么功能?我一直在寻找一段时间没有运气。
这是这部分代码给我带来的问题:
如何生成一个新信号(F8),其中包含“remember”一词,然后是 0.2 秒的沉默,然后是“you will be with force, always, always”</p>