📄 reverbexpo.m
字号:
function filter3_D_Callback(hObject, eventdata, handles)% hObject handle to filter3_D (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handles structure with handles and user data (see GUIDATA)% Hints: get(hObject,'String') returns contents of filter3_D as text% str2double(get(hObject,'String')) returns contents of filter3_D as a double reverbexpofn 'update';% --- Executes on button press in reverberate.function reverberate_Callback(hObject, eventdata, handles)% hObject handle to reverberate (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handles structure with handles and user data (see GUIDATA) reverbexpofn 'reverberate';% --- Executes on button press in play_reverb.function play_reverb_Callback(hObject, eventdata, handles)% hObject handle to play_reverb (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handles structure with handles and user data (see GUIDATA) reverbexpofn 'playreverb';% --- Executes during object creation, after setting all properties.function time_extend_CreateFcn(hObject, eventdata, handles)% hObject handle to time_extend (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handles empty - handles not created until after all CreateFcns called% Hint: edit controls usually have a white background on Windows.% See ISPC and COMPUTER.if ispc set(hObject,'BackgroundColor','white');else set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));endfunction time_extend_Callback(hObject, eventdata, handles)% hObject handle to time_extend (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handles structure with handles and user data (see GUIDATA)% Hints: get(hObject,'String') returns contents of time_extend as text% str2double(get(hObject,'String')) returns contents of time_extend as a double% --- Executes on button press in pushbutton4.function pushbutton4_Callback(hObject, eventdata, handles)% hObject handle to pushbutton4 (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handles structure with handles and user data (see GUIDATA)% --- Executes during object creation, after setting all properties.function filter1_type_CreateFcn(hObject, eventdata, handles)% hObject handle to filter1_type (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handles empty - handles not created until after all CreateFcns called% Hint: popupmenu controls usually have a white background on Windows.% See ISPC and COMPUTER.if ispc set(hObject,'BackgroundColor','white');else set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));end% --- Executes on selection change in filter1_type.function filter1_type_Callback(hObject, eventdata, handles)% hObject handle to filter1_type (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handles structure with handles and user data (see GUIDATA)% Hints: contents = get(hObject,'String') returns filter1_type contents as cell array% contents{get(hObject,'Value')} returns selected item from filter1_type if get(hObject,'Value') reverbexpofn 'update'; end% --- Executes during object creation, after setting all properties.function filter2_type_CreateFcn(hObject, eventdata, handles)% hObject handle to filter2_type (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handles empty - handles not created until after all CreateFcns called% Hint: popupmenu controls usually have a white background on Windows.% See ISPC and COMPUTER.if ispc set(hObject,'BackgroundColor','white');else set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));end% --- Executes on selection change in filter2_type.function filter2_type_Callback(hObject, eventdata, handles)% hObject handle to filter2_type (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handles structure with handles and user data (see GUIDATA)% Hints: contents = get(hObject,'String') returns filter2_type contents as cell array% contents{get(hObject,'Value')} returns selected item from filter2_type if get(hObject,'Value') reverbexpofn 'update'; end% --- Executes during object creation, after setting all properties.function filter3_type_CreateFcn(hObject, eventdata, handles)% hObject handle to filter3_type (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handles empty - handles not created until after all CreateFcns called% Hint: popupmenu controls usually have a white background on Windows.% See ISPC and COMPUTER.if ispc set(hObject,'BackgroundColor','white');else set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));end% --- Executes on selection change in filter3_type.function filter3_type_Callback(hObject, eventdata, handles)% hObject handle to filter3_type (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handles structure with handles and user data (see GUIDATA)% Hints: contents = get(hObject,'String') returns filter3_type contents as cell array% contents{get(hObject,'Value')} returns selected item from filter3_type if get(hObject,'Value') reverbexpofn 'update'; end% --------------------------------------------------------------------function FileMenu_Callback(hObject, eventdata, handles)% hObject handle to FileMenu (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handles structure with handles and user data (see GUIDATA)% --------------------------------------------------------------------function OpenMenuItem_Callback(hObject, eventdata, handles)% hObject handle to OpenMenuItem (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handles structure with handles and user data (see GUIDATA) reverbexpofn 'loadsound';% --------------------------------------------------------------------function CloseMenuItem_Callback(hObject, eventdata, handles)% hObject handle to CloseMenuItem (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handles structure with handles and user data (see GUIDATA) reverbexpofn 'close';% --------------------------------------------------------------------function Untitled_2_Callback(hObject, eventdata, handles)% hObject handle to Untitled_2 (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handles structure with handles and user data (see GUIDATA)% --------------------------------------------------------------------function fourierexpo_Callback(hObject, eventdata, handles)% hObject handle to fourierexpo (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handles structure with handles and user data (see GUIDATA) reverbexpofn 'fourier';% --------------------------------------------------------------------function sonoexpo_Callback(hObject, eventdata, handles)% hObject handle to sonoexpo (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handles structure with handles and user data (see GUIDATA) reverbexpofn 'sonoexpo';% --------------------------------------------------------------------function help_Callback(hObject, eventdata, handles)% hObject handle to help (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handles structure with handles and user data (see GUIDATA) reverbexpofn 'help';% --- Executes during object creation, after setting all properties.function timeslider_CreateFcn(hObject, eventdata, handles)% hObject handle to timeslider (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handles empty - handles not created until after all CreateFcns called% Hint: slider controls usually have a light gray background, change% 'usewhitebg' to 0 to use default. See ISPC and COMPUTER.usewhitebg = 1;if usewhitebg set(hObject,'BackgroundColor',[.9 .9 .9]);else set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));end% --- Executes on slider movement.function timeslider_Callback(hObject, eventdata, handles)% hObject handle to timeslider (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handles structure with handles and user data (see GUIDATA)% Hints: get(hObject,'Value') returns position of slider% get(hObject,'Min') and get(hObject,'Max') to determine range of slider reverbexpofn 'timeslider';% --------------------------------------------------------------------function Untitled_3_Callback(hObject, eventdata, handles)% hObject handle to Untitled_3 (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handles structure with handles and user data (see GUIDATA)% --------------------------------------------------------------------function plainecho_Callback(hObject, eventdata, handles)% hObject handle to plainecho (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handles structure with handles and user data (see GUIDATA) reverbexpofn('preset','plainecho');% --------------------------------------------------------------------function multiecho_Callback(hObject, eventdata, handles)% hObject handle to multiecho (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handles structure with handles and user data (see GUIDATA) reverbexpofn('preset','multiecho');% --------------------------------------------------------------------function reverb_Callback(hObject, eventdata, handles)% hObject handle to reverb1 (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handles structure with handles and user data (see GUIDATA) reverbexpofn('preset','reverb');% --------------------------------------------------------------------function cavern_Callback(hObject, eventdata, handles)% hObject handle to cavern (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handles structure with handles and user data (see GUIDATA) reverbexpofn('preset','cavern');
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -