Mercurial > hg > ishara
view arrows/@asignal/asignal.m @ 61:eff6bddf82e3 tip
Finally implemented perceptual brightness thing.
author | samer |
---|---|
date | Sun, 11 Oct 2015 10:20:42 +0100 |
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