当前位置:网站首页>Librosa audio processing tutorial
Librosa audio processing tutorial
2022-07-06 06:56:00 【andrew P】
Speech feature extraction : Understand Mel spectrogram (Mel-spectrogram)、 Mel inverse frequency coefficient (MFCCs) Principle _BeichenLiu.Polaris The blog of -CSDN Blog _ Mel spectrum
1.librosa.core.load(path,sr) Resample the audio
librosa.core.load — librosa 0.7.2 documentation
librosa .core. load ( route , sr=22050, Mono = really , Offset =0.0, The duration of the = nothing , dtype =<class 'numpy.float32'>, res_type='kaiser_best') [ resources ]¶
Load audio file When floating point Between sequences .
The audio will be automatically resampled to a given rate ( Default sr=22050).
To preserve the native sampling rate of the file , Please use sr=None.
2.librosa.stft(), The short-time Fourier transform
librosa.core.stft — librosa 0.7.2 documentation
The short-time Fourier transform ( STFT ).[1]( The first 2 Chapter )
STFT By calculating the discrete Fourier transform on a short overlapping window (DFT) To represent the signal in the time-frequency domain .
This function returns a complex valued matrix D bring
np.abs(D[f, t]) yes frame t Local frequency bin f Range of , also
np.angle(D[f, t]) It's the frequency bin f In frame t The aspect of .
Integers t and f You can use utility functions frames_to_sample And convert to physical units fft_frequencies.
边栏推荐
- 18.多级页表与快表
- A method to measure the similarity of time series: from Euclidean distance to DTW and its variants
- 机器学习植物叶片识别
- MySQL high frequency interview 20 questions, necessary (important)
- When my colleague went to the bathroom, I helped my product sister easily complete the BI data product and got a milk tea reward
- 医疗软件检测机构怎么找,一航软件测评是专家
- Bio model realizes multi person chat
- LeetCode - 152 乘积最大子数组
- Day 239/300 注册密码长度为8~14个字母数字以及标点符号至少包含2种校验
- The ECU of 21 Audi q5l 45tfsi brushes is upgraded to master special adjustment, and the horsepower is safely and stably increased to 305 horsepower
猜你喜欢
AttributeError: Can‘t get attribute ‘SPPF‘ on <module ‘models.common‘ from ‘/home/yolov5/models/comm
Facebook AI & Oxford proposed a video transformer with "track attention" to perform SOTA in video action recognition tasks
How to reconstruct the class explosion caused by m*n strategies?
Missing monitoring: ZABBIX monitors the status of Eureka instance
Proteus -- Serial Communication parity flag mode
3. Business and load balancing of high architecture
AttributeError: Can‘t get attribute ‘SPPF‘ on <module ‘models. common‘ from ‘/home/yolov5/models/comm
hydra常用命令
Leetcode daily question (971. flip binary tree to match preorder traversal)
The ECU of 21 Audi q5l 45tfsi brushes is upgraded to master special adjustment, and the horsepower is safely and stably increased to 305 horsepower
随机推荐
UniPro甘特图“初体验”:关注细节背后的多场景探索
基于PyTorch和Fast RCNN快速实现目标识别
ROS学习_基础
接口自动化测试框架:Pytest+Allure+Excel
Leetcode - 152 product maximum subarray
ROS learning_ Basics
[server data recovery] case of offline data recovery of two hard disks of IBM server RAID5
Day 246/300 SSH connection prompt "remote host identification has changed!"
顶测分享:想转行,这些问题一定要考虑清楚!
Bio model realizes multi person chat
leetcode6109. 知道秘密的人数(中等,周赛)
Day 246/300 ssh连接提示“REMOTE HOST IDENTIFICATION HAS CHANGED! ”
A method to measure the similarity of time series: from Euclidean distance to DTW and its variants
Database basics exercise part 2
LeetCode Algorithm 2181. 合并零之间的节点
Basic commands of MySQL
AttributeError: Can‘t get attribute ‘SPPF‘ on <module ‘models.common‘ from ‘/home/yolov5/models/comm
AttributeError: Can‘t get attribute ‘SPPF‘ on <module ‘models.common‘ from ‘/home/yolov5/models/comm
hydra常用命令
C语言_双创建、前插,尾插,遍历,删除