Mercurial > hg > ishara
view arrows/@asignal/asignal.m @ 42:ae596261e75f
Various fixes and development to audio handling
author | samer |
---|---|
date | Tue, 02 Dec 2014 14:51:13 +0000 |
parents | 672052bd81f8 |
children |
line wrap: on
line source
% asignal - Arrow which produces frames from a signal % % asignal :: % signal(C,R), % N:natural ~'block size', % M:natural ~'hop size' % -> arrow({},{[[C,N]]]}). % % asignal :: % signal(C,R), % N:natural ~'block size', % -> arrow({},{[[C,N]]]}). % % If hop size is omitted, it defaults to the block size function o=asignal(source,block,hop) if nargin<3, hop=block; end s.source=source; s.block=block; s.hop=hop; o=class(s,'asignal',arrow(0,1)); end