comparison util/SMALL_playAudio.m @ 8:33850553b702

(none)
author idamnjanovic
date Mon, 22 Mar 2010 10:56:54 +0000
parents 7750624e0c73
children fc395272d53e
comparison
equal deleted inserted replaced
7:0151f1ea080d 8:33850553b702
2 % Ivan Damnjanovic 2009 2 % Ivan Damnjanovic 2009
3 % Function gets as input SMALL structure and play the original and 3 % Function gets as input SMALL structure and play the original and
4 % the reconstructed signal 4 % the reconstructed signal
5 5
6 6
7 SMALL.solver.reconstructed = SMALL.Problem.reconstruct(SMALL.solver.solution);
7 ch=''; 8 ch='';
8 while 1 9 while 1
9 request = input('\nWhat do you want to hear? \n 1. Original signal \n 2. Mixed \n 3. Reconstructed signal \n 4. Quit player\n','s'); 10 request = input('\nWhat do you want to hear? \n 1. Original signal \n 2. Mixed \n 3. Reconstructed signal \n 4. Quit player\n','s');
10 request = sscanf(request,'%d'); 11 request = sscanf(request,'%d');
11 switch request 12 switch request