While implementing M/S threshold calculations for FAAC, I noticed some
things that could be improved in GPSYCHO.
The formula for the BMLD protection ratios you reverse engineered should
look like this:
mld[b] = pow(10, -3*(0.5+0.5*(M_PI*(min(bval[b], 15.5)/15.5))));
I took this from the 14496-3 ISO document.
If you want to see what the rest of the calculations should look like, you
should take a look at psy_step11andahalf() in psych.c from FAAC 0.55beta.
Also the paper advises to use the more tonal tonality values from the left
and right channels for the mid and side channels. And the minimum of
unpredictability from the left and right channels for both the mid and side
channels.
I haven't tried this in LAME myself, but in FAAC it works very good.
Bye, Menno
--
MP3 ENCODER mailing list ( http://geek.rcc.se/mp3encoder/ )