1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-12-08 09:36:24 +01:00

Update twolame to 0.3.13.

This commit is contained in:
lllucius
2013-10-24 04:32:13 +00:00
parent 99acb56af6
commit 3effa9693f
124 changed files with 44671 additions and 44430 deletions

View File

@@ -18,7 +18,7 @@
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
* $Id: psycho_n1.c,v 1.3 2008-02-01 19:44:35 richardash1981 Exp $
* $Id$
*
*/
@@ -38,37 +38,37 @@
// From Castanets.wav
static const FLOAT snrdef[32] = {
30, 17, 16, 10, 3, 12, 8, 2.5, 5, 5, 6, 6, 5, 6, 10, 6, -4,
-10, -21, -30, -42, -55, -68, -75, -75, -75, -75, -75, -91, -107, -110, -108
30, 17, 16, 10, 3, 12, 8, 2.5, 5, 5, 6, 6, 5, 6, 10, 6, -4,
-10, -21, -30, -42, -55, -68, -75, -75, -75, -75, -75, -91, -107, -110, -108
};
#ifdef TESTSNR
// Using TMBG song "I am not your broom" about 1min. Psy Model 2
static const FLOAT snrdefa[32] = {
31, 17, 11, 9, 9, 7, 5, 3, 3, 3, 3, 3, 3, 1, -0, -2,
-5, -9,-15,-22,-32,-42,-54,-62,-63,-64,-66,-67,-83,-96,-98,-102
static const FLOAT snrdefa[32] = {
31, 17, 11, 9, 9, 7, 5, 3, 3, 3, 3, 3, 3, 1, -0, -2,
-5, -9, -15, -22, -32, -42, -54, -62, -63, -64, -66, -67, -83, -96, -98, -102
};
// Using Babylon5 "messages from earth: track 6" 15mins. Psy Model 2.
static const FLOAT snrdefb[32] = {
30, 17, 11, 9, 8, 9, 6, 5, 5, 4, 4, 3, 2, -0, -2, -5,
-8,-13,-19,-27,-35,-46,-55,-64,-65,-66,-68,-69,-84,-97,-99,-104
30, 17, 11, 9, 8, 9, 6, 5, 5, 4, 4, 3, 2, -0, -2, -5,
-8, -13, -19, -27, -35, -46, -55, -64, -65, -66, -68, -69, -84, -97, -99, -104
};
// Using Babylon5 "messages from earth: track 6" 15mins. Psy Model 1
static const FLOAT snrdefc[32] = {
32, 26, 22, 18, 16, 14, 12, 11, 10, 9, 9, 8, 6, 6, 4, 2,
0, -2, -7,-12,-18,-27,-35,-47,-53,-54,-56,-57,-57,-70, 0, 0
32, 26, 22, 18, 16, 14, 12, 11, 10, 9, 9, 8, 6, 6, 4, 2,
0, -2, -7, -12, -18, -27, -35, -47, -53, -54, -56, -57, -57, -70, 0, 0
};
#endif
void psycho_n1(twolame_options *glopts, FLOAT ltmin[2][SBLIMIT], int stereo)
void psycho_n1(twolame_options * glopts, FLOAT ltmin[2][SBLIMIT], int stereo)
{
int i, k;
for (k = 0; k < stereo; k++)
for (i = 0; i < SBLIMIT; i++)
ltmin[k][i] = snrdef[i];
int i, k;
for (k = 0; k < stereo; k++)
for (i = 0; i < SBLIMIT; i++)
ltmin[k][i] = snrdef[i];
}
// vim:ts=4:sw=4:nowrap: