> Segher, shouldn't the formula be:
> 
> > if (x > (0.5 * (pow(i, 4.0/3.0) + pow(i+1, 4.0/3.0)) 
> >     i++;
> 
> 
> Mark

No, if you use 4/3, you optimize for sample amplitude; but we'd like
the sample _energy_ to be optimal, so 8/3.

Ciao,

Segher


--
MP3 ENCODER mailing list ( http://geek.rcc.se/mp3encoder/ )

Reply via email to