<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <style>
/* Linda's Style playground (c) 2011 L. A Walsh (permission given to
   do w/this anything other than claim my original as your own!
   -- <a class="moz-txt-link-abbreviated" href="mailto:dept.playgrounds@tlinx.org">dept.playgrounds@tlinx.org</a> )
*/
/* margin:(X):=T+B+R+L; (V H):V=T+B,H=R+L; (T H B):T,H=R+L, (T R B L) */

html,body {
font: 12pt "Lucida Console", monospace, fixed;
font-size-adjust:.50;
background-color:#f8fefb; color:#104060;
max-width:90ex; 
}


table, tbody, tr, td {font: inherit;font-size 11.4pt; }

p { margin: 1em; text-indent:1em }
p+p { margin-top: .75em;margin-bottom:.75em }

small { font-size:85.18% }
big { font-size:117.4% }

q { font-style:italic;
q.l { font-style:italic; font-family:cursive,sans-serif;}

em { font-variant:small-caps }
h6 { font-size:85.180%/117.398% }
h5 { font-size:100%/132.824% }
h4 { font-size:117.398%/161.803% }
h3 { font-size:132.824%/200.00% }
h2 { font-size:161.803%/234.797% }
h1 { font-size:200.000%/265.648% }

h1, h2, h3, h4, h5 {font-size: inherit; font-weight:bold}

h5, h6 {font-size: inherit; font-variant:small-caps;}
hr {font-family:monospace:fixed; width:90ex; margin:0;left}
h5 {font: inherit; font-weight:800 }
h6 { font: inherit; font-weight:700 }
h1,h2,h3,h4,h5,h6 { margin:1em }

blockquote { margin:1em 1em; font-style:italic; }
blockquote &gt; p, blockquote  &gt; blockquote {margin-top:0.50em;margin-bottom:0.50em; text-indent:0;}

* { -moz-tab-size:2; -o-tab-size:2; tab-size:2; }
pre, cite { margin: 1.2em .8em; }
pre, cite, tt {font-style:oblique; background-color:#f6f6f0; color:#202040;
font-family:"Lucida Console", monospace;
}
pre+pre {font-inherit; font-style:oblique; background-color:#f6f6f0; color:#202040;
margin:1ex .8em }

address {font inherit; font-style:oblique; font-family:"Cambria";}
address {font:inherit; margin:1em 3em; background-color:#f8faff;}
address+address {margin:0 2em}

img { margin:1.6em }

q:before { content:open-quote }
q:after { content:close-quote }

a, a:link, a:focus, a:visited {text-decoration:underline}
a:link { color:#44BB33 }
a:focus { color: #22FF11 }
a:visited { color: #557722 }

.sig { font: oblique 15.75pt/84pt "Lucida Handwriting",cursive }
.sig:first-letter {
float:left;
font: italic 56pt/84pt "Lucida Calligraphy",cursive;
font-weight:200;
}

#sig_fl {
float:left;font:italic 56pt/84pt "Lucida Calligraphy",cursive;
font-weight:200;
}

@font-face {font-family:Verdana; panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face {font-family:Cambria; panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face {font-family:"Lucida Calligraphy"; panose-1:3 1 1 1 1 1 1 1 1 1;}
@font-face {font-family:"Lucida Handwriting"; panose-1:3 1 1 1 1 1 1 1 1 1;}

.MsoNormal, .MsoNormalTab {
padding:0; margin:0; color:"darkmagenta"; background:"honeydew";
font: oblique 100%/100% "Calibri","Verdana","Arial" !important;
}
span.MsoNormal , span.MsoNormalTable {
font-family: inherit !important; font-size: inherit !important; font-style:
inherit !important; color: inherit !important;
}
span[font-family=Arial], span[font-family="Times New Roman"],
font[face=Arial] ,font[face="Times New Roman"] {
font-family: inherit !important; font-size-adjust:inherit !important;
font-size: inherit !important; line-height: inherit !important;
color: inherit !important;
}
  </style>
<!-- vim: ts=1 sw=1 et sc fo=cqwa1 tw=78 syntax=css
-->
</head>
<body>
Brian Willoughby wrote:
<blockquote id="mid_41708280-385E-41DE-BE76-DDD33B014FBB_sounds_wa_com"
 cite="mid:41708280-385E-41DE-BE76-DDD33B014FBB@sounds.wa.com"
 type="cite">
  <pre wrap="">On Jun 10, 2012, at 21:32, Linda A. Walsh wrote:
  </pre>
  <blockquote id="StationeryCiteGenerated_2" type="cite">
    <pre wrap="">what does the exhaustive model search do?

Does it try all of the functions listed under "-A" to find the 'best',
i.e. bartlett, bartlett_hann, blackman, blackman_har-
     ris_4term_92db, connes, flattop, gauss(STDDEV),  hamming,  hann,
     kaiser_bessel, nuttall, rectangle, triangle, tukey(P), welch.

Or is that something else?

I've been using the -e option for a while in my flac encoding,
but for something that sounds like it should be slow I wonder
if it is testing all the models or if it might not be
working correctly?

 Thanks...
    </pre>
  </blockquote>
  <pre wrap=""><!---->

A better question might be: "What do the -A options do?"

All of those windowing functions are lossy, and are used for  
frequency domain transforms.  I'm not sure how they would be used in  
a lossless encoder.  Then again, I have not yet studied the entire  
mathematics behind FLAC.


As for your question, I've never used the exhaustive model search  
option, but I had originally assumed that it meant a search among the  
various compression level options.  For example, -l -b -r -M and -m  
all are preset when using -0 through -9 and --fast and --best as if  
they were macros, but you can also manually set those options in  
different combinations.  I initially thought that the exhaustive  
search went through the -l -b -r -M/-m options to find an adaptive  
"best" compression rather than a preset one.

However, now that you've made me think about this in more detail, I  
tend to assume that the exhaustive model search has more to do with  
the LPC (linear predictive coding).  The key to lossless compression  
is to find a model that predicts each sample from the previous  
samples, and the better the model the smaller the file.  An  
exhaustive model search must go through all possible LPC models  
rather than the quicker default list.


Anyway, my apologies for responding without an actual answer, but a  
conversation might be slightly more interesting than a quick answer  
(I hope).

Brian Willoughby
Sound Consulting

_______________________________________________
Flac mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Flac@xiph.org">Flac@xiph.org</a>
<a class="moz-txt-link-freetext" href="http://lists.xiph.org/mailman/listinfo/flac">http://lists.xiph.org/mailman/listinfo/flac</a>
  </pre>
</blockquote>
</body>
</html>