image thumbnail

Three Tube Vocal Tract

by

 

29 Jan 2014 (Updated )

This exercise computes the frequency response of a three-tube model of a human vocal tract.

Three_Tube_VT_gui25
function Three_Tube_VT_gui25
% Modifiable runGUI file
clc;
clear all;
fileName = 'Three_Tube_VT.mat';    %USER - ENTER FILENAME
fileData=load(fileName);
temp=fileData(1).temp;

f = figure('Visible','on',...
'Units','normalized',...
'Position',[0,0,1,1],...
'MenuBar','none',...
'NumberTitle','off');

Callbacks_Three_Tube_VT_GUI25(f,temp);    %USER - ENTER PROPER CALLBACK FILE
%panelAndButtonEdit(f, temp);       % Easy access to Edit Mode

% Note comment PanelandBUttonCallbacks(f,temp) if panelAndButtonEdit is to
% be uncommented and used
end

% Three_Tube_VT_Rev1_gui25 design
% 2 Panels
%   #1 - input parameters
%   #2 - graphics displays
% 2 Graphic Panels
%   #1 - VT Frequency Response
%   #2 - VT shape
% 1 TitleBox
% 14 Buttons
%   #1 - editable button - rG
%   #2 - editable button - rL
%   #3 - slider button - rG range from -1 to +1
%   #4 - slider button - rL range from -1 to _1
%   #5 - editable button - l1, length of tube 1
%   #6 - editable button - l2, length of tube 2
%   #7 - editable button - l3, length of tube 3
%   #8 - editable button - A1, area of tube 1
%   #9 - editable button - A2, area of tube 2
%   #10 - editable button - A3, area of tube 3
%   #11 - editable button - output_file
%   #12 - pushbutton - Begin new run
%   #13 - pushbutton - Append results to current run
%   #14 - pushbutton - Close GUI

Contact us