📄 stochogui.m
字号:
'ListboxTop',0,...
'Position',[0.177501152604887 0.0552721088435374 0.260488704472107 0.795918367346939],...
'String',{ '' },...
'Style','frame',...
'Tag','frame1',...
'UserData',zeros(1,0));
h10 = uicontrol(...
'Parent',h1,...
'Units','normalized',...
'CData',zeros(1,0),...
'FontSize',12,...
'FontWeight','bold',...
'ListboxTop',0,...
'Position',[0.188679245283019 0.798333333333333 0.0887902330743618 0.0333333333333333],...
'String','Section I',...
'Style','text',...
'Tag','text18',...
'UserData',zeros(1,0));
h11 = uicontrol(...
'Parent',h1,...
'Units','normalized',...
'ListboxTop',0,...
'Position',[0.448363301060397 0.0552721088435374 0.260488704472107 0.795918367346939],...
'String',{ '' },...
'Style','frame',...
'Tag','frame3');
h12 = uicontrol(...
'Parent',h1,...
'Units','normalized',...
'FontSize',12,...
'FontWeight','bold',...
'ListboxTop',0,...
'Position',[0.460599334073252 0.798333333333333 0.0943396226415094 0.0333333333333333],...
'String','Section II',...
'Style','text',...
'Tag','text19');
h13 = uicontrol(...
'Parent',h1,...
'Units','normalized',...
'ListboxTop',0,...
'Position',[0.719225449515906 0.0552721088435374 0.260488704472107 0.795918367346939],...
'String',{ '' },...
'Style','frame',...
'Tag','frame4');
h14 = uicontrol(...
'Parent',h1,...
'Units','normalized',...
'FontSize',12,...
'FontWeight','bold',...
'ListboxTop',0,...
'Position',[0.726970033296338 0.798333333333333 0.0943396226415094 0.0333333333333333],...
'String','Section III',...
'Style','text',...
'Tag','text20');
h15 = uicontrol(...
'Parent',h1,...
'Units','normalized',...
'BackgroundColor',[1 1 1],...
'Callback','stochogui(''s1_numnotes_Callback'',gcbo,[],guidata(gcbo))',...
'HorizontalAlignment','left',...
'ListboxTop',0,...
'Position',[0.187874596588289 0.738803854875284 0.0875979714153988 0.0405328798185941],...
'String','10',...
'Style','edit',...
'CreateFcn','stochogui(''s1_numnotes_CreateFcn'',gcbo,[],guidata(gcbo))',...
'Tag','s1_numnotes');
h16 = uicontrol(...
'Parent',h1,...
'Units','normalized',...
'BackgroundColor',[1 1 1],...
'Callback','stochogui(''s1_npartials_Callback'',gcbo,[],guidata(gcbo))',...
'HorizontalAlignment','left',...
'ListboxTop',0,...
'Position',[0.187874596588289 0.626417233560091 0.0875979714153988 0.0405328798185941],...
'String','min max',...
'Style','edit',...
'CreateFcn','stochogui(''s1_npartials_CreateFcn'',gcbo,[],guidata(gcbo))',...
'Tag','s1_npartials');
h17 = uicontrol(...
'Parent',h1,...
'Units','normalized',...
'BackgroundColor',[1 1 1],...
'Callback','stochogui(''s1_durs_Callback'',gcbo,[],guidata(gcbo))',...
'HorizontalAlignment','left',...
'ListboxTop',0,...
'Position',[0.187874596588289 0.515873015873016 0.204011065006916 0.0405328798185941],...
'String','min max (seconds)',...
'Style','edit',...
'CreateFcn','stochogui(''s1_durs_CreateFcn'',gcbo,[],guidata(gcbo))',...
'Tag','s1_durs');
h18 = uicontrol(...
'Parent',h1,...
'Units','normalized',...
'BackgroundColor',[1 1 1],...
'Callback','stochogui(''s1_amps_Callback'',gcbo,[],guidata(gcbo))',...
'HorizontalAlignment','left',...
'ListboxTop',0,...
'Position',[0.187874596588289 0.458758503401361 0.204011065006916 0.0405328798185941],...
'String','min max (0-1)',...
'Style','edit',...
'CreateFcn','stochogui(''s1_amps_CreateFcn'',gcbo,[],guidata(gcbo))',...
'Tag','s1_amps');
h19 = uicontrol(...
'Parent',h1,...
'Units','normalized',...
'BackgroundColor',[1 1 1],...
'Callback','stochogui(''s1_freqs_Callback'',gcbo,[],guidata(gcbo))',...
'HorizontalAlignment','left',...
'ListboxTop',0,...
'Position',[0.187874596588289 0.399801587301587 0.204011065006916 0.0405328798185941],...
'String','min max (Hz)',...
'Style','edit',...
'CreateFcn','stochogui(''s1_freqs_CreateFcn'',gcbo,[],guidata(gcbo))',...
'Tag','s1_freqs');
h20 = uicontrol(...
'Parent',h1,...
'Units','normalized',...
'BackgroundColor',[1 1 1],...
'Callback','stochogui(''s1_fskews_Callback'',gcbo,[],guidata(gcbo))',...
'HorizontalAlignment','left',...
'ListboxTop',0,...
'Position',[0.187874596588289 0.342687074829932 0.204011065006916 0.0405328798185941],...
'String','min max (Hz)',...
'Style','edit',...
'CreateFcn','stochogui(''s1_fskews_CreateFcn'',gcbo,[],guidata(gcbo))',...
'Tag','s1_fskews');
h21 = uicontrol(...
'Parent',h1,...
'Units','normalized',...
'BackgroundColor',[1 1 1],...
'Callback','stochogui(''s1_ampenv_Callback'',gcbo,[],guidata(gcbo))',...
'ListboxTop',0,...
'Position',[0.189027201475334 0.280045351473923 0.117565698478562 0.0405328798185941],...
'String',{ 'Flat' 'Percussive' 'Sustained' 'Triangle' 'Wedge' 'InvWedge' 'Random' 'Create' },...
'Style','popupmenu',...
'Value',1,...
'CreateFcn','stochogui(''s1_ampenv_CreateFcn'',gcbo,[],guidata(gcbo))',...
'Tag','s1_ampenv');
h22 = uicontrol(...
'Parent',h1,...
'Units','normalized',...
'BackgroundColor',[0 0 0],...
'CData',zeros(1,0),...
'FontSize',12,...
'ForegroundColor',[1 1 1],...
'HorizontalAlignment','right',...
'ListboxTop',0,...
'Position',[0.0345781466113417 0.283730158730159 0.133702166897188 0.0331632653061225],...
'String','Amp Envelope',...
'Style','text',...
'Tag','text21',...
'UserData',zeros(1,0));
h23 = uicontrol(...
'Parent',h1,...
'Units','normalized',...
'BackgroundColor',[0 0 0],...
'CData',zeros(1,0),...
'FontSize',12,...
'ForegroundColor',[1 1 1],...
'HorizontalAlignment','right',...
'ListboxTop',0,...
'Position',[0.0345781466113417 0.215561224489796 0.133702166897188 0.0331632653061225],...
'String','Freq Envelope',...
'Style','text',...
'Tag','text22',...
'UserData',zeros(1,0));
h24 = uicontrol(...
'Parent',h1,...
'Units','normalized',...
'BackgroundColor',[1 1 1],...
'Callback','stochogui(''s1_freqenv_Callback'',gcbo,[],guidata(gcbo))',...
'ListboxTop',0,...
'Position',[0.189027201475334 0.206349206349206 0.117565698478562 0.0405328798185941],...
'String',{ 'Flat' 'UpSweep' 'DownSweep' 'Triangle' 'Random' 'Create' },...
'Style','popupmenu',...
'Value',1,...
'CreateFcn','stochogui(''s1_freqenv_CreateFcn'',gcbo,[],guidata(gcbo))',...
'Tag','s1_freqenv');
h25 = uicontrol(...
'Parent',h1,...
'Units','normalized',...
'BackgroundColor',[0 0 0],...
'CData',zeros(1,0),...
'FontSize',12,...
'ForegroundColor',[1 1 1],...
'HorizontalAlignment','right',...
'ListboxTop',0,...
'Position',[0.0218994928538497 0.683531746031746 0.147533425541724 0.0331632653061225],...
'String','Percent Overlap',...
'Style','text',...
'Tag','text23',...
'UserData',zeros(1,0));
h26 = uicontrol(...
'Parent',h1,...
'Units','normalized',...
'BackgroundColor',[1 1 1],...
'Callback','stochogui(''s1_overlap_Callback'',gcbo,[],guidata(gcbo))',...
'HorizontalAlignment','left',...
'ListboxTop',0,...
'Position',[0.187874596588289 0.681689342403628 0.0875979714153988 0.0405328798185941],...
'String','50',...
'Style','edit',...
'CreateFcn','stochogui(''s1_overlap_CreateFcn'',gcbo,[],guidata(gcbo))',...
'Tag','s1_overlap');
h27 = uicontrol(...
'Parent',h1,...
'Units','normalized',...
'Callback','stochogui(''s1_compose_Callback'',gcbo,[],guidata(gcbo))',...
'ListboxTop',0,...
'Position',[0.251267865375749 0.00736961451247166 0.0691562932226833 0.0405328798185941],...
'String','Compose',...
'Tag','s1_compose');
h28 = uicontrol(...
'Parent',h1,...
'Units','normalized',...
'Callback','stochogui(''s0_play_Callback'',gcbo,[],guidata(gcbo))',...
'ListboxTop',0,...
'Position',[0.837943752881513 0.867772108843537 0.0691562932226833 0.0386904761904762],...
'String','Play All',...
'Tag','s0_play');
h29 = uicontrol(...
'Parent',h1,...
'Units','normalized',...
'Callback','stochogui(''s1_play_Callback'',gcbo,[],guidata(gcbo))',...
'ListboxTop',0,...
'Position',[0.325034578146611 0.00736961451247166 0.0484094052558783 0.0405328798185941],...
'String','Play',...
'Tag','s1_play');
h30 = uicontrol(...
'Parent',h1,...
'Units','normalized',...
'Callback','stochogui(''s1_random_Callback'',gcbo,[],guidata(gcbo))',...
'ListboxTop',0,...
'Position',[0.200553250345781 0.103174603174603 0.0772245274319963 0.0405328798185941],...
'String','Randomize',...
'Tag','s1_random');
h31 = uicontrol(...
'Parent',h1,...
'Units','normalized',...
'BackgroundColor',[1 1 1],...
'Callback','stochogui(''s1_dist_Callback'',gcbo,[],guidata(gcbo))',...
'ListboxTop',0,...
'Position',[0.300829875518672 0.103174603174603 0.117565698478562 0.0405328798185941],...
'String',{ 'Distribution' 'Uniform' 'Normal' },...
'Style','popupmenu',...
'Value',1,...
'CreateFcn','stochogui(''s1_dist_CreateFcn'',gcbo,[],guidata(gcbo))',...
'Tag','s1_dist');
h32 = uicontrol(...
'Parent',h1,...
'Units','normalized',...
'BackgroundColor',[0 0 0],...
'CData',zeros(1,0),...
'FontAngle','italic',...
'FontWeight','light',...
'ForegroundColor',[1 1 1],...
'HorizontalAlignment','left',...
'ListboxTop',0,...
'Position',[0.00691562932226833 0.906462585034014 0.281235592438912 0.0350056689342404],...
'String','by Bob L. Sturm',...
'Style','text',...
'Tag','text26',...
'UserData',zeros(1,0));
h33 = uicontrol(...
'Parent',h1,...
'Units','normalized',...
'BackgroundColor',[0 0 0],...
'CData',zeros(1,0),...
'FontSize',12,...
'ForegroundColor',[1 1 1],...
'HorizontalAlignment','right',...
'ListboxTop',0,...
'Position',[0.0726141078838174 0.567460317460318 0.0968188105117566 0.0386904761904762],...
'String','Partials List',...
'Style','text',...
'Tag','text28',...
'UserData',zeros(1,0));
h34 = uicontrol(...
'Parent',h1,...
'Units','normalized',...
'BackgroundColor',[1 1 1],...
'Callback','stochogui(''s1_partials_Callback'',gcbo,[],guidata(gcbo))',...
'HorizontalAlignment','left',...
'ListboxTop',0,...
'Position',[0.187874596588289 0.571145124716553 0.204011065006916 0.0386904761904762],...
'String','mult amp',...
'Style','edit',...
'CreateFcn','stochogui(''s1_partials_CreateFcn'',gcbo,[],guidata(gcbo))',...
'Tag','s1_partials');
h35 = uicontrol(...
'Parent',h1,...
'Units','normalized',...
'BackgroundColor',[1 1 1],...
'Callback','stochogui(''s1_start_Callback'',gcbo,[],guidata(gcbo))',...
'HorizontalAlignment','left',...
'ListboxTop',0,...
'Position',[0.286998616874136 0.738803854875284 0.0875979714153988 0.0405328798185941],...
'String','0 (seconds)',...
'Style','edit',...
'CreateFcn','stochogui(''s1_start_CreateFcn'',gcbo,[],guidata(gcbo))',...
'Tag','s1_start');
h36 = uicontrol(...
'Parent',h1,...
'Units','normalized',...
'CData',zeros(1,0),...
'FontSize',12,...
'HorizontalAlignment','left',...
'ListboxTop',0,...
'Position',[0.286998616874136 0.783021541950113 0.0841401567542647 0.0350056689342404],...
'String','Start Time',...
'Style','text',...
'Tag','text8i43',...
'UserData',zeros(1,0));
h37 = uicontrol(...
'Parent',h1,...
'Units','normalized',...
'Callback','stochogui(''s1_plot_Callback'',gc
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -