diff examples/Automatic Music Transcription/SMALL_AMT_DL_test.m @ 178:4ea4badb2266 danieleb

added ramirez dl (to be completed) and MOCOD dictionary update
author Daniele Barchiesi <daniele.barchiesi@eecs.qmul.ac.uk>
date Thu, 17 Nov 2011 11:22:17 +0000
parents f42aa8bcb82f
children 9c418bea7f6a
line wrap: on
line diff
--- a/examples/Automatic Music Transcription/SMALL_AMT_DL_test.m	Thu Nov 17 11:18:25 2011 +0000
+++ b/examples/Automatic Music Transcription/SMALL_AMT_DL_test.m	Thu Nov 17 11:22:17 2011 +0000
@@ -31,7 +31,7 @@
 %   Defining Automatic Transcription of Piano tune as Dictionary Learning
 %   Problem
 
-SMALL.Problem = generateAMT_Learning_Problem();
+SMALL.Problem = generateAMTProblem();
 
 %%
 %   Use KSVD Dictionary Learning Algorithm to Learn 88 notes (defined in
@@ -67,7 +67,7 @@
 %   solver structures)
 
 SMALL.Problem.A = SMALL.DL(1).D;
-SMALL.Problem.reconstruct = @(x) SMALL_midiGenerate(x, SMALL.Problem);
+SMALL.Problem.reconstruct = @(x) AMT_reconstruct(x, SMALL.Problem);
 
 %%
 %   Initialising solver structure
@@ -151,7 +151,7 @@
 %   solver structures)
 
 SMALL.Problem.A = SMALL.DL(2).D;
-SMALL.Problem.reconstruct=@(x) SMALL_midiGenerate(x, SMALL.Problem);
+SMALL.Problem.reconstruct=@(x) AMT_reconstruct(x, SMALL.Problem);
 
 %%
 %   Initialising solver structure