Mercurial > hg > ishara
view dsp/frames.m @ 42:ae596261e75f
Various fixes and development to audio handling
author | samer |
---|---|
date | Tue, 02 Dec 2014 14:51:13 +0000 |
parents | c3b0cd708782 |
children |
line wrap: on
line source
function X=frames(Y,N,H) % frames - Buffer signal, like buffer, but using hop instead of overlap % % frames :: % [[T]] ~ 'signal to buffer', % N:natural ~ 'frame size', % M:natural ~ 'hop size' % -> [[N,L]] ~ 'array of frames' :- L=ceil((T-N)/M). X=buffer(Y,N,N-H,'nodelay');