当前位置:网站首页>[short time average zero crossing rate] short time average zero crossing rate of speech signal based on MATLAB [including Matlab source code 1721]
[short time average zero crossing rate] short time average zero crossing rate of speech signal based on MATLAB [including Matlab source code 1721]
2022-06-25 06:20:00 【Purple extreme divine light】
One 、 How to get the code
How to get the code 1:
The complete code has been uploaded to my resources :【 Short time average zero crossing rate 】 be based on matlab Short time average zero crossing rate of speech signal 【 contain Matlab Source code 1721 period 】
How to get the code 2:
By subscribing to Ziji Shenguang blog Paid column , With proof of payment , Private Blogger , This code is available .
remarks :
Subscribe to Ziji Shenguang blog Paid column , Free access to 1 Copy code ( The period of validity From the Subscription Date , Valid for three days );
Two 、 Brief introduction to the principle of short-time average zero crossing rate
The short-time average zero crossing rate represents the number of times that the speech signal waveform crosses the horizontal axis in a frame of speech
3、 ... and 、 Partial source code
clear all; clc; close all;
filedir=[]; % Set the path
filename='s.wav'; % Set file name
fle=[filedir filename]; % Form the complete path and file name
[xx,Fs]=audioread(fle); % Read in the data file
x=detrend(xx); % Eliminate DC component
wlen=200; inc=80; % Set frame length 、 Frame shift
win=hanning(wlen); % Window function
N=length(x); % Find the data length
X=enframe(x,win,inc)'; % Framing
fn=size(X,2); % Get the number of frames
zcr1=zeros(1,fn); % initialization
time=(0:N-1)/Fs; % Calculate time coordinates
frameTime=frame2time(fn,wlen,inc,Fs); % Find the time corresponding to each frame
% Make a picture
subplot 211; plot(time,x,'k'); grid;
title(' Voice waveform ');
ylabel(' amplitude '); xlabel([' Time /s' 10 '(a)']);
subplot 212; plot(frameTime,zcr1,'k'); grid;
title(' Short time average zero crossing rate ');
ylabel(' amplitude '); xlabel([' Time /s' 10 '(b)']);
Four 、 Running results

5、 ... and 、matlab Edition and references
1 matlab edition
2014a
2 reference
[1] Han Jiqing , Zhang Lei , Zheng tieran . Voice signal processing ( The first 3 edition )[M]. tsinghua university press ,2019.
[2] Liu ruobian . Deep learning : Speech recognition technology practice [M]. tsinghua university press ,2019.
[3] Song Yunfei , Jiang zhancai , Wei Zhonghua . be based on MATLAB GUI Voice processing interface design [J]. Technology Information . 2013,(02)
边栏推荐
- JS to realize the encapsulation of the function of obtaining the mouse click position
- RM command – remove file or directory
- Invalid bound statement (not found)
- Uni app wechat applet customer service chat function
- [kicad image] download and installation
- How to use asemi FET 7n80 and how to use 7n80
- Grep command – powerful text search tool
- Highway
- Tail command – view the contents at the end of the file
- Forecast report on output demand and supply scale of global and Chinese structural ceramics market for semiconductor equipment (2022 Edition)
猜你喜欢

ctfshow-misc

Vegetables sklearn - xgboost (2)

Es11 new methods: dynamic import(), bigint, globalthis, optional chain, and null value merging operator
MySQL transaction learning notes (I) first encounter

Soft exam information system project manager_ Management Science (Operations Research) 2--- senior information system project manager of soft test 034

Click to send text messages without response is a common problem for many users in building the elegant grass Dragonfly Q system - solve the problem of clicking to send text messages without response

Add the author watermark plugin v1.4 update to the posts of elegant grass discuz plugin - some forums post errors and bugs have been fixed
Technology inventory: past, present and future of Message Oriented Middleware

Uni app wechat applet customer service chat function

C simple operation mongodb
随机推荐
ctfshow-misc
MySQL transaction learning notes (I) first encounter
Find command – find and search for files
China rehabilitation hospital industry operation benefit analysis and operation situation investigation report 2022
Invalid bound statement (not found)
Distributed solar photovoltaic inverter monitoring
Pre knowledge of asynchronous operation
An easy problem
Cat command – display the file contents on the terminal device
[Suanli network] technological innovation of Suanli Network -- Key Technologies of green and security
Grep command – powerful text search tool
Wireless industrial Internet of things data monitoring terminal
Laravel8+ wechat applet generates QR code
Getting started with Silverlight development 1
Understanding the dynamic mode of mongodb document
JS to realize the encapsulation of the function of obtaining the mouse click position
Rhcsa day 4
Global and China financial guarantee marketing strategy and channel dynamic construction report 2022
Echo command – output a string or extract the value of a shell variable
Netstat command – displays network status