Code covered by the BSD License
by Costas Panagiotakis
05 Jun 2013 (Updated 26 Feb 2015)
This code implements a method for a speech/music discriminator based on RMS and zero-crossings.
%Computes the RMS of signal y function [x] = RMS(y) x = 0; for i=1:length(y), x = x+y(i)*y(i); end x =sqrt(x);
Contact us