Mercurial > hg > camir-aes2014
diff editme_startup.m @ 0:e9a9cd732c1e tip
first hg version after svn
author | wolffd |
---|---|
date | Tue, 10 Feb 2015 15:05:51 +0000 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/editme_startup.m Tue Feb 10 15:05:51 2015 +0000 @@ -0,0 +1,68 @@ +% The CAMIR framework for music similarity experiments +% Copyright (C) {2013} {Daniel Wolff} (wolffd.mail [at] gmail [dot] com) +% +% This program is free software: you can redistribute it and/or modify +% it under the terms of the GNU General Public License as published by +% the Free Software Foundation, either version 3 of the License, or +% (at your option) any later version. +% +% This program is distributed in the hope that it will be useful, +% but WITHOUT ANY WARRANTY; without even the implied warranty of +% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +% GNU General Public License for more details. +% +% You should have received a copy of the GNU General Public License +% along with this program. If not, see [http://www.gnu.org/licenses/]. +% +% This software has been made possible by many other projects included +% in the /toolboxes folder. Please consider their further licenses. + +% --- +% startup.m local +% this is the place to set system-specific parameters and paths +% +% please run the scripts in the folder 'reproduce_AES53rd' for reproducing +% experimental results of +% Feature Preprocessing with RBMs for Music Similarity Learning +% Son N. Tran, Daniel Wolff, Tillman Weyde, Artur Garcez, AES53rd conference +% --- + +global globalvars; + +% --- +% @TODO: PLEASE insert your absolute path to the folder containing this +% script +% --- + my_path = pwd;%'C:\_danielwolff\_documents\coding\matlab\music_research_branches\ISMIR2013'; +% --- +% Add Toolboxes +% --- +addpath(genpath(my_path)); + +addpath(genpath([my_path '/toolboxes/bioakustik_tools'])) +addpath(genpath([my_path '/toolboxes/graph_visualisation/graphViz4Matlab/util'])) + +addpath(pathsdiff(genpath([my_path]),... + '.svn')); + +% smv-light +addtosystempath([my_path '/toolboxes/SVM-light']); + +globalvars.camir.msd.basepath = ''; +globalvars.tstaudiopath = [my_path '/features']; +globalvars.mfilepath = ''; +globalvars.tstoutputpath = [my_path '/features']; +globalvars.systemslash = filesep; + +try + cd core +catch +end + +startup_music_research; + +try + cd .. + cd reproduce_AES53rd +catch +end