Mercurial > hg > smallbox
diff examples/Automatic Music Transcription/SMALL_AMT_DL_test.m @ 161:f42aa8bcb82f ivand_dev
debug and clean the SMALLbox Problems code
author | Ivan Damnjanovic lnx <ivan.damnjanovic@eecs.qmul.ac.uk> |
---|---|
date | Wed, 31 Aug 2011 12:02:19 +0100 |
parents | 8e660fd14774 |
children | 9c418bea7f6a |
line wrap: on
line diff
--- a/examples/Automatic Music Transcription/SMALL_AMT_DL_test.m Mon Aug 22 11:46:35 2011 +0100 +++ b/examples/Automatic Music Transcription/SMALL_AMT_DL_test.m Wed Aug 31 12:02:19 2011 +0100 @@ -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