当前位置:网站首页>Analysis and processing of male and female voice signals based on MATLAB
Analysis and processing of male and female voice signals based on MATLAB
2022-07-19 03:38:00 【51CTO】
List of articles
- One 、 Signal acquisition
- Two 、 Voice signal processing
- 3、 ... and 、 Finally, judge
- Four 、 Advantages and disadvantages
One 、 Signal acquisition
First of all, I use my own voice and the recording from a female classmate to save as boy.mp3 and girl.mp3, And then in matlab On the platform audioread The function remembers the sampling frequency and number of sampling points .
among x Represents audio data , Audio data in the file , Return to m×n matrix , among m Is the number of audio samples read ,n Is the number of audio channels in the file .
fs Represents the sampling rate .
Two 、 Voice signal processing
Due to the different physiological structures of men and women , Men and women show different auditory characteristics , The pitch frequency of the male voice is about 100-200Hz Between . The pitch frequency of female voice is mostly 200—350Hz Between , In view of the obvious difference in pitch frequency between men and women , Therefore, basic audio can be used as the basis for male and female voice recognition .
therefore , In this paper, the self-made male and female voice signals collected above are extracted . From the beginning data=x(:,1) Extract mono , Use xcov() Function to process the covariance of the data , The significance of covariance measures the degree to which each dimension deviates from its mean . If the value of covariance is positive , It shows that the two are positively correlated ( From the covariance can be derived “ The correlation coefficient ” The definition of ), A negative result indicates a negative correlation , If 0, That's what statistics say “ Are independent of each other ”. Calculate the frequency of the extracted audio through these three codes .
3、 ... and 、 Finally, judge
Pass frequency 200 As a boundary to judge the voice of men and women :

Four 、 Advantages and disadvantages
advantage : This experiment simply judges the sound of men and women through frequency . More common use , The idea of the whole process is also very simple .
shortcoming : Though we pass 200Hz As a judge, men and women , But personally, I don't think this is very reasonable . For example, some boys' voices are very much like girls' voices , So when we test, it is possible to recognize the voice of boys as girls , I have actually tested such data , So it's not very reasonable . If you want to get a more realistic judgment , We may need to use neural networks to train to recognize , The effect may be much better .
边栏推荐
- oracle 关闭回收站
- leetcode 222. Number of nodes of a complete binary tree (required)
- VGG (Visual Geometry Group)
- 第一章 绪论
- Polynomial interpolation fitting (III)
- [MySQL] data query operation (select statement)
- 2.9.2 digital type processing and convenient methods of ext JS
- Zabbix6.0 monitoring vcenter7.0
- Game theory of catching lice
- SwiftUI 考试题库项目之支持题库和考试题库数量(教程含源码)
猜你喜欢

Visual analysis of ncnn param file and bin model

通过OpenHarmony兼容性测评,大师兄开发板与丰富教培资源已ready

箭头函数与this指向详解

About 1000base-t1 1000Base-TX and 100base-t1

谷歌 Chrome 浏览器安装 PWA 应用将显示更多描述信息

論文閱讀:U-Net++: Redesigning Skip Connections to Exploit Multiscale Features in Image Segmentation

374. Guess the size of numbers (must be able to get started)

ES6學習筆記——B站小馬哥

Vscode+ros2 environment configuration

XX City high school network topology overall planning configuration
随机推荐
神经网络学习笔记2.2 ——用Matlab写一个简单的卷积神将网络图像分类器
Net SNMP development I
Theoretical basis and code implementation of dueling dqn [pytoch + pendulum-v0]
Le cinquième jour de trois questions par jour à luogu
Install Net prompt "cannot establish a certificate chain to trust the root authority" (simple method with download address)
In depth understanding of machine learning - unbalanced learning: sample sampling technology - [adasyn sampling method of manual sampling technology]
ncnn DataReader&Extractor&blob
Laravel's problem
leetcode 222. 完全二叉树的节点个数(必会)
Automatic assembly & set injection
Chengxin University envi_ IDL second week class content: open hdf4 file and read the file, as well as simple data processing and saving + detailed analysis
MySQL 增删查改(基础)
KubeCon + CloudNativeCon Europe 2022
Binary search (leetcode704. very simple and necessary)
论文阅读:U-Net++: Redesigning Skip Connections to Exploit Multiscale Features in Image Segmentation
The fourth day of the third question of daily Luogu
Bisenetv2 face segmentation
By voting for the destruction of STI by Dao, seektiger is truly community driven
Authentication code for wireless
Configure high availability using virtual ip+kept