comparison toolboxes/MIRtoolbox1.3.2/MIRToolbox/@mirmidi/display.m @ 0:e9a9cd732c1e tip

first hg version after svn
author wolffd
date Tue, 10 Feb 2015 15:05:51 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:e9a9cd732c1e
1 function display(m)
2 % MIRMIDI/DISPLAY display of MIDI representation
3
4 figure
5 disp(' ');
6 d = get(m,'Data');
7 n = get(m,'Name');
8 for i = 1:length(d)
9 pianoroll(d{i});
10 fig = get(0,'CurrentFigure');
11 va = inputname(1);
12 if isempty(va)
13 va = 'ans';
14 end
15 disp([va,' is the MIDI representation related to file ',n{i},...
16 ' is displayed in Figure ',num2str(fig),'.']);
17 end
18 disp(' ');