diff util/SMALL_midiGenerate.m @ 129:5a6cef81227e

Merge from branch "ivand_dev"
author Ivan Damnjanovic lnx <ivan.damnjanovic@eecs.qmul.ac.uk>
date Mon, 13 Jun 2011 14:58:00 +0100
parents 8e660fd14774
children b14209313ba4
line wrap: on
line diff
--- a/util/SMALL_midiGenerate.m	Wed May 25 15:34:37 2011 +0100
+++ b/util/SMALL_midiGenerate.m	Mon Jun 13 14:58:00 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