Diff of /frames/frame.m [164e09] .. [a5c381] Maximize Restore

  Switch to unified view

a/frames/frame.m b/frames/frame.m
...
...
266
  case 'filterbank'
266
  case 'filterbank'
267
    F.red=sum(F.a(:,2)./F.a(:,1));
267
    F.red=sum(F.a(:,2)./F.a(:,1));
268
    F.length=@(Ls) filterbanklength(Ls,F.a);
268
    F.length=@(Ls) filterbanklength(Ls,F.a);
269
    F.lengthcoef=@(Ncoef) round(Ncoef/F.red);
269
    F.lengthcoef=@(Ncoef) round(Ncoef/F.red);
270
    F.native2coef=@(coef) cell2mat(coef(:));
270
    F.native2coef=@(coef) cell2mat(coef(:));
271
    F.coef2native=@(coef,s) mat2cell(coef,s(1)*F.a(:,2)./F.a(:,1));
271
    F.coef2native=@(coef,s) mat2cell(coef,s(1)/F.red*F.a(:,2)./F.a(:,1));
272
    F.frana=@(insig) framenative2coef(F,comp_filterbank(insig,F.g,F.a));
272
    F.frana=@(insig) framenative2coef(F,comp_filterbank(insig,F.g,F.a));
273
    F.frsyn=@(insig) ifilterbank(F.coef2native(insig,size(insig)),F.g,F.a);
273
    F.frsyn=@(insig) ifilterbank(F.coef2native(insig,size(insig)),F.g,F.a);
274
    
274
    
275
  case 'filterbankreal'
275
  case 'filterbankreal'
276
    F.red=2*sum(F.a(:,2)./F.a(:,1));
276
    F.red=2*sum(F.a(:,2)./F.a(:,1));