comparison core/startup_music_research.m @ 0:e9a9cd732c1e tip

first hg version after svn
author wolffd
date Tue, 10 Feb 2015 15:05:51 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:e9a9cd732c1e
1 % ---
2 % startup.m
3 % this shall become the general camir startup
4 % ---
5
6 % global globalvars;
7
8 % use this revision numbers for figures etc!
9 % globalvars.camir.revision = str2double(substr('$Rev$', 5, -1));
10 % rev = textscan(evalc('!svnversion'),'%d%s');
11 % globalvars.camir.revision = double(rev{1});
12
13 globalvars.camir.path = pwd;
14 globalvars.camir.revision = camirversion;
15
16 clear rev
17 globalvars.debug = 0;
18
19 % ---
20 % load MTT database
21 % ---
22 global comparison;
23 global comparison_ids;
24 load ('db.mat', 'comparison','comparison_ids','comparison_names');
25
26
27 % ---
28 % load MSD database
29 % ---
30 global MillionSong MSDsubset
31 MillionSong = globalvars.camir.msd.basepath;
32 MSDsubset='subset_'; % or '' for full set
33
34 globalvars.camir.msd.data_path= [MillionSong,'/data'];
35 globalvars.camir.msd.addf_path= [MillionSong,'/AdditionalFiles'];
36 globalvars.camir.msd.addf_prefix= [globalvars.camir.msd.addf_path,'/',MSDsubset];
37 % Check that we can actually read the dataset
38
39
40 warning off MATLAB:class:cannotUpdateClass
41
42 % initialize clip and feature databases
43
44 global db_MTTClip;
45 db_MTTClip = MTTClipDB();
46
47 %global db_MSDClip;
48 %db_MSDClip = MSDClipDB();
49
50 % global db_CASIMIRClip;
51 % db_CASIMIRClip = CASIMIRClipDB();
52
53 global db_magnaaudiofeat;
54 db_magnaaudiofeat = MTTAudioFeatureDBgen('MTTAudioFeatureRAW');
55
56 global db_magnaaudiofeat_basicsm;
57 db_magnaaudiofeat_basicsm = MTTAudioFeatureDBgen('MTTAudioFeatureBasicSm');
58
59 global db_magnatagfeat_genrebasic;
60 db_magnatagfeat_genrebasic = MTTAudioFeatureDBgen('MTTTagFeatureGenreBasic');
61
62 global db_magnamixedfeat_genrebasicsm;
63 db_magnamixedfeat_genrebasicsm = MTTAudioFeatureDBgen('MTTMixedFeatureGenreBasicSm');
64
65 global db_MTTMixedFeatureGenreBasicSmPCA;
66 db_MTTMixedFeatureGenreBasicSmPCA = MTTAudioFeatureDBgen('MTTMixedFeatureGenreBasicSmPCA');
67
68 global db_MTTAudioFeatureSlaney08;
69 db_MTTAudioFeatureSlaney08 = MTTAudioFeatureDBgen('MTTAudioFeatureSlaney08');
70
71 global db_MTTMixedFeatureSlaney08GenreBasicSm;
72 db_MTTMixedFeatureSlaney08GenreBasicSm = MTTAudioFeatureDBgen('MTTMixedFeatureSlaney08GenreBasicSm');
73
74 global db_MTTMixedFeatureSlaney08GenreBasicSmPCA;
75 db_MTTMixedFeatureSlaney08GenreBasicSmPCA = MTTAudioFeatureDBgen('MTTMixedFeatureSlaney08GenreBasicSmPCA');
76
77 global db_MTTMixedFeatureGenreRandom;
78 db_MTTMixedFeatureGenreRandom = MTTAudioFeatureDBgen('MTTMixedFeatureGenreRandom');
79
80 global db_MTTMixedFeatureStober11Genre;
81 db_MTTMixedFeatureStober11Genre = MTTAudioFeatureDBgen('MTTMixedFeatureStober11Genre');
82
83 global db_MTTMixedFeatureStober11Slaney08GenreBasicSm;
84 db_MTTMixedFeatureStober11Slaney08GenreBasicSm = MTTAudioFeatureDBgen('MTTMixedFeatureStober11Slaney08GenreBasicSm');
85
86 global db_MTTMixedFeatureSon;
87 db_MTTMixedFeatureSon = MTTAudioFeatureDBgen('MTTMixedFeatureSon');
88
89 global db_AudioFeatureRAW;
90 db_AudioFeature = MTTAudioFeatureDBgen('AudioFeatureRAW');
91
92 %global db_MSDAudioFeatureRAW;
93 %db_MSDAudioFeatureRAW = MTTAudioFeatureDBgen('MSDAudioFeatureRAW');
94
95 global db_MTTMixedFeatureSonRBM;
96 db_MTTMixedFeatureSonRBM = MTTAudioFeatureDBgen('MTTMixedFeatureSonRBM');