diff util/SMALL_midiGenerate.m @ 128:8e660fd14774 ivand_dev

Feature 186
author Ivan Damnjanovic lnx <ivan.damnjanovic@eecs.qmul.ac.uk>
date Mon, 13 Jun 2011 14:55:45 +0100
parents fc395272d53e
children b14209313ba4
line wrap: on
line diff
--- a/util/SMALL_midiGenerate.m	Wed May 25 15:30:34 2011 +0100
+++ b/util/SMALL_midiGenerate.m	Mon Jun 13 14:55:45 2011 +0100
@@ -1,5 +1,13 @@
 function reconstructed=SMALL_midiGenerate(V, Problem)
-%%% Reconstraction of midi file from representation in the given dictionary
+%% Reconstraction of midi file from representation in the given dictionary
+%   
+%   SMALL_midiGenerate is a part of SMALLbox and can be use to reconstruct
+%   a midi file given representation of the training set (V) in the
+%   dictionary Problem.A.
+%   Output is reconstructed structure with two fields:
+%   -   reconstructed.notes - matrix with transcribed notes
+%   -   reconstructed.midi - midi representation of transcription
+
 %
 %   Centre for Digital Music, Queen Mary, University of London.
 %   This file copyright 2009 Ivan Damnjanovic.
@@ -9,14 +17,6 @@
 %   published by the Free Software Foundation; either version 2 of the
 %   License, or (at your option) any later version.  See the file
 %   COPYING included with this distribution for more information.
-%   
-%   SMALL_midiGenerate is a part of SMALLbox and can be use to reconstruct
-%   a midi file given representation of the training set (V) in the
-%   dictionary Problem.A.
-%   Output is reconstructed structure with two fields:
-%   -   reconstructed.notes - matrix with transcribed notes
-%   -   reconstructed.midi - midi representation of transcription
-
 %%
 U=Problem.A;    %   Dictionary used for representation
 fs=Problem.fs;  %   Sampling rate