1 简介
语音信号作为常用的信号之一,对于研究一维信号处理有一定的指导意义,而Matlab就是数据处理的一种有效的分析工具.Matlab具有强大的函数功能,论文通过编写M文件进行语音信号的产生,噪声信号的实现及相应滤波器设计,同时通过图形可视化工具GUI进行语音信号处理平台的设计,在可视化界面中可以很快捷地得到信号各类的频谱图和时域特性图,便于用户进行系统分析,同时还可以将系统参数导出并保存为其他可处理的格式,从而方便用户在其他平台进一步进行系统的设计和开发.
2 部分代码
function varargout = yonghujiemain(varargin)
% YONGHUJIEMAIN M-file for yonghujiemain.fig
% YONGHUJIEMAIN, by itself, creates a new YONGHUJIEMAIN or raises the existing
% singleton*.
%
% H = YONGHUJIEMAIN returns the handle to a new YONGHUJIEMAIN or the handle to
% the existing singleton*.
%
% YONGHUJIEMAIN('CALLBACK',hObject,eventData,handles,...) calls the local
% function named CALLBACK in YONGHUJIEMAIN.M with the given input arguments.
%
% YONGHUJIEMAIN('Property','Value',...) creates a new YONGHUJIEMAIN or raises the
% existing singleton*. Starting from the left, property value pairs are
% applied to the GUI before yonghujiemain_OpeningFunction gets called. An
% unrecognized property name or invalid value makes property application
% stop. All inputs are passed to yonghujiemain_OpeningFcn via varargin.
%
% *See GUI Options on GUIDE's Tools menu. Choose "GUI allows only one
% instance to run (singleton)".
%
% See also: GUIDE, GUIDATA, GUIHANDLES
% Edit the above text to modify the response to help yonghujiemain
% Last Modified by GUIDE v2.5 03-Jun-2011 16:50:18
% Begin initialization code - DO NOT EDIT
gui_Singleton = 1;
gui_State = struct('gui_Name', mfilename, ...
% --- Executes during object creation, after setting all properties.
function insert_CreateFcn(hObject, eventdata, handles)
% hObject handle to insert (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles empty - handles not created until after all CreateFcns called
% --- Executes during object deletion, before destroying properties.
function insert_DeleteFcn(hObject, eventdata, handles)
% hObject handle to insert (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% --- If Enable == 'on', executes on mouse press in 5 pixel border.
% --- Otherwise, executes on mouse press in 5 pixel border or over insert.
function insert_ButtonDownFcn(hObject, eventdata, handles)
% hObject handle to insert (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% --- If Enable == 'on', executes on mouse press in 5 pixel border.
% --- Otherwise, executes on mouse press in 5 pixel border or over play.
function play_ButtonDownFcn(hObject, eventdata, handles)
% hObject handle to play (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
3 仿真结果
4 参考文献
[1]燕丽红. 基于Matlab&GUI语音信号处理平台的设计[J]. 计算机与数字工程, 2020, 48(1):4.
博主简介:擅长智能优化算法、神经网络预测、信号处理、元胞自动机、图像处理、路径规划、无人机等多种领域的Matlab仿真,相关matlab代码问题可私信交流。
部分理论引用网络文献,若有侵权联系博主删除。