当前位置:网站首页>librosa音频处理教程
librosa音频处理教程
2022-07-06 06:43:00 【andrew P】
语音特征提取: 看懂梅尔语谱图(Mel-spectrogram)、梅尔倒频系数(MFCCs)的原理_BeichenLiu.Polaris的博客-CSDN博客_梅尔谱图
1.librosa.core.load(path,sr)对音频进行重新采样
librosa.core.load — librosa 0.7.2 documentation
librosa .core。负载(路径, sr=22050,单声道=真,偏移量=0.0,持续时间=无, dtype =<class 'numpy.float32'>, res_type='kaiser_best') [资源]¶
将音频文件加载为浮点时间序列。
音频将自动重新采样到给定的速率(默认sr=22050)。
要保留文件的本机采样率,请使用sr=None。
2.librosa.stft(),短时傅里叶变换
librosa.core.stft — librosa 0.7.2 documentation
短时傅里叶变换 ( STFT )。[1](第 2 章)
STFT通过在短重叠窗口上计算离散傅里叶变换 (DFT) 来表示时频域中的信号。
此函数返回一个复值矩阵 D 使得
np.abs(D[f, t])是 帧t处频率 bin f的幅度,并且
np.angle(D[f, t])是频率 bin f 在帧t的相位。
整数t和f可以通过实用函数frames_to_sample和转换为物理单位fft_frequencies。
边栏推荐
- Day 248/300 关于毕业生如何找工作的思考
- [ 英语 ] 语法重塑 之 英语学习的核心框架 —— 英语兔学习笔记(1)
- Distributed system basic (V) protocol (I)
- On the first day of clock in, click to open a surprise, and the switch statement is explained in detail
- Bitcoinwin (BCW): the lending platform Celsius conceals losses of 35000 eth or insolvency
- Facebook AI & Oxford proposed a video transformer with "track attention" to perform SOTA in video action recognition tasks
- Reflex WMS medium level series 3: display shipped replaceable groups
- Pallet management in SAP SD delivery process
- 简单描述 MySQL 中,索引,主键,唯一索引,联合索引 的区别,对数据库的性能有什么影响(从读写两方面)
- Market segmentation of supermarket customers based on purchase behavior data (RFM model)
猜你喜欢
CS passed (cdn+ certificate) PowerShell online detailed version
Tms320c665x + Xilinx artix7 DSP + FPGA high speed core board
女生学软件测试难不难 入门门槛低,学起来还是比较简单的
What is the difference between int (1) and int (10)? Senior developers can't tell!
What are the commonly used English words and sentences about COVID-19?
How to translate biomedical instructions in English
AI on the cloud makes earth science research easier
How effective is the Chinese-English translation of international economic and trade contracts
Introduction and underlying analysis of regular expressions
LeetCode每日一题(971. Flip Binary Tree To Match Preorder Traversal)
随机推荐
AI on the cloud makes earth science research easier
【Hot100】739. 每日温度
GET 和 POST 请求类型的区别
云服务器 AccessKey 密钥泄露利用
Day 246/300 SSH connection prompt "remote host identification has changed!"
UniPro甘特图“初体验”:关注细节背后的多场景探索
Fedora/rehl installation semanage
查询字段个数
成功解决TypeError: data type ‘category‘ not understood
雲上有AI,讓地球科學研究更省力
Map of mL: Based on the adult census income two classification prediction data set (whether the predicted annual income exceeds 50K), use the map value to realize the interpretable case of xgboost mod
My seven years with NLP
Simple use of MySQL database: add, delete, modify and query
Day 239/300 注册密码长度为8~14个字母数字以及标点符号至少包含2种校验
Distributed system basic (V) protocol (I)
Leetcode daily question (971. flip binary tree to match preorder traversal)
Simple query cost estimation
LeetCode - 152 乘积最大子数组
攻防世界 MISC中reverseMe简述
Day 248/300 thoughts on how graduates find jobs