comparison Code/Descriptors/Matlab/MPEG7/FromWeb/VoiceSauce/VoiceSauce.m @ 4:92ca03a8fa99 tip

Update to ICASSP 2013 benchmark
author Dawn Black
date Wed, 13 Feb 2013 11:02:39 +0000
parents
children
comparison
equal deleted inserted replaced
3:e1cfa7765647 4:92ca03a8fa99
1 function varargout = VoiceSauce(varargin)
2 % VOICESAUCE M-file for VoiceSauce.fig
3 % VOICESAUCE, by itself, creates a new VOICESAUCE or raises the existing
4 % singleton*.
5 %
6 % H = VOICESAUCE returns the handle to a new VOICESAUCE or the handle to
7 % the existing singleton*.
8 %
9 % VOICESAUCE('CALLBACK',hObject,eventData,handles,...) calls the local
10 % function named CALLBACK in VOICESAUCE.M with the given input arguments.
11 %
12 % VOICESAUCE('Property','Value',...) creates a new VOICESAUCE or raises the
13 % existing singleton*. Starting from the left, property value pairs are
14 % applied to the GUI before VoiceSauce_OpeningFcn gets called. An
15 % unrecognized property name or invalid value makes property application
16 % stop. All inputs are passed to VoiceSauce_OpeningFcn via varargin.
17 %
18 % *See GUI Options on GUIDE's Tools menu. Choose "GUI allows only one
19 % instance to run (singleton)".
20 %
21 % See also: GUIDE, GUIDATA, GUIHANDLES
22
23 % Edit the above text to modify the response to help VoiceSauce
24
25 % Last Modified by GUIDE v2.5 10-Nov-2009 15:23:03
26
27 % Begin initialization code - DO NOT EDIT
28 gui_Singleton = 1;
29 gui_State = struct('gui_Name', mfilename, ...
30 'gui_Singleton', gui_Singleton, ...
31 'gui_OpeningFcn', @VoiceSauce_OpeningFcn, ...
32 'gui_OutputFcn', @VoiceSauce_OutputFcn, ...
33 'gui_LayoutFcn', [] , ...
34 'gui_Callback', []);
35 if nargin && ischar(varargin{1})
36 gui_State.gui_Callback = str2func(varargin{1});
37 end
38
39 if nargout
40 [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
41 else
42 gui_mainfcn(gui_State, varargin{:});
43 end
44 % End initialization code - DO NOT EDIT
45
46
47 % --- Executes just before VoiceSauce is made visible.
48 function VoiceSauce_OpeningFcn(hObject, eventdata, handles, varargin)
49 % This function has no output args, see OutputFcn.
50 % hObject handle to figure
51 % eventdata reserved - to be defined in a future version of MATLAB
52 % handles structure with handles and user data (see GUIDATA)
53 % varargin command line arguments to VoiceSauce (see VARARGIN)
54
55 % Choose default command line output for VoiceSauce
56 handles.output = hObject;
57
58 % YS: add initialization variables here
59 if (~isfield(handles, 'vars'))
60 vars = vs_Initialize();
61 handles.vars = vars;
62 end
63
64 % Update handles structure
65 guidata(hObject, handles);
66
67 % UIWAIT makes VoiceSauce wait for user response (see UIRESUME)
68 % uiwait(handles.figure_VoiceSauce);
69
70
71 % --- Outputs from this function are returned to the command line.
72 function varargout = VoiceSauce_OutputFcn(hObject, eventdata, handles)
73 % varargout cell array for returning output args (see VARARGOUT);
74 % hObject handle to figure
75 % eventdata reserved - to be defined in a future version of MATLAB
76 % handles structure with handles and user data (see GUIDATA)
77
78 % Get default command line output from handles structure
79 varargout{1} = handles.output;
80
81
82 % --- Executes on button press in button_ParameterEstimation.
83 function button_ParameterEstimation_Callback(hObject, eventdata, handles)
84 % hObject handle to button_ParameterEstimation (see GCBO)
85 % eventdata reserved - to be defined in a future version of MATLAB
86 % handles structure with handles and user data (see GUIDATA)
87
88 vs_ParameterEstimation();
89
90
91
92 % --- Executes on button press in pushbutton_OutputtoText.
93 function pushbutton_OutputtoText_Callback(hObject, eventdata, handles)
94 % hObject handle to pushbutton_OutputtoText (see GCBO)
95 % eventdata reserved - to be defined in a future version of MATLAB
96 % handles structure with handles and user data (see GUIDATA)
97
98 vs_OutputToText();
99
100 % --- Executes on button press in pushbutton_OutputtoEMU.
101 function pushbutton_OutputtoEMU_Callback(hObject, eventdata, handles)
102 % hObject handle to pushbutton_OutputtoEMU (see GCBO)
103 % eventdata reserved - to be defined in a future version of MATLAB
104 % handles structure with handles and user data (see GUIDATA)
105
106 % Hint: get(hObject,'Value') returns toggle state of pushbutton_OutputtoEMU
107 vs_OutputToEMU();
108
109 % --- Executes on button press in pushbutton_ParameterDisplay.
110 function pushbutton_ParameterDisplay_Callback(hObject, eventdata, handles)
111 % hObject handle to pushbutton_ParameterDisplay (see GCBO)
112 % eventdata reserved - to be defined in a future version of MATLAB
113 % handles structure with handles and user data (see GUIDATA)
114
115 % Hint: get(hObject,'Value') returns toggle state of pushbutton_ParameterDisplay
116 vs_ParameterDisplay();
117
118 % --- Executes on button press in pushbutton_Settings.
119 function pushbutton_Settings_Callback(hObject, eventdata, handles)
120 % hObject handle to pushbutton_Settings (see GCBO)
121 % eventdata reserved - to be defined in a future version of MATLAB
122 % handles structure with handles and user data (see GUIDATA)
123
124 vs_Settings();
125
126 % --- Executes on button press in pushbutton_Exit.
127 function pushbutton_Exit_Callback(hObject, eventdata, handles)
128 % hObject handle to pushbutton_Exit (see GCBO)
129 % eventdata reserved - to be defined in a future version of MATLAB
130 % handles structure with handles and user data (see GUIDATA)
131
132 delete(get(0, 'Children'));
133
134 % --- Executes on button press in pushbutton_ManualData.
135 function pushbutton_ManualData_Callback(hObject, eventdata, handles)
136 % hObject handle to pushbutton_ManualData (see GCBO)
137 % eventdata reserved - to be defined in a future version of MATLAB
138 % handles structure with handles and user data (see GUIDATA)
139
140 vs_ManualData();
141
142 % --- Executes on button press in pushbutton_About.
143 function pushbutton_About_Callback(hObject, eventdata, handles)
144 % hObject handle to pushbutton_About (see GCBO)
145 % eventdata reserved - to be defined in a future version of MATLAB
146 % handles structure with handles and user data (see GUIDATA)
147 vs_About();
148
149
150 % --- Executes when user attempts to close figure_VoiceSauce.
151 function figure_VoiceSauce_CloseRequestFcn(hObject, eventdata, handles)
152 % hObject handle to figure_VoiceSauce (see GCBO)
153 % eventdata reserved - to be defined in a future version of MATLAB
154 % handles structure with handles and user data (see GUIDATA)
155
156 % Hint: delete(hObject) closes the figure
157 delete(get(0, 'Children'));
158
159