• 【语音去噪】基于切比雪夫+椭圆形低通滤波器语音去噪附GUI界面


    ✅作者简介:热爱科研的Matlab仿真开发者,修心和技术同步精进,matlab项目合作可私信。

    🍎个人主页:Matlab科研工作室

    🍊个人信条:格物致知。

    更多Matlab仿真内容点击👇

    智能优化算法  神经网络预测 雷达通信  无线传感器

    信号处理 图像处理 路径规划 元胞自动机 无人机  电力系统

    ⛄ 内容介绍

    结合数字滤波器的理论基础和设计方法,在MATLAB程序语言环境下,设计出有限长单位脉冲响应(FIR)数字滤波器,同时利用GUI界面设计FIR数字滤波器人机交互平台,该系统平台界面直观、操作简单且功能齐全,可实现对加噪语音信号的去噪滤波功能.平台主要包括语音信号、加噪信号、FIR数字滤波器设计和去噪信号四个模块,用户可根据读入的语音信号及噪声信号特点调整滤波器技术指标,实现滤波器的优化设计,最终达到FIR数字滤波器对语音信号的去噪处理效果.

    ⛄ 部分代码

    function varargout = untitled(varargin)

    % UNTITLED MATLAB code for untitled.fig

    %      UNTITLED, by itself, creates a new UNTITLED or raises the existing

    %      singleton*.

    %

    %      H = UNTITLED returns the handle to a new UNTITLED or the handle to

    %      the existing singleton*.

    %

    %      UNTITLED('CALLBACK',hObject,eventData,handles,...) calls the local

    %      function named CALLBACK in UNTITLED.M with the given input arguments.

    %

    %      UNTITLED('Property','Value',...) creates a new UNTITLED or raises the

    %      existing singleton*.  Starting from the left, property value pairs are

    %      applied to the GUI before untitled_OpeningFcn gets called.  An

    %      unrecognized property name or invalid value makes property application

    %      stop.  All inputs are passed to untitled_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 untitled

    % Last Modified by GUIDE v2.5 12-Jan-2020 11:58:18

    % Begin initialization code - DO NOT EDIT

    gui_Singleton = 1;

    gui_State = struct('gui_Name',       mfilename, ...

                       'gui_Singleton',  gui_Singleton, ...

                       'gui_OpeningFcn', @untitled_OpeningFcn, ...

                       'gui_OutputFcn',  @untitled_OutputFcn, ...

                       'gui_LayoutFcn',  [] , ...

                       'gui_Callback',   []);

    if nargin && ischar(varargin{1})

        gui_State.gui_Callback = str2func(varargin{1});

    end

    ​if nargout

        [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});

    else

        gui_mainfcn(gui_State, varargin{:});

    end

    % End initialization code - DO NOT EDIT

    % --- Executes just before untitled is made visible.

    function untitled_OpeningFcn(hObject, eventdata, handles, varargin)

    % This function has no output args, see OutputFcn.

    % hObject    handle to figure

    % eventdata  reserved - to be defined in a future version of MATLAB

    % handles    structure with handles and user data (see GUIDATA)

    % varargin   command line arguments to untitled (see VARARGIN)

    ​% Choose default command line output for untitled

    handles.output = hObject;

    % --- Executes on button press in pushbutton8.

    function pushbutton8_Callback(hObject, eventdata, handles)

    % hObject    handle to pushbutton8 (see GCBO)

    % eventdata  reserved - to be defined in a future version of MATLAB

    % handles    structure with handles and user data (see GUIDATA)

    global x fs

    sigLength=length(x);%信号长度

    t=(0:sigLength-1)/fs;

    x1 = fft(x,sigLength);%傅里叶变换

    halflength=floor(sigLength/2); %取一半

    f=fs*(0:halflength)/sigLength; %频率范围.

    axes(handles.axes1)

    plot(t,x)        %时域图

    xlabel('t/s');

    ylabel('幅度');

    axes(handles.axes3)

    plot(f,abs(x1(1:halflength+1)));%原始信号频谱图

    xlabel('频率/Hz');

    ylabel('幅度');

    axes(handles.axes2)

    cla

    axes(handles.axes4)

    cla

    ⛄ 运行结果

    ⛄ 参考文献

    [1]冯浩. 基于MATLAB GUI的FIR数字滤波器语音信号去噪处理[J]. 菏泽学院学报, 2016, 38(5):5.

    [2]郭思梦, 张培玲. 基于Matlab GUI的语音信号去噪处理[J]. 中小企业管理与科技, 2017(15):2.

    ❤️ 关注我领取海量matlab电子书和数学建模资料

    ❤️部分理论引用网络文献,若有侵权联系博主删除

  • 相关阅读:
    链表的中间结点-力扣
    MATLAB调用工业相机读取图像数据
    docker的安装与使用
    实现CNN图像的识别和训练通过tensorflow框架对cifar10数据集等方法的处理
    数据结构之图(概念)
    Linux:1.进程介绍+2.Linux父子进程+3.终止进程kill和killall+4.查看进程树pstree+5.service服务管理
    vulfocus——showdoc文件上传(cnvd-2020-26585)
    Mybatis 知识点大总结
    【基础篇】ClickHouse 表结构设计
    nginx 共同父目录下某个目录禁止公网访问——筑梦之路
  • 原文地址:https://blog.csdn.net/matlab_dingdang/article/details/127752850