function ceplift_gui()

fig=createmadfig('ceplift'); 
fig=createmadloadmenu(fig);
fig=createmadmenus(fig);

ud=get(fig,'UserData');
axesWidth=0.45;
axesHeight=0.4;  
   

% spectrogram
ud.specAxes=axes('Parent',fig, ...
	'Box','on', 'ButtonDownFcn','ceplift playSignal', ...
	'Position',[0.05 0.55 axesWidth axesHeight], ...
	'YLimMode','manual', ...
  'XTick',[],'YTick',[]);

% cesptrogram
ud.cepAxes=axes('Parent',fig, ...
	'Box','on', 'ButtonDownFcn','ceplift playSignal', ...
	'Position',[0.54 0.55 axesWidth axesHeight], ...
	'YLimMode','manual', ...
  'XTick',[],'YTick',[]);

% pitch spectrogram
ud.pitchAxes=axes('Parent',fig, ...
	'Box','on', 'ButtonDownFcn','ceplift playSignal', ...
	'Position',[0.05 0.1 axesWidth axesHeight], ...
	'YLimMode','manual', ...
  'XTick',[],'YTick',[]);

% timbre spectrogram
ud.envAxes=axes('Parent',fig, ...
	'Box','on', 'ButtonDownFcn','ceplift playSignal', ...
	'Position',[0.54 0.1 axesWidth axesHeight], ...
	'YLimMode','manual', ...
  'XTick',[],'YTick',[]);
  
uicontrol('Parent',fig, ...
	'HorizontalAlignment','right', ...
	'Position',[0.0 0.01 0.19 0.06], 'String','Window type:', ...
	'Style','text', 'Tag','StaticText3');

ud.winType=uicontrol('Parent',fig, ...
	'Callback','ceplift changeWin', ...
	'HorizontalAlignment','left', ...
  'Position',[0.2 0.01 0.15 0.06], 'String','rectangular|triangular|hanning|hamming', ...
  'Style','popupmenu','Tag','winTypePopup', 'Value',4,'Enable','off');

uicontrol('Parent',fig, ...
	'HorizontalAlignment','right', ...
	'Position',[0.35 0.01 0.13 0.06], 'String','size:', ...
	'Style','text', 'Tag','StaticText2');
  
ud.winSize=uicontrol('Parent',fig, ...
	'Callback','ceplift changeWin', 'HorizontalAlignment','left', ...
	'Position',[0.49 0.01 0.15 0.06], 'String','8|16|32|64|128|256|512|1024|2048', ...
	'Style','popupmenu', 'Tag','winSizePopup', 'Value',6,'Enable','off');

uicontrol('Parent',fig, ...
	'HorizontalAlignment','right', ...
	'Position',[0.65 0.01 0.14 0.06], 'String',' and shift:', ...
	'Style','text', 'Tag','StaticText1');
  
ud.winShift=uicontrol('Parent',fig, ...
	'Callback','ceplift changeWin', 'HorizontalAlignment','left', ...
	'Position',[0.8 0.01 0.12 0.06],  'String','8|16|32|64|128|256|512|1024|2048', ...
	'Style','popupmenu', 'Tag','winShiftPopup', 'Value',5,'Enable','off');

  set(gcf,'UserData',ud);

