Mercurial > hg > smallbox
comparison util/SMALL_playAudio.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 |
comparison
equal
deleted
inserted
replaced
127:6f78b069e541 | 129:5a6cef81227e |
---|---|
1 function SMALL_playAudio(SMALL) | 1 function SMALL_playAudio(SMALL) |
2 %%% | 2 %% Plays reconstructed and original signals |
3 % Function gets as input SMALL structure and play the original and | |
4 % the reconstructed signal | |
5 | |
3 % | 6 % |
4 % Centre for Digital Music, Queen Mary, University of London. | 7 % Centre for Digital Music, Queen Mary, University of London. |
5 % This file copyright 2009 Ivan Damnjanovic. | 8 % This file copyright 2009 Ivan Damnjanovic. |
6 % | 9 % |
7 % This program is free software; you can redistribute it and/or | 10 % This program is free software; you can redistribute it and/or |
8 % modify it under the terms of the GNU General Public License as | 11 % modify it under the terms of the GNU General Public License as |
9 % published by the Free Software Foundation; either version 2 of the | 12 % published by the Free Software Foundation; either version 2 of the |
10 % License, or (at your option) any later version. See the file | 13 % License, or (at your option) any later version. See the file |
11 % COPYING included with this distribution for more information. | 14 % COPYING included with this distribution for more information. |
12 % | 15 %% |
13 % Function gets as input SMALL structure and play the original and | 16 |
14 % the reconstructed signal | |
15 | 17 |
16 | 18 |
17 SMALL.solver.reconstructed = SMALL.Problem.reconstruct(SMALL.solver.solution); | 19 SMALL.solver.reconstructed = SMALL.Problem.reconstruct(SMALL.solver.solution); |
18 ch=''; | 20 ch=''; |
19 while 1 | 21 while 1 |