Mercurial > hg > smallbox
diff util/SMALL_midiGenerate.m @ 24:fc395272d53e
(none)
author | idamnjanovic |
---|---|
date | Tue, 27 Apr 2010 13:33:00 +0000 |
parents | 33850553b702 |
children | 8e660fd14774 |
line wrap: on
line diff
--- a/util/SMALL_midiGenerate.m Tue Apr 27 13:32:46 2010 +0000 +++ b/util/SMALL_midiGenerate.m Tue Apr 27 13:33:00 2010 +0000 @@ -1,6 +1,14 @@ function reconstructed=SMALL_midiGenerate(V, Problem) %%% Reconstraction of midi file from representation in the given dictionary -% Ivan Damnjanovic 2009 +% +% Centre for Digital Music, Queen Mary, University of London. +% This file copyright 2009 Ivan Damnjanovic. +% +% This program is free software; you can redistribute it and/or +% modify it under the terms of the GNU General Public License as +% 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 @@ -9,7 +17,7 @@ % - reconstructed.notes - matrix with transcribed notes % - reconstructed.midi - midi representation of transcription - +%% U=Problem.A; % Dictionary used for representation fs=Problem.fs; % Sampling rate f=Problem.f; % vector of frequencies at wihch spectrogram is computed