当前位置:网站首页>matlab声音信号处理 频率图 信号过滤和播放声音
matlab声音信号处理 频率图 信号过滤和播放声音
2022-07-22 21:45:00 【studyer_domi】
1、内容简介
略
425-可以交流、咨询、答疑
2、内容说明
略
3、仿真分析
clear;
clc;
close all
%mini project
[x,fs] = audioread('mini_proj.wav');
x = x(:,1)';
N = length(x);
n = 0:N-1;
L = N/fs;
fprintf('the length is %ds\n',L);
fprintf('the fs is %dHz\n',fs);
figure
plot(x);
[fx,x0]=change_fft(fs,x);
figure
plot(fx,x0)
sound(x,fs)
pause(4)
%%
lpFilt = designfilt('lowpassiir','FilterOrder',5, ...
'PassbandFrequency',2e2,'PassbandRipple',0.01, ...
'SampleRate',fs);
[b,a]=tf(lpFilt)
y = filter(b,a,x);
sound(y,fs);%回放滤波移频后的声音
[fy,y0]=change_fft(fs,y);
figure
plot(fy,y0)
sound(y,fs)

4、参考论文
略
边栏推荐
- ProSci LAG3抗体:改善体外研究,助力癌症免疫治疗
- ROS2常用命令行工具整理ROS2CLI
- golang--module
- Mysql无法访问,navicat提示:is not allowed to connect to this MySQL server
- Fastapi learning (II) -- fastapi+jinjia2 template rendering web page (jump back to the rendering page)
- Patrick McHardy事件对开源社区的影响
- 程序员最想干的三件事 |漫画
- “蔚来杯“2022牛客暑期多校训练营1 (部分题目总结)
- Mysql A left(right) join B on A.id=B.id and A.age=1与A left(right) join B on A.id=B.id where A.age=1
- NB-IOT的四大特性
猜你喜欢

一次 MySQL 误操作导致的事故,「高可用」都顶不住了

程序员最想干的三件事 |漫画

Customize flick es source

初出茅庐的小李第109篇博客之如何打开Keil中文件的真是路径

浅谈性能优化:APP的启动流程分析与优化

Worthington:来自酵母的己糖激酶的特性及其它参数说明

我为OpenHarmony 写代码,战“码”先锋第二期正式开启!

The Chinese and English dot matrix character display principle of the 111th blog of the fledgling Xiao Li

初出茅庐的小李第108篇博客二进制打印

无代码生产新模式探索
随机推荐
实验七 H.264文件分析
Redis三种集群方案
21 -- 除自身以外数组的乘积
主题域模型
牛客小白月赛53
数据脱敏的场景与价值【总结】
使用路由协议配置 IPv6 over IP手动隧道
一文深入浅出理解国产开源木兰许可系列协议
驱动页面性能优化的3个有效策略
VMware虚拟机更改静态IP报错Unit network.service entered failed state解决方案
Qt+VTK+PCL图片转灰度图且以灰度为Y轴显示
(五)数电——公式化简法
Topic domain model
[day 31] given an integer n, find the base and exponent of each prime factor | basic theorem of arithmetic
6-14漏洞利用-rpcbind漏洞利用
scala 主构造器_Scala主构造器深度
The new idea 2022.2 was officially released, and the new features are really fragrant
Fastapi learning (II) -- fastapi+jinjia2 template rendering web page (jump back to the rendering page)
FastAPI学习(二)——FastAPI+Jinjia2模板渲染网页(跳转返回渲染页面)
Worthington溶菌酶技术说明及文献参考