Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
carterenyi committed Feb 26, 2019
1 parent 59ad389 commit b09bd24
Show file tree
Hide file tree
Showing 165 changed files with 1,026 additions and 552 deletions.
Binary file modified .DS_Store
Binary file not shown.
Binary file removed EMVizGUI/EMVizGUI.fig
Binary file not shown.
446 changes: 0 additions & 446 deletions EMVizGUI/EMVizGUI.m

This file was deleted.

Binary file removed EMVizGUIMac/AppInstaller.zip
Binary file not shown.
45 changes: 0 additions & 45 deletions EMVizGUIMac/test/MyAppInstaller_web.app/Contents/Info.plist

This file was deleted.

Binary file not shown.

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed EMVizGUIWindows/AppInstaller/MyAppInstaller_web.exe
Binary file not shown.
Binary file removed EMVizGUIWindows/SMT_EarlyMusic_EmVizHandout.pdf
Binary file not shown.
Binary file added EMVizMATLAB/.DS_Store
Binary file not shown.
File renamed without changes.
Binary file added EMVizMATLAB/EMVizGUI/EMVizGUI.fig
Binary file not shown.
69 changes: 33 additions & 36 deletions EMVizScripts/EMVizGUI.m → EMVizMATLAB/EMVizGUI/EMVizGUI.m
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@
% Begin initialization code - DO NOT EDIT
gui_Singleton = 1;
gui_State = struct('gui_Name', mfilename, ...
'gui_Singleton', gui_Singleton, ...
'gui_OpeningFcn', @EMVizGUI_OpeningFcn, ...
'gui_OutputFcn', @EMVizGUI_OutputFcn, ...
'gui_LayoutFcn', [] , ...
'gui_Callback', []);
'gui_Singleton', gui_Singleton, ...
'gui_OpeningFcn', @EMVizGUI_OpeningFcn, ...
'gui_OutputFcn', @EMVizGUI_OutputFcn, ...
'gui_LayoutFcn', [] , ...
'gui_Callback', []);
if nargin && ischar(varargin{1})
gui_State.gui_Callback = str2func(varargin{1});
end
Expand Down Expand Up @@ -75,7 +75,7 @@ function EMVizGUI_OpeningFcn(hObject, eventdata, handles, varargin)


% --- Outputs from this function are returned to the command line.
function varargout = EMVizGUI_OutputFcn(hObject, eventdata, handles)
function varargout = EMVizGUI_OutputFcn(hObject, eventdata, handles)
% varargout cell array for returning output args (see VARARGOUT);
% hObject handle to figure
% eventdata reserved - to be defined in a future version of MATLAB
Expand All @@ -100,7 +100,7 @@ function pushbutton1_Callback(hObject, eventdata, handles)
title=get(handles.edit2,'String');
type=get(handles.listbox3,'Value')
try
cmin=str2num(get(handles.edit3,'String'));
cmin=str2num(get(handles.edit3,'String'));
catch
cmin=5;
end
Expand All @@ -121,7 +121,7 @@ function pushbutton1_Callback(hObject, eventdata, handles)
handles.nmat=nmat;
set(handles.nmatFound,'Value',nmatFound);
handles.nmatFound=nmatFound;
guidata(hObject,handles);
guidata(hObject,handles);


%% "SELECT MIDI FILE"
Expand All @@ -142,13 +142,13 @@ function pushbutton2_Callback(hObject, eventdata, handles)
set(handles.edit1,'String','');
set(handles.edit2,'String','');
[filename, pathname] = uigetfile('*.mid');
set(handles.filename, 'String',filename);
handles.filename = filename
set(handles.pathname, 'String',pathname);
handles.pathname = pathname;
set(handles.text9, 'String',filename);
%handles.text9 = filename;
guidata(hObject,handles);
set(handles.filename, 'String',filename);
handles.filename = filename
set(handles.pathname, 'String',pathname);
handles.pathname = pathname;
set(handles.text9, 'String',filename);
%handles.text9 = filename;
guidata(hObject,handles);


% --- Executes on selection change in listbox1.
Expand Down Expand Up @@ -194,9 +194,9 @@ function replot_Callback(hObject, eventdata, handles)
stringSelect
stringNumbers
if isempty(stringNumbers)==1
r=arcPlot(r,nmat,nmatFound,title,0);
r=arcPlot(r,nmat,nmatFound,title,0);
else
r=arcPlot(r,nmat,nmatFound,title,0,stringNumbers,stringSelect);
r=arcPlot(r,nmat,nmatFound,title,0,stringNumbers,stringSelect);
end
handles.stringSelect=[];
handles.stringNumbers=[];
Expand Down Expand Up @@ -240,37 +240,37 @@ function pushbutton4_Callback(hObject, eventdata, handles)
stringNumbers(end+1)=temp;
temp2=get(handles.edit1,'String')
if iscell(temp2)==1
stringName=temp2{1};
stringName=temp2{1};
else
stringName=temp2;
end
set(handles.edit1,'String','');
try
stringSelect{1}
stringSelect{1}
catch
stringSelect
end
stringName
try
if strcmp(stringSelect{1},'initialize')==1
if strcmp(stringName,'')==1
stringSelect{1}=strcat('String ',num2str(temp));
stringSelect{1}=strcat('String ',num2str(temp));
else
stringSelect{1}=stringName;
stringSelect{1}=stringName;
end
elseif strcmp(stringName,'')==1

stringSelect{end+1}=strcat('String ',num2str(temp));
else
stringSelect{end+1}=stringName;

stringSelect{end+1}=stringName;
end
catch
if strcmp(stringName,'')==1
if strcmp(stringName,'')==1
stringSelect{end+1}=strcat('String ',num2str(temp));
else
stringSelect{end+1}=stringName;
end
else
stringSelect{end+1}=stringName;
end
end
handles.stringSelect=[];
handles.stringNumbers=[];
Expand Down Expand Up @@ -324,11 +324,11 @@ function plotString_Callback(hObject, eventdata, handles)
for i=1:card
pitches(i)=nmatFound(ind+i-1,4)
onsets(i)=nmatFound(ind+i-1,1)
plot([nmatFound(ind+i-1,1)-timeAdj,nmatFound(ind+i-1,1)+nmatFound(ind+i-1,2)-timeAdj],...
[nmatFound(ind+i-1,4),nmatFound(ind+i-1,4)],'Color','k','LineWidth', 10);
% if i>10
% break
% end
plot([nmatFound(ind+i-1,1)-timeAdj,nmatFound(ind+i-1,1)+nmatFound(ind+i-1,2)-timeAdj],...
[nmatFound(ind+i-1,4),nmatFound(ind+i-1,4)],'Color','k','LineWidth', 10);
% if i>10
% break
% end
end
ylim([min(pitches)-3 max(pitches)+3]);
xlim([onsets(1)-1-timeAdj onsets(end)+2-timeAdj]);
Expand Down Expand Up @@ -385,8 +385,6 @@ function listbox3_CreateFcn(hObject, eventdata, handles)
set(hObject,'BackgroundColor','white');
end



function edit3_Callback(hObject, eventdata, handles)
% hObject handle to edit3 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
Expand All @@ -408,7 +406,6 @@ function edit3_CreateFcn(hObject, eventdata, handles)
set(hObject,'BackgroundColor','white');
end


% --- Executes on button press in pushbutton6.
function pushbutton6_Callback(hObject, eventdata, handles)
% hObject handle to pushbutton6 (see GCBO)
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion EMVizScripts/dur.m → EMVizMATLAB/EMVizScripts/dur.m
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
%
% Date Time Prog Note
% 4.6.2002 18:36 TE Created under MATLAB 5.3 (Mac)
% Part of the MIDI Toolbox, Copyright 2004, University of Jyvaskyla, Finland
%© Part of the MIDI Toolbox, Copyright © 2004, University of Jyvaskyla, Finland
% See License.txt

if isempty(nmat), d = []; return; end
Expand Down
2 changes: 1 addition & 1 deletion EMVizScripts/midi2hz.m → EMVizMATLAB/EMVizScripts/midi2hz.m
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
%
% Author Date
% T. Eerola 1.2.2003
% Part of the MIDI Toolbox, Copyright 2004, University of Jyvaskyla, Finland
%© Part of the MIDI Toolbox, Copyright © 2004, University of Jyvaskyla, Finland
% See License.txt

if isempty(m), return; end
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion EMVizScripts/nmat2snd.m → EMVizMATLAB/EMVizScripts/nmat2snd.m
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
% semitones lower than desired. To fix, transpose input up by 3 semitones
% (3 midi notes) to get correct pitch with better envelope.
% 2.5.2005 9:30 TE Almost a total revision if the shepard function
% Part of the MIDI Toolbox, Copyright 2004, University of Jyvaskyla, Finland
%© Part of the MIDI Toolbox, Copyright © 2004, University of Jyvaskyla, Finland
% See License.txt

if isempty(nmat), return; end
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion EMVizScripts/onset.m → EMVizMATLAB/EMVizScripts/onset.m
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
%
% Date Time Prog Note
% 4.6.2002 18:36 TE Created under MATLAB 5.3 (Mac)
% Part of the MIDI Toolbox, Copyright 2004, University of Jyvaskyla, Finland
%© Part of the MIDI Toolbox, Copyright © 2004, University of Jyvaskyla, Finland
% See License.txt

if isempty(nmat), ob = []; return; end
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion EMVizScripts/velocity.m → EMVizMATLAB/EMVizScripts/velocity.m
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
%
% Date Time Prog Note
% 4.6.2002 18:36 TE Created under MATLAB 5.3 (Mac)
% Part of the MIDI Toolbox, Copyright 2004, University of Jyvaskyla, Finland
%© Part of the MIDI Toolbox, Copyright © 2004, University of Jyvaskyla, Finland
% See License.txt

if isempty(nmat), return; end
Expand Down
Binary file removed EMVizScripts/EMVizGUI.fig
Binary file not shown.
Binary file added EMVizWindows/.DS_Store
Binary file not shown.
Binary file added EMVizWindows/AppInstaller/MyAppInstaller_web.exe
Binary file not shown.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
Binary file renamed EMVizGUIMac/.DS_Store → doc/.DS_Store
Binary file not shown.
Loading

0 comments on commit b09bd24

Please sign in to comment.