speexdsp.git
13 years agoOriginally written for Symbian, it is no longer needed since we figured
jm [Sun, 12 Nov 2006 22:30:13 +0000 (22:30 +0000)]
Originally written for Symbian, it is no longer needed since we figured
out how to use const properly

git-svn-id: http://svn.xiph.org/trunk/speex@12096 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoNow compiles fine with gcc 3.4 (which doesn't know about LC registers)
jm [Sun, 12 Nov 2006 14:55:15 +0000 (14:55 +0000)]
Now compiles fine with gcc 3.4 (which doesn't know about LC registers)

git-svn-id: http://svn.xiph.org/trunk/speex@12094 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoAdded some checks to detect if the echo canceller has gone unstable (shouldn't
jm [Sun, 12 Nov 2006 13:40:14 +0000 (13:40 +0000)]
Added some checks to detect if the echo canceller has gone unstable (shouldn't
happen, but it's good to check), in which case we reset it.

git-svn-id: http://svn.xiph.org/trunk/speex@12092 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoDocumentation for the echo canceller and preprocessor -- Yeh!!
jm [Sun, 12 Nov 2006 11:26:03 +0000 (11:26 +0000)]
Documentation for the echo canceller and preprocessor -- Yeh!!

git-svn-id: http://svn.xiph.org/trunk/speex@12091 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agocleanup, comments, better handling of clipping in AEC.
jm [Sun, 12 Nov 2006 10:23:38 +0000 (10:23 +0000)]
cleanup, comments, better handling of clipping in AEC.

git-svn-id: http://svn.xiph.org/trunk/speex@12089 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoImplemented atan in fixed-point and used it for toBARK. Also fixed a bug
jm [Sun, 12 Nov 2006 07:00:19 +0000 (07:00 +0000)]
Implemented atan in fixed-point and used it for toBARK. Also fixed a bug
in the float version of filterbank_new(). This was the last part of the
fixed-point convertion for the echo canceller+nonlinear processor (including
initialisation).

git-svn-id: http://svn.xiph.org/trunk/speex@12088 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoconverted most of the filterbank initialisation to fixed-point. Last on the
jm [Sat, 11 Nov 2006 03:56:01 +0000 (03:56 +0000)]
converted most of the filterbank initialisation to fixed-point. Last on the
list is toBARK().

git-svn-id: http://svn.xiph.org/trunk/speex@12084 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoa few checks just to be on the same (>0) side.
jm [Sat, 11 Nov 2006 03:48:23 +0000 (03:48 +0000)]
a few checks just to be on the same (>0) side.

git-svn-id: http://svn.xiph.org/trunk/speex@12083 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agopseudo-float divide operators should be more robust to invalid input and
jm [Fri, 10 Nov 2006 13:11:08 +0000 (13:11 +0000)]
pseudo-float divide operators should be more robust to invalid input and
probably faster as well.

git-svn-id: http://svn.xiph.org/trunk/speex@12075 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoDefined VSHR32 and using it instead of "if (shift>0)..."
jm [Fri, 10 Nov 2006 11:49:52 +0000 (11:49 +0000)]
Defined VSHR32 and using it instead of "if (shift>0)..."

git-svn-id: http://svn.xiph.org/trunk/speex@12074 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoReduced (and renamed) input buffer
jm [Thu, 9 Nov 2006 22:48:49 +0000 (22:48 +0000)]
Reduced (and renamed) input buffer

git-svn-id: http://svn.xiph.org/trunk/speex@12071 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoshouldn't call exit().
jm [Thu, 9 Nov 2006 22:13:35 +0000 (22:13 +0000)]
shouldn't call exit().

git-svn-id: http://svn.xiph.org/trunk/speex@12070 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoa bit of cleaning up and comments
jm [Thu, 9 Nov 2006 11:58:42 +0000 (11:58 +0000)]
a bit of cleaning up and comments

git-svn-id: http://svn.xiph.org/trunk/speex@12068 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoAdded a test for the second operand in MULT16_32_QX
jm [Wed, 8 Nov 2006 22:19:29 +0000 (22:19 +0000)]
Added a test for the second operand in MULT16_32_QX

git-svn-id: http://svn.xiph.org/trunk/speex@12067 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoFixed potential overflow in gradient computation. Need to make sure it really
jm [Wed, 8 Nov 2006 22:13:23 +0000 (22:13 +0000)]
Fixed potential overflow in gradient computation. Need to make sure it really
can't happen anymore.

git-svn-id: http://svn.xiph.org/trunk/speex@12066 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agokissfft initialisation no longer uses any float operation. I think
jm [Tue, 7 Nov 2006 15:02:52 +0000 (15:02 +0000)]
kissfft initialisation no longer uses any float operation. I think
the whole echo canceller+preprocessor are 100% float-free.

git-svn-id: http://svn.xiph.org/trunk/speex@12055 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoAdded a higher precision cosine approximation and used it for the
jm [Tue, 7 Nov 2006 13:25:33 +0000 (13:25 +0000)]
Added a higher precision cosine approximation and used it for the
WOLA window. Zero float operations left in preprocess.c.

git-svn-id: http://svn.xiph.org/trunk/speex@12054 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agomdf.c now has zero float operations left (again)
jm [Tue, 7 Nov 2006 09:41:02 +0000 (09:41 +0000)]
mdf.c now has zero float operations left (again)

git-svn-id: http://svn.xiph.org/trunk/speex@12053 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agodisabling some unused float operations
jm [Tue, 7 Nov 2006 08:34:10 +0000 (08:34 +0000)]
disabling some unused float operations

git-svn-id: http://svn.xiph.org/trunk/speex@12052 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoRe-wrote spx_sqrt in terms of spx_ilog4, a few MACs and 2 shifts.
jm [Mon, 6 Nov 2006 08:37:10 +0000 (08:37 +0000)]
Re-wrote spx_sqrt in terms of spx_ilog4, a few MACs and 2 shifts.

git-svn-id: http://svn.xiph.org/trunk/speex@12036 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoConverted gain floor computation to fixed-point. Think all the run-time part
jm [Sun, 5 Nov 2006 11:51:25 +0000 (11:51 +0000)]
Converted gain floor computation to fixed-point. Think all the run-time part
of the noise/echo suppressor are in fixed-point now.

git-svn-id: http://svn.xiph.org/trunk/speex@12021 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoFast Bark-scale gain computation is in fixed-point
jm [Sun, 5 Nov 2006 09:28:36 +0000 (09:28 +0000)]
Fast Bark-scale gain computation is in fixed-point

git-svn-id: http://svn.xiph.org/trunk/speex@12020 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agosome VAD stuff converted to fixed-point. Also, changed some int's in the _ctl()
jm [Sun, 5 Nov 2006 09:06:47 +0000 (09:06 +0000)]
some VAD stuff converted to fixed-point. Also, changed some int's in the _ctl()
interface to spx_int32_t.

git-svn-id: http://svn.xiph.org/trunk/speex@12019 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoOK, so allocating 4 bytes per short did tend to increase memory usage
jm [Sun, 5 Nov 2006 05:03:29 +0000 (05:03 +0000)]
OK, so allocating 4 bytes per short did tend to increase memory usage
unnecessarily... fixed now.

git-svn-id: http://svn.xiph.org/trunk/speex@12018 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoconverted noise averaging to fixed-point, completed hypergeometric function,
jm [Sun, 5 Nov 2006 04:16:57 +0000 (04:16 +0000)]
converted noise averaging to fixed-point, completed hypergeometric function,
removed normalisation of filterbank for fixed-point

git-svn-id: http://svn.xiph.org/trunk/speex@12017 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoFixed excessive MCRA min offset (but kept a small ont). Also fixed a divide
jm [Sun, 5 Nov 2006 03:09:23 +0000 (03:09 +0000)]
Fixed excessive MCRA min offset (but kept a small ont). Also fixed a divide
overflow

git-svn-id: http://svn.xiph.org/trunk/speex@12016 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoThink I'm done converting the MCRA part.
jm [Sat, 4 Nov 2006 22:26:44 +0000 (22:26 +0000)]
Think I'm done converting the MCRA part.

git-svn-id: http://svn.xiph.org/trunk/speex@12012 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoConverted output gain and Zframe. Also disabled AGC for fixed-point until
jm [Sat, 4 Nov 2006 15:20:42 +0000 (15:20 +0000)]
Converted output gain and Zframe. Also disabled AGC for fixed-point until
it works.

git-svn-id: http://svn.xiph.org/trunk/speex@12011 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoConverted conditional speech presence prob to fixed-point.
jm [Sat, 4 Nov 2006 14:58:24 +0000 (14:58 +0000)]
Converted conditional speech presence prob to fixed-point.

git-svn-id: http://svn.xiph.org/trunk/speex@12010 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoConverted Pframe, P1 and q to fixed-point.
jm [Sat, 4 Nov 2006 14:14:53 +0000 (14:14 +0000)]
Converted Pframe, P1 and q to fixed-point.

git-svn-id: http://svn.xiph.org/trunk/speex@12009 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoalmost done converting hypergeom_gain() to fixed-point
jm [Fri, 3 Nov 2006 12:03:17 +0000 (12:03 +0000)]
almost done converting hypergeom_gain() to fixed-point

git-svn-id: http://svn.xiph.org/trunk/speex@12003 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoHalf-way done converting hypergeometric function approximation
jm [Fri, 3 Nov 2006 11:03:04 +0000 (11:03 +0000)]
Half-way done converting hypergeometric function approximation
to fixed-point.

git-svn-id: http://svn.xiph.org/trunk/speex@12002 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoFixed the PSHR* functions for a shift of zero and fixed error messages
jm [Fri, 3 Nov 2006 10:26:22 +0000 (10:26 +0000)]
Fixed the PSHR* functions for a shift of zero and fixed error messages
in some operators.

git-svn-id: http://svn.xiph.org/trunk/speex@12001 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoConverted qcurve and probability of speech presence
jm [Fri, 3 Nov 2006 10:15:27 +0000 (10:15 +0000)]
Converted qcurve and probability of speech presence

git-svn-id: http://svn.xiph.org/trunk/speex@12000 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoI think it's generally a better idea to include the headers
jm [Fri, 3 Nov 2006 05:27:02 +0000 (05:27 +0000)]
I think it's generally a better idea to include the headers
and not the .c files.

git-svn-id: http://svn.xiph.org/trunk/speex@11999 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agolinear frequency loop now entirely in fixed-point.
jm [Thu, 2 Nov 2006 14:22:24 +0000 (14:22 +0000)]
linear frequency loop now entirely in fixed-point.

git-svn-id: http://svn.xiph.org/trunk/speex@11996 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agogain computation in linear frequency loop converted to fixed-point
jm [Thu, 2 Nov 2006 13:24:07 +0000 (13:24 +0000)]
gain computation in linear frequency loop converted to fixed-point

git-svn-id: http://svn.xiph.org/trunk/speex@11995 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoEXTRACT16() for correctness
jm [Thu, 2 Nov 2006 12:26:10 +0000 (12:26 +0000)]
EXTRACT16() for correctness

git-svn-id: http://svn.xiph.org/trunk/speex@11994 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoOops. Previous overflow fix had actually made things worse!
jm [Thu, 2 Nov 2006 12:18:25 +0000 (12:18 +0000)]
Oops. Previous overflow fix had actually made things worse!

git-svn-id: http://svn.xiph.org/trunk/speex@11993 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agofixed an overflow when the numerator is negative
jm [Thu, 2 Nov 2006 11:58:52 +0000 (11:58 +0000)]
fixed an overflow when the numerator is negative

git-svn-id: http://svn.xiph.org/trunk/speex@11992 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoI guess using the right precision in the operators helps.
jm [Thu, 2 Nov 2006 10:01:57 +0000 (10:01 +0000)]
I guess using the right precision in the operators helps.

git-svn-id: http://svn.xiph.org/trunk/speex@11991 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoConverted part of the filterbank and added MULT16_32_P15() to
jm [Thu, 2 Nov 2006 09:45:22 +0000 (09:45 +0000)]
Converted part of the filterbank and added MULT16_32_P15() to
the fixed-point debug build.

git-svn-id: http://svn.xiph.org/trunk/speex@11990 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agofixed undefined condition in PSHR/PSHR16/PSHR32 when shifting by zero
jm [Thu, 2 Nov 2006 08:37:08 +0000 (08:37 +0000)]
fixed undefined condition in PSHR/PSHR16/PSHR32 when shifting by zero

git-svn-id: http://svn.xiph.org/trunk/speex@11989 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoImproved the playback buffering.
jm [Thu, 2 Nov 2006 06:42:49 +0000 (06:42 +0000)]
Improved the playback buffering.

git-svn-id: http://svn.xiph.org/trunk/speex@11988 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoconverted computation of old_ps and prior_ratio
jm [Wed, 1 Nov 2006 14:40:26 +0000 (14:40 +0000)]
converted computation of old_ps and prior_ratio

git-svn-id: http://svn.xiph.org/trunk/speex@11985 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoconverted theta and prior_ratio to fixed-point.
jm [Wed, 1 Nov 2006 14:12:57 +0000 (14:12 +0000)]
converted theta and prior_ratio to fixed-point.

git-svn-id: http://svn.xiph.org/trunk/speex@11984 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoall important variables in the preprocessor state now in fixed-point. Still
jm [Wed, 1 Nov 2006 12:58:16 +0000 (12:58 +0000)]
all important variables in the preprocessor state now in fixed-point. Still
need to convert the rest of the algorithm.

git-svn-id: http://svn.xiph.org/trunk/speex@11983 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agogain and gain2 are now spx_word16_t, though computations are still float.
jm [Wed, 1 Nov 2006 12:32:17 +0000 (12:32 +0000)]
gain and gain2 are now spx_word16_t, though computations are still float.

git-svn-id: http://svn.xiph.org/trunk/speex@11982 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoSNR loop now entirely in fixed-point
jm [Wed, 1 Nov 2006 10:33:28 +0000 (10:33 +0000)]
SNR loop now entirely in fixed-point

git-svn-id: http://svn.xiph.org/trunk/speex@11981 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoa priori SNR in spx_word16_t
jm [Wed, 1 Nov 2006 10:17:51 +0000 (10:17 +0000)]
a priori SNR in spx_word16_t

git-svn-id: http://svn.xiph.org/trunk/speex@11980 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoa posteriori SNR now in spx_word16_t
jm [Wed, 1 Nov 2006 10:03:16 +0000 (10:03 +0000)]
a posteriori SNR now in spx_word16_t

git-svn-id: http://svn.xiph.org/trunk/speex@11979 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agogamma calculation converted (not the value).
jm [Wed, 1 Nov 2006 09:54:31 +0000 (09:54 +0000)]
gamma calculation converted (not the value).

git-svn-id: http://svn.xiph.org/trunk/speex@11978 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoRemoved explicit call to exit() in error handling.
jm [Wed, 1 Nov 2006 08:24:15 +0000 (08:24 +0000)]
Removed explicit call to exit() in error handling.

git-svn-id: http://svn.xiph.org/trunk/speex@11977 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoQuantizing noise estimate (with higher accuracy). Also quantized the ratio
jm [Tue, 31 Oct 2006 21:08:19 +0000 (21:08 +0000)]
Quantizing noise estimate (with higher accuracy). Also quantized the ratio
for the a priori and a posteriori SNR (but not the result yet).

git-svn-id: http://svn.xiph.org/trunk/speex@11972 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoRe-converted window to fixed-point
jm [Mon, 30 Oct 2006 13:12:18 +0000 (13:12 +0000)]
Re-converted window to fixed-point

git-svn-id: http://svn.xiph.org/trunk/speex@11971 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoA bit of backtracking to fix quality regressions. Need to re-convert st->noise,
jm [Mon, 30 Oct 2006 13:00:04 +0000 (13:00 +0000)]
A bit of backtracking to fix quality regressions. Need to re-convert st->noise,
the window and a priori/a posteriori SNR.

git-svn-id: http://svn.xiph.org/trunk/speex@11970 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoa priori SNR and a posteriori SNR computed with fixed-point
jm [Sun, 29 Oct 2006 23:27:52 +0000 (23:27 +0000)]
a priori SNR and a posteriori SNR computed with fixed-point
ratio (still stored as float).

git-svn-id: http://svn.xiph.org/trunk/speex@11969 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoanother MS user complaining about C99 code.
jm [Fri, 27 Oct 2006 14:54:14 +0000 (14:54 +0000)]
another MS user complaining about C99 code.

git-svn-id: http://svn.xiph.org/trunk/speex@11963 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agowindow is now spx_word16_t
jm [Fri, 27 Oct 2006 13:40:21 +0000 (13:40 +0000)]
window is now spx_word16_t

git-svn-id: http://svn.xiph.org/trunk/speex@11962 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoLast bits of the easy fixed-point conversions.
jm [Fri, 27 Oct 2006 13:24:47 +0000 (13:24 +0000)]
Last bits of the easy fixed-point conversions.

git-svn-id: http://svn.xiph.org/trunk/speex@11961 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoanother bunch of easy conversions to fixed-point (before the real work begins)
jm [Fri, 27 Oct 2006 12:35:08 +0000 (12:35 +0000)]
another bunch of easy conversions to fixed-point (before the real work begins)

git-svn-id: http://svn.xiph.org/trunk/speex@11960 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agops and echo_noise in fixed-point.
jm [Fri, 27 Oct 2006 11:36:04 +0000 (11:36 +0000)]
ps and echo_noise in fixed-point.

git-svn-id: http://svn.xiph.org/trunk/speex@11959 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoNow using fixed-point FFTs in the preprocessor.
jm [Fri, 27 Oct 2006 10:35:54 +0000 (10:35 +0000)]
Now using fixed-point FFTs in the preprocessor.

git-svn-id: http://svn.xiph.org/trunk/speex@11958 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoRemove relative path references to libspeex which caused problems with parallel make.
giles [Thu, 26 Oct 2006 15:53:19 +0000 (15:53 +0000)]
Remove relative path references to libspeex which caused problems with parallel make.

Automake takes care of gathering the build between subdirs, but the relative path caused
the local libspeex.la target not to be matched with the ../libspeex/libspeex.la
dependency, causing a build failure.

This doesn't appear to have broken building in a remote directory.

git-svn-id: http://svn.xiph.org/trunk/speex@11954 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoMerge updates to the autogen.sh script from other packages. Looks for higher version
giles [Thu, 26 Oct 2006 15:36:16 +0000 (15:36 +0000)]
Merge updates to the autogen.sh script from other packages. Looks for higher version
aclocal and automake executables in case the requested isn't available. Reorder the
call to libtoolize.

git-svn-id: http://svn.xiph.org/trunk/speex@11953 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agodebugged spx_ilog2() and added spx_ilog4()
jm [Thu, 26 Oct 2006 14:58:26 +0000 (14:58 +0000)]
debugged spx_ilog2() and added spx_ilog4()

git-svn-id: http://svn.xiph.org/trunk/speex@11952 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoImplemented exponential function (spx_exp) in fixed-point.
jm [Thu, 26 Oct 2006 13:15:20 +0000 (13:15 +0000)]
Implemented exponential function (spx_exp) in fixed-point.

git-svn-id: http://svn.xiph.org/trunk/speex@11951 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoThe World Institute for Mental Health recommends switching to the new
jm [Thu, 26 Oct 2006 00:13:14 +0000 (00:13 +0000)]
The World Institute for Mental Health recommends switching to the new
echo/preprocess API.

git-svn-id: http://svn.xiph.org/trunk/speex@11948 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoadded speex_echo_cancellation() without the last param, deprecated
jm [Wed, 25 Oct 2006 16:08:15 +0000 (16:08 +0000)]
added speex_echo_cancellation() without the last param, deprecated
speex_echo_cancel().

git-svn-id: http://svn.xiph.org/trunk/speex@11947 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoOops, re-enabling kissfft as default
jm [Wed, 25 Oct 2006 16:04:17 +0000 (16:04 +0000)]
Oops, re-enabling kissfft as default

git-svn-id: http://svn.xiph.org/trunk/speex@11946 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoQuick and dirty VAD replacement for now.
jm [Wed, 25 Oct 2006 10:13:07 +0000 (10:13 +0000)]
Quick and dirty VAD replacement for now.

git-svn-id: http://svn.xiph.org/trunk/speex@11945 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agochoose between linear and Bark scale computation of the gain
jm [Tue, 24 Oct 2006 13:16:22 +0000 (13:16 +0000)]
choose between linear and Bark scale computation of the gain

git-svn-id: http://svn.xiph.org/trunk/speex@11944 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoGain floor is now computed on the Bark scale. Some tuning as well.
jm [Tue, 24 Oct 2006 12:28:29 +0000 (12:28 +0000)]
Gain floor is now computed on the Bark scale. Some tuning as well.

git-svn-id: http://svn.xiph.org/trunk/speex@11943 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agosome tuning
jm [Mon, 23 Oct 2006 16:11:17 +0000 (16:11 +0000)]
some tuning

git-svn-id: http://svn.xiph.org/trunk/speex@11941 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agocleanup again
jm [Mon, 23 Oct 2006 16:00:59 +0000 (16:00 +0000)]
cleanup again

git-svn-id: http://svn.xiph.org/trunk/speex@11940 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agocode cleanup
jm [Mon, 23 Oct 2006 10:56:21 +0000 (10:56 +0000)]
code cleanup

git-svn-id: http://svn.xiph.org/trunk/speex@11938 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoNow possible to control the amount of noise and echo suppression through the
jm [Sun, 22 Oct 2006 03:24:40 +0000 (03:24 +0000)]
Now possible to control the amount of noise and echo suppression through the
_ctl() interface.

git-svn-id: http://svn.xiph.org/trunk/speex@11937 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agotuning and cleanup
jm [Sat, 21 Oct 2006 01:08:27 +0000 (01:08 +0000)]
tuning and cleanup

git-svn-id: http://svn.xiph.org/trunk/speex@11931 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoMixing linear scale and bark scale gains, plus some tuning.
jm [Fri, 20 Oct 2006 11:48:16 +0000 (11:48 +0000)]
Mixing linear scale and bark scale gains, plus some tuning.

git-svn-id: http://svn.xiph.org/trunk/speex@11928 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agomaking sure all global variables are const (for Symbian users)
jm [Fri, 20 Oct 2006 00:37:42 +0000 (00:37 +0000)]
making sure all global variables are const (for Symbian users)

git-svn-id: http://svn.xiph.org/trunk/speex@11927 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoAdded Bark filter bank. Need to make the Bark/Mel choice a proper option.
jm [Wed, 11 Oct 2006 14:44:12 +0000 (14:44 +0000)]
Added Bark filter bank. Need to make the Bark/Mel choice a proper option.

git-svn-id: http://svn.xiph.org/trunk/speex@11916 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoSome references for the black magic
jm [Wed, 11 Oct 2006 14:22:11 +0000 (14:22 +0000)]
Some references for the black magic

git-svn-id: http://svn.xiph.org/trunk/speex@11915 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoCan you believe I just commented the preprocessor code!
jm [Wed, 11 Oct 2006 14:03:59 +0000 (14:03 +0000)]
Can you believe I just commented the preprocessor code!

git-svn-id: http://svn.xiph.org/trunk/speex@11914 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoadaptive update window
jm [Wed, 11 Oct 2006 13:41:32 +0000 (13:41 +0000)]
adaptive update window

git-svn-id: http://svn.xiph.org/trunk/speex@11913 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoreplaced frame probability (Pframe)
jm [Wed, 11 Oct 2006 13:09:26 +0000 (13:09 +0000)]
replaced frame probability (Pframe)

git-svn-id: http://svn.xiph.org/trunk/speex@11912 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoactually use the filter bank properly (well, sort of)
jm [Wed, 11 Oct 2006 12:33:42 +0000 (12:33 +0000)]
actually use the filter bank properly (well, sort of)

git-svn-id: http://svn.xiph.org/trunk/speex@11911 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoBig preprocessor cleanup. Implemented mel filterbank. Removed crappy VAD.
jm [Tue, 10 Oct 2006 14:46:13 +0000 (14:46 +0000)]
Big preprocessor cleanup. Implemented mel filterbank. Removed crappy VAD.
Use the FFT wrapper now.

git-svn-id: http://svn.xiph.org/trunk/speex@11910 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoFixed a bug on 16-bit platforms (thanks Jim)
jm [Tue, 10 Oct 2006 14:41:51 +0000 (14:41 +0000)]
Fixed a bug on 16-bit platforms (thanks Jim)

git-svn-id: http://svn.xiph.org/trunk/speex@11909 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoOuch! Fixed a really bad uninitialised memory (well, initialised by the
jm [Wed, 4 Oct 2006 15:52:59 +0000 (15:52 +0000)]
Ouch! Fixed a really bad uninitialised memory (well, initialised by the
previous iteration, i.e. garbage) bug that could cause the AEC to diverge.

git-svn-id: http://svn.xiph.org/trunk/speex@11882 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoAdding the "f" suffix to float constants (path by Michael Jerris).
jm [Fri, 8 Sep 2006 09:58:21 +0000 (09:58 +0000)]
Adding the "f" suffix to float constants (path by Michael Jerris).

git-svn-id: http://svn.xiph.org/trunk/speex@11835 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoversion string with no dash Speex-1.2beta1
jm [Mon, 4 Sep 2006 11:50:37 +0000 (11:50 +0000)]
version string with no dash

git-svn-id: http://svn.xiph.org/trunk/speex@11826 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoTuning for low-energy echo.
jm [Thu, 31 Aug 2006 14:33:24 +0000 (14:33 +0000)]
Tuning for low-energy echo.

git-svn-id: http://svn.xiph.org/trunk/speex@11824 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoIncrease learning rate for some mis-adaptated conditions (lower bound on RER).
jm [Thu, 31 Aug 2006 14:19:47 +0000 (14:19 +0000)]
Increase learning rate for some mis-adaptated conditions (lower bound on RER).

git-svn-id: http://svn.xiph.org/trunk/speex@11823 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoshould recover better from no initial adaptation.
jm [Thu, 31 Aug 2006 07:31:04 +0000 (07:31 +0000)]
should recover better from no initial adaptation.

git-svn-id: http://svn.xiph.org/trunk/speex@11822 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agomore replacements of int with spx_int32_t
jm [Wed, 30 Aug 2006 14:05:00 +0000 (14:05 +0000)]
more replacements of int with spx_int32_t

git-svn-id: http://svn.xiph.org/trunk/speex@11821 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agominor tuning
jm [Wed, 30 Aug 2006 10:43:35 +0000 (10:43 +0000)]
minor tuning

git-svn-id: http://svn.xiph.org/trunk/speex@11820 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoChanged part of the API to use spx_int32_t instead of int (works better on
jm [Mon, 28 Aug 2006 10:11:26 +0000 (10:11 +0000)]
Changed part of the API to use spx_int32_t instead of int (works better on
16-bit architectures)

git-svn-id: http://svn.xiph.org/trunk/speex@11803 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoforgot to free memory for low_innov. sb_celp is now 100% leak free (AFAIK)
jm [Wed, 23 Aug 2006 04:47:35 +0000 (04:47 +0000)]
forgot to free memory for low_innov. sb_celp is now 100% leak free (AFAIK)

git-svn-id: http://svn.xiph.org/trunk/speex@11799 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agoremoved unused variable
jm [Tue, 22 Aug 2006 23:55:23 +0000 (23:55 +0000)]
removed unused variable

git-svn-id: http://svn.xiph.org/trunk/speex@11798 0101bb08-14d6-0310-b084-bc0e0c8e3800

13 years agolibtool version info
jm [Thu, 17 Aug 2006 13:33:34 +0000 (13:33 +0000)]
libtool version info

git-svn-id: http://svn.xiph.org/trunk/speex@11791 0101bb08-14d6-0310-b084-bc0e0c8e3800