-
Notifications
You must be signed in to change notification settings - Fork 35
/
Copy pathcommand.m
47 lines (45 loc) · 1.71 KB
/
command.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
clc;clear;
close all;
Angle = [90,180]; %Angle,Options:90,135,180,270 plus:0,45,225,315
if(exist('SetupStruc','var'))
[s,sOri,Unmix_s,~] = readData(Angle,ISM_setup);
else
[s,sOri,Unmix_s,SetupStruc] = readData(Angle,ISM_setup); % 's' is the muli-channel mixture signal,size:Length*7,
end % 'sOri' is the each single singal of the 1st channel corresponding to the angle,size:Length*N
method = {'DSB' 1;
'DSB_Mask' 0;
'MVDR' 0;
'MVDR_ESB' 0;
'MVDR_AESB' 0;
'MVDR_PCA' 0;
'MVDR_Search' 0;
'MVDR_AESB_Search' 0;
'LCMV' 0;
'LCMV_ESB' 0;
'LCMV_AESB' 0;
'LCMV_Search' 0;
'ICA_funda' 0;
'ICA_initial' 0;
'ICA_Sawada' 0;
'FastICA_HO_Sawada' 0;
'IVA' 0;
'IVA_woDR' 0;
'AuxIVA' 0;
'OverIVA' 0;
'OverILRMA' 0;
'ILRMA_woDR' 0;
'ILRMA' 0;
'ILRMA_PF' 0;
'FastMNMF1' 0;
'FastMNMF2' 0;
'FastFCA_AS' 0; %%%% remaining to be written
'maxSNR' 0;
%%%%%%% Dereverberation
'WPE' 0;
%%%%%%% Compound method
'cGMM_maxSNR' 0;
'ALL' 0
};
SetupStruc.unS = Unmix_s;
[Re,SetupStruc] = Process(method,s,SetupStruc);
[Me] = Cal_metrics(Re,Unmix_s,sOri,SetupStruc);