当前位置:网站首页>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 .
边栏推荐
- Neural network learning notes 2.2 -- write a simple convolution neural network image classifier with MATLAB
- Thinkphp5.0模型操作使用page进行分页
- Agent mode - power node of station B
- 2.9.2 digital type processing and convenient methods of ext JS
- Unity solves the problem of Z-fighting caused by overlapping objects with the same material
- 374. Guess the size of numbers (must be able to get started)
- Detailed explanation of arrow function and this direction
- Dive Into Deep Learning——2.2数据预处理
- Install Net prompt "cannot establish a certificate chain to trust the root authority" (simple method with download address)
- Transaction and storage engine in MySQL database
猜你喜欢

MySQL master-slave setup

Configure high availability using virtual ip+kept

About 1000base-t1 1000Base-TX and 100base-t1
![[MySQL] data query operation (select statement)](/img/22/9c20d80296622c4516f361654075d6.png)
[MySQL] data query operation (select statement)

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

Data source object management (third-party object resources) & load properties file
![mysqldump: [Warning] Using a password on the command line interface can be insecure.](/img/91/8b0d35f85bc0f46daac4e1e9bc9e34.png)
mysqldump: [Warning] Using a password on the command line interface can be insecure.

XX City high school network topology overall planning configuration

MySQL optimized index
![[MySQL] MHA high availability](/img/d3/d9830f3c331193fd40b8f00ebe35fa.png)
[MySQL] MHA high availability
随机推荐
Chapter II linear table
oracle 查询非自增长分区的最大分区
Yolov6 learning first chapter
Vscode+ros2 environment configuration
爬虫学习(5):手把手教你爬虫requests实战演练
Flutter开发:运行flutter upgrade命令报错Exception:Flutter failed to create a directory at…解决方法
基于Matlab的男女声音信号分析与处理
Rtx3090 installing pytorch3d
通过Dao投票STI的销毁,SeekTiger真正做到由社区驱动
Rhce8 Learning Guide Chapter 1 installing rhel8.4
Browser cannot open tensorboard
Shell script receives and returns parameters
Unicast、Multicast、Broadcast
VGG (Visual Geometry Group)
Theoretical basis and code implementation of dueling dqn [pytoch + pendulum-v0]
Envi: (the most detailed tutorial in 2022) custom coordinate system
Latest installation tutorial of VMware Tools (rhel8)
XX City high school network topology overall planning configuration
Subline快捷操作
Dive into deep learning - 2.2 data preprocessing