| 1 |
<html> |
| 2 |
<head> |
| 3 |
<title>tooLAME changes</title> |
| 4 |
<style> |
| 5 |
<!-- BODY { BACKGROUND: #FFFFFF; COLOR: #000000; FONT-SIZE: 10pt; FONT-FAMILY: verdana, sans-serif } |
| 6 |
A { COLOR: #111177; TEXT-DECORATION: none } |
| 7 |
TD { font-size: medium; font-weight:normal } |
| 8 |
--!> |
| 9 |
</STYLE> |
| 10 |
</head> |
| 11 |
<body> |
| 12 |
<table border = 0 width="75%" align="center"><tr><td> |
| 13 |
<h1>TooLAME 02l - 2 March 2003</h1> |
| 14 |
<UL> |
| 15 |
<LI> <b>Major psychoacoustic model overhauls</b> |
| 16 |
<UL> |
| 17 |
<LI> For more detail, see <a href="psycho.html">psycho models</a> |
| 18 |
<LI> <b>Psychoacoustic Model 3</b> |
| 19 |
<UL> |
| 20 |
<LI> Psycho3 is a reimplementation of the psychoacoustic model 1 from the |
| 21 |
ISO standard. Pretty much totally rewritten from the ground up, following the nomenclature of the ISO standard. |
| 22 |
<LI> Uses arrays for keeping tone/noise labels rather than the really |
| 23 |
hard to grok pointer-stuff from the dist10 code. |
| 24 |
<LI> Uses Painter + Spanias' Formula for the ATH rather than the tables from the standard. |
| 25 |
<LI> Uses LAME's freq-to-bark conversion to construct the critical bands. |
| 26 |
<LI> Future: Needs a proper geometric mean for weighting the noise. Needs one more function added to the decimation routines which would eliminate maskers within 0.5 dB of each other. |
| 27 |
<LI> Eliminated all the ISO/dist10 tables. Everything is from equations or built from scratch. |
| 28 |
</ul> |
| 29 |
<LI> <b>Psychoacoustic Model 4</b> |
| 30 |
<UL> |
| 31 |
<LI> A reimplementation of psychoacoustic model 2. |
| 32 |
<LI> Eliminated all the ISO/dist10 tables. Everything (ath, bark, critical bands) is from equations or built from scratch |
| 33 |
<LI> FUTURE: For psycho model 2 and 4 there's some really bad "warbling" and "Davros" type noise. Depending on the loudness of your sound sample, this can get really annoying. I don't know where it's coming from. |
| 34 |
</ul> |
| 35 |
<LI> <b>Psychoacoustic Model 0</b> |
| 36 |
<UL> |
| 37 |
<LI> This model uses the ATH and the scalefactors for each subband to build an approximate SMR for each subband at nearly zero cost. |
| 38 |
<LI> Based upon an idea mentioned in "Low power mpeg/audio encoders using simplified psychoacoustic model and fast bit allocation" by Hyen-O Oh et al. |
| 39 |
<LI> For the amount of effort that this psycho model puts in, the results are pretty good. |
| 40 |
<LI> Future: Add some parameters to the equation to allow it to be tweaked on the fly. |
| 41 |
</UL> |
| 42 |
<LI> <b>Psychoacoustic Model -1</b> |
| 43 |
<UL> |
| 44 |
<LI> This is the old "fast" psychoacoustic model ("-f"). |
| 45 |
<LI> All it does is copy over a static set of pre-calculated SMR values |
| 46 |
<LI> Sounds OK for most stuff. |
| 47 |
</UL> |
| 48 |
</UL> |
| 49 |
<LI> <b>New bitstream encoding routines (encode_new.c)</b> |
| 50 |
<UL> |
| 51 |
<LI> All the old tables.c/alloc_table stuff is now superfluous. |
| 52 |
<LI> All tables are now at the top of encode_new.c |
| 53 |
<LI> The tables have quite a bit of indirection to get to the value that you need (but really not any more indirection than the old alloc_table stuff). Probably need to add some more docs to say what's going on. |
| 54 |
<LI> These new routines are the default, but you can remove the "NEWENCODE" definition and use the old ones (just in case). |
| 55 |
<LI> The new routines will become the default in the next release. |
| 56 |
</UL> |
| 57 |
<LI> <b>More speed</b> |
| 58 |
<UL> |
| 59 |
<LI> All the trig stuff for psychomodel 4 is now done with tables instead of calculating exact values. |
| 60 |
<LI> The <i>exact</i> trig values aren't really used directly in the encoder. They're sort of averaged over a couple of iterations and used as a predictor of uncertainty. So being off a few thousandths won't really affect anything. |
| 61 |
</UL> |
| 62 |
</UL> |
| 63 |
<HL> |
| 64 |
<h1>TooLAME 02k - 16 February 2003</h1> |
| 65 |
<UL> |
| 66 |
<LI> Some great speedups with a combined filtersubband and windowsubband (Ricardo Schelp ricardoschelp at arnet.com.ar) |
| 67 |
<LI> Cleaned up the psycho model calling (should be easier to add your own psycho |
| 68 |
model if you felt like having a hack) |
| 69 |
<LI> DAB Extensions are now of variable length controlled by an argument to the -D switch |
| 70 |
(Nicolas Croiset - ncroiset at vdl.fr) |
| 71 |
<LI> Fixed raw PCM reading to no longer miss the first 40 bytes. (MFC) |
| 72 |
<LI> No longer a 4GB limit when reading from stdin (or if your filesys supports) (Nicolas) |
| 73 |
<LI> Tweaks to the end of the bitstream to allow concatentation of mp2 files (Nicolas) |
| 74 |
<LI> Finally (?) fixed the segfaults using psy model 1 (Nicolas et al) |
| 75 |
</ul> |
| 76 |
<HL> |
| 77 |
<h1>TooLAME 02j - 12 Feb 2003</h1> |
| 78 |
<UL> |
| 79 |
<LI>Definitely LGPL now. |
| 80 |
|
| 81 |
<LI>encode.c - VBR mode has been stabilised to work correctly for all sampling frequencies (<a href="vbr.html">README.VBR</a> has more details) |
| 82 |
|
| 83 |
<LI>get_audio.c has become audio_read.c - cleaned up that really dodgy wave header parsing. |
| 84 |
(thanks to Philippe Jouguet - philippe.jouguet at vdl.fr and Henrik Herranen - leopold at vlsi.fi) |
| 85 |
|
| 86 |
<LI>spelling fix for 'extension' - Philippe again |
| 87 |
|
| 88 |
<LI>psycho_I.c - Speedup for "% 1408" calcs "-DSAMI_P1" sami.sallinen at g-cluster.com |
| 89 |
(about 4% overall speedup for me) |
| 90 |
|
| 91 |
<LI>subband.c - Pointer arithmetic for filter subband "-DSAMI_SB" (sami again) |
| 92 |
(doesn't give any advantage over gcc3.2 on my system) |
| 93 |
|
| 94 |
<LI>psycho_II.c |
| 95 |
<UL> |
| 96 |
<LI> enabled the use of gcc's _sincos(). "-DSINCOS -D_GNU_SOURCE" |
| 97 |
about a 5% overall speed-up in encoding (Philippe again) |
| 98 |
<LI> added the LSF frequencies so that you can use psy model 2 with LSF (good old Philippe) |
| 99 |
</UL> |
| 100 |
<LI>verbosity - added a '-t' flag to set the 'talkativity' level needed for transcode plugin (Andreas neukoetter - anti at webhome.de) |
| 101 |
|
| 102 |
<LI>toolame.c - LSF files should now select a valid default bitrate by default. (96kbps) |
| 103 |
|
| 104 |
</li> |
| 105 |
</tr></td> |
| 106 |
</body> |
| 107 |
</html> |