Mercurial > hg > camir-aes2014
diff core/magnatagatune/play_comparison.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/core/magnatagatune/play_comparison.m Tue Feb 10 15:05:51 2015 +0000 @@ -0,0 +1,23 @@ +function out = generic_play_comparison(index, compari, compari_ids, cliptype); +% out = play_comparison(index, comparison, comparison_ids, cliptype); + +if nargin < 2 + global comparison; + compari = comparison; + + global comparison_ids; + compari_ids = comparison_ids; +end + +if nargin < 4 + cliptype = 'MTTClip'; +end + +for i = 1:length(index) + + fprintf('\n \n-- comparison nr.%d ---\n', index(i)); + fprintf(' result: %d - %d - %d', compari(index(i),4:6)); + + tmpclips = feval(cliptype,compari_ids(compari(index(i),1:3))); + tmpclips.skip(); +end \ No newline at end of file