annotate editme_startup.m @ 0:e9a9cd732c1e tip

first hg version after svn
author wolffd
date Tue, 10 Feb 2015 15:05:51 +0000
parents
children
rev   line source
wolffd@0 1 % The CAMIR framework for music similarity experiments
wolffd@0 2 % Copyright (C) {2013} {Daniel Wolff} (wolffd.mail [at] gmail [dot] com)
wolffd@0 3 %
wolffd@0 4 % This program is free software: you can redistribute it and/or modify
wolffd@0 5 % it under the terms of the GNU General Public License as published by
wolffd@0 6 % the Free Software Foundation, either version 3 of the License, or
wolffd@0 7 % (at your option) any later version.
wolffd@0 8 %
wolffd@0 9 % This program is distributed in the hope that it will be useful,
wolffd@0 10 % but WITHOUT ANY WARRANTY; without even the implied warranty of
wolffd@0 11 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
wolffd@0 12 % GNU General Public License for more details.
wolffd@0 13 %
wolffd@0 14 % You should have received a copy of the GNU General Public License
wolffd@0 15 % along with this program. If not, see [http://www.gnu.org/licenses/].
wolffd@0 16 %
wolffd@0 17 % This software has been made possible by many other projects included
wolffd@0 18 % in the /toolboxes folder. Please consider their further licenses.
wolffd@0 19
wolffd@0 20 % ---
wolffd@0 21 % startup.m local
wolffd@0 22 % this is the place to set system-specific parameters and paths
wolffd@0 23 %
wolffd@0 24 % please run the scripts in the folder 'reproduce_AES53rd' for reproducing
wolffd@0 25 % experimental results of
wolffd@0 26 % Feature Preprocessing with RBMs for Music Similarity Learning
wolffd@0 27 % Son N. Tran, Daniel Wolff, Tillman Weyde, Artur Garcez, AES53rd conference
wolffd@0 28 % ---
wolffd@0 29
wolffd@0 30 global globalvars;
wolffd@0 31
wolffd@0 32 % ---
wolffd@0 33 % @TODO: PLEASE insert your absolute path to the folder containing this
wolffd@0 34 % script
wolffd@0 35 % ---
wolffd@0 36 my_path = pwd;%'C:\_danielwolff\_documents\coding\matlab\music_research_branches\ISMIR2013';
wolffd@0 37 % ---
wolffd@0 38 % Add Toolboxes
wolffd@0 39 % ---
wolffd@0 40 addpath(genpath(my_path));
wolffd@0 41
wolffd@0 42 addpath(genpath([my_path '/toolboxes/bioakustik_tools']))
wolffd@0 43 addpath(genpath([my_path '/toolboxes/graph_visualisation/graphViz4Matlab/util']))
wolffd@0 44
wolffd@0 45 addpath(pathsdiff(genpath([my_path]),...
wolffd@0 46 '.svn'));
wolffd@0 47
wolffd@0 48 % smv-light
wolffd@0 49 addtosystempath([my_path '/toolboxes/SVM-light']);
wolffd@0 50
wolffd@0 51 globalvars.camir.msd.basepath = '';
wolffd@0 52 globalvars.tstaudiopath = [my_path '/features'];
wolffd@0 53 globalvars.mfilepath = '';
wolffd@0 54 globalvars.tstoutputpath = [my_path '/features'];
wolffd@0 55 globalvars.systemslash = filesep;
wolffd@0 56
wolffd@0 57 try
wolffd@0 58 cd core
wolffd@0 59 catch
wolffd@0 60 end
wolffd@0 61
wolffd@0 62 startup_music_research;
wolffd@0 63
wolffd@0 64 try
wolffd@0 65 cd ..
wolffd@0 66 cd reproduce_AES53rd
wolffd@0 67 catch
wolffd@0 68 end