MIX.m
Go to the documentation of this file.
1 function [w] = MIX(x,y)
2 size(x)
3 size(y)
4 if(length(x) > length(y))
5  x = x(1:length(y));
6 else
7  y = y(1:length(x));
9 w=2.5*x+y;
10 
11 size(w)
12 
13 if max(w)>1
14  w=0.9*w/max(w);
15 end
16 
17 
18 
if max(w)>1 w=0.9 *w/max(w)
initialize output if(nPeaks >3)%at least 3 peaks in spectrum for trying to find f0 nf0peaks
Discrete Time axis x
else[Y, I2]
size(w) if max(w)>1 w=0.9 *w/max(w)
w
Definition: MIX.m:9
end
Definition: MIX.m:8
else y
Definition: MIX.m:7
const char int length
Definition: avisynth_c.h:668