Ok, thanks for your answers, they&#39;ve been all very helpfull.<br><br>But <br><br><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">&quot;currently the codebook is constant over all of the encoded files. It&#39;s an average case codebook, statically compiled against a typical training set of tracks,&quot;<br>

</blockquote><br>actually poses me a new question, of a more _philosophical_ nature. If the codebooks are obtained in that way, why don&#39;t just say &quot;I&#39;m using codebook N&quot; instead of packing the whole codebook within the setup header? I suppose the reason is to let people create their own codebooks (may be specialized in some specific kind of audio) and therefore obtain standalone audio files. Am I right?<br>

<br>Thank you again.<br><br>Jesús<br><br><div class="gmail_quote">On Sun, Aug 16, 2009 at 11:15 PM, Gregory Maxwell <span dir="ltr">&lt;<a href="mailto:gmaxwell@gmail.com">gmaxwell@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

<div class="im">On Sun, Aug 16, 2009 at 3:58 PM, Sampo Syreeni&lt;<a href="mailto:decoy@iki.fi">decoy@iki.fi</a>&gt; wrote:<br>
&gt; On 2009-08-16, Ralph Giles wrote:<br>
&gt;<br>
&gt;&gt; In the libvorbisenc implementation the codebooks are pre-generated<br>
&gt;&gt; based on training data, and a set are selected based on the quality<br>
&gt;&gt; setting.<br>
&gt;<br>
&gt; Or in other words, while Vorbis allows variable codebooks, currently the<br>
&gt; codebook is constant over all of the encoded files. It&#39;s an average case<br>
&gt; codebook, statically compiled against a typical training set of tracks,<br>
&gt; not something that is adapted separately to each and every encoded<br>
&gt; track. Adapting the codebook on the fly would be something of a research<br>
&gt; challenge.<br>
<br>
</div>Adjusting the huffman tables on the fly, OTOH, would be pretty<br>
straight forward. But there are downsides... like the inability to<br>
simply convert chained streams into non-chained ones. The savings is<br>
pretty small too.<br>
_______________________________________________<br>
Vorbis-dev mailing list<br>
<a href="mailto:Vorbis-dev@xiph.org">Vorbis-dev@xiph.org</a><br>
<a href="http://lists.xiph.org/mailman/listinfo/vorbis-dev" target="_blank">http://lists.xiph.org/mailman/listinfo/vorbis-dev</a><br>
</blockquote></div><br>