Short time average over 0 rate

Source: Internet
Author: User

1. definition

In the case of discrete-time speech signals, if an adjacent sample has a different algebraic symbol, it is known to have occurred over 0. The number of times in a unit time is 0 and is called over 0. The short-term average over 0 rate is defined as


At the moment, I haven't figured out why the speech signal is truncated. Why should I convolution a window function, why not multiply it directly?

consider that the non-0 value range of w(n-m) is n-m≥ 0, which is mn, and n-mn -1, so mn-n+1, so the short-term average over 0 rate can be rewritten as:Here is the MATLAB program
Clear All[signal,fs,bit] = Wavread (' 1.wav '); subplot (3,1,1) plot (signal); title (' Voice signal waveform '); framelength = 150; Framenumber = fix (Length (signal)/framelength); For i = 1:framenumber;% frame processing    framesignal = Signal ((i-1) *framelength+ 1:i*framelength);% extract a frame signal    Z (i) = 0;    for j = 2:framelength-1;        Z (i) = Z (i) +abs (sign (framesignal (j))-sign (Framesignal (j-1)));% calculates the frame over 0 rate    Endendsubplot (3,1,2) plot (Z); Short time average over 0 ')
I recorded the sound myself. Below is the voice waveform, and over 0 rate picture


Short time average over 0 rate

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.