speexdsp.git
12 years agouses files instead of vars.
jm [Fri, 16 Mar 2007 14:27:26 +0000 (14:27 +0000)]
uses files instead of vars.

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

12 years agoSome code to make it easier to diagnose echo cancellation issues.
jm [Fri, 16 Mar 2007 14:18:43 +0000 (14:18 +0000)]
Some code to make it easier to diagnose echo cancellation issues.

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

12 years agoDoing some sanity checking (just in case) on the propagated long-term
jm [Thu, 15 Mar 2007 23:32:36 +0000 (23:32 +0000)]
Doing some sanity checking (just in case) on the propagated long-term
prediction

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

12 years agoMerging Trimedia support contributed by Hong Zhiqian (incomplete for now)
jm [Thu, 15 Mar 2007 13:13:25 +0000 (13:13 +0000)]
Merging Trimedia support contributed by Hong Zhiqian (incomplete for now)

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

12 years agoFixed an low bit-rate ultrawideband encoder bug (not that people should
jm [Wed, 14 Mar 2007 13:56:24 +0000 (13:56 +0000)]
Fixed an low bit-rate ultrawideband encoder bug (not that people should
actually use that in the first place...).

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

12 years agoComputing last_ener based on excitation energy, not synthesis energy. This
jm [Wed, 14 Mar 2007 13:23:21 +0000 (13:23 +0000)]
Computing last_ener based on excitation energy, not synthesis energy. This
fixes some packet loss concealment problems.

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

12 years agoFixed minor pi_gain synchronisation problem in the wideband decoder. Should
jm [Wed, 14 Mar 2007 09:31:06 +0000 (09:31 +0000)]
Fixed minor pi_gain synchronisation problem in the wideband decoder. Should
increase quality slightly.

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

12 years agoChanged the sign of a bunch of parameters in the API. Tons of signed/unsigned
jm [Mon, 12 Mar 2007 13:55:23 +0000 (13:55 +0000)]
Changed the sign of a bunch of parameters in the API. Tons of signed/unsigned
changes in the code as a consequence of that. Hopefully this will be the last
change to the API.

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

12 years agofixed some warnings.
jm [Sun, 11 Mar 2007 14:29:07 +0000 (14:29 +0000)]
fixed some warnings.

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

12 years agoAccuracy improvement in radix-2 butterfly.
jm [Sun, 11 Mar 2007 14:22:35 +0000 (14:22 +0000)]
Accuracy improvement in radix-2 butterfly.

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

12 years agoUn-b0rked the floating-point version.
jm [Sun, 11 Mar 2007 14:18:41 +0000 (14:18 +0000)]
Un-b0rked the floating-point version.

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

12 years agoSlight accuract improvement for real FFT.
jm [Sun, 11 Mar 2007 14:15:01 +0000 (14:15 +0000)]
Slight accuract improvement for real FFT.

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

12 years agooops, don't want stdio included
jm [Sun, 11 Mar 2007 12:50:14 +0000 (12:50 +0000)]
oops, don't want stdio included

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

12 years agoReducing the number of butterfly function calls.
jm [Sun, 11 Mar 2007 12:49:41 +0000 (12:49 +0000)]
Reducing the number of butterfly function calls.

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

12 years agoOops, C_MUL4 defined for float as well.
jm [Fri, 9 Mar 2007 21:25:12 +0000 (21:25 +0000)]
Oops, C_MUL4 defined for float as well.

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

12 years agofixed uninitialised variable.
jm [Fri, 9 Mar 2007 20:58:35 +0000 (20:58 +0000)]
fixed uninitialised variable.

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

12 years agoImproved accuracy in forward fixed-point radix-4 butterfly.
jm [Fri, 9 Mar 2007 08:07:04 +0000 (08:07 +0000)]
Improved accuracy in forward fixed-point radix-4 butterfly.

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

12 years agoquality_map should be local as well
jm [Fri, 9 Mar 2007 05:57:08 +0000 (05:57 +0000)]
quality_map should be local as well

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

12 years agooops, missing prototype.
jm [Fri, 9 Mar 2007 04:19:06 +0000 (04:19 +0000)]
oops, missing prototype.

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

12 years agoGetting rid of ugly (and dangerous) static data in kiss_fft.
jm [Fri, 9 Mar 2007 03:39:02 +0000 (03:39 +0000)]
Getting rid of ugly (and dangerous) static data in kiss_fft.

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

12 years agoremoved copy buffer now that I modified kiss_fft to use the right format.
jm [Thu, 8 Mar 2007 22:32:53 +0000 (22:32 +0000)]
removed copy buffer now that I modified kiss_fft to use the right format.

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

12 years agoJITTER_BUFFER_GET_AVAILABLE_COUNT (patch by pwk)
jm [Wed, 7 Mar 2007 22:28:11 +0000 (22:28 +0000)]
JITTER_BUFFER_GET_AVAILABLE_COUNT (patch by pwk)

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

12 years agoadded late_cutoff cleanly.
jm [Wed, 7 Mar 2007 06:07:37 +0000 (06:07 +0000)]
added late_cutoff cleanly.

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

12 years agoMaking jitter buffer harder to misuse -- and closer to the original version of
jm [Wed, 7 Mar 2007 03:44:25 +0000 (03:44 +0000)]
Making jitter buffer harder to misuse -- and closer to the original version of
it.

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

12 years agosecond attempt...
jm [Tue, 6 Mar 2007 13:43:14 +0000 (13:43 +0000)]
second attempt...

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

12 years agoTrying out a different way to adjust the buffer...
jm [Tue, 6 Mar 2007 13:02:04 +0000 (13:02 +0000)]
Trying out a different way to adjust the buffer...

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

12 years agoPatch by Peter Kirk (pwk) to use LE32 properly.
jm [Tue, 6 Mar 2007 12:01:30 +0000 (12:01 +0000)]
Patch by Peter Kirk (pwk) to use LE32 properly.

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

12 years agoMaking foreground filter 16-bit saves some memory in fixed-point.
jm [Mon, 5 Mar 2007 13:39:52 +0000 (13:39 +0000)]
Making foreground filter 16-bit saves some memory in fixed-point.

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

12 years agoRemoved one step of unnecessary copying of data and instead changed the
jm [Mon, 5 Mar 2007 12:32:16 +0000 (12:32 +0000)]
Removed one step of unnecessary copying of data and instead changed the
packing of the kiss_fft real fft.

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

12 years agosome comments on the algorithm
jm [Mon, 5 Mar 2007 09:14:02 +0000 (09:14 +0000)]
some comments on the algorithm

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

12 years agoMoved filters from state to stack for wideband encoder (~180 bytes in fixed-
jm [Sun, 4 Mar 2007 08:22:04 +0000 (08:22 +0000)]
Moved filters from state to stack for wideband encoder (~180 bytes in fixed-
point).

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

12 years agoHide internal _ctl() requests from the public header file.
jm [Sun, 4 Mar 2007 04:54:36 +0000 (04:54 +0000)]
Hide internal _ctl() requests from the public header file.

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

12 years agoMoved 20 filter coefs from state to stack in wideband decoder.
jm [Sun, 4 Mar 2007 04:41:49 +0000 (04:41 +0000)]
Moved 20 filter coefs from state to stack in wideband decoder.

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

12 years agodocument the fact that the encoder input is used as scratch.
jm [Sun, 4 Mar 2007 04:30:51 +0000 (04:30 +0000)]
document the fact that the encoder input is used as scratch.

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

12 years agocleanup dist, added resampler in distribution (not build).
jm [Fri, 2 Mar 2007 11:15:10 +0000 (11:15 +0000)]
cleanup dist, added resampler in distribution (not build).

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

12 years agocomments
jm [Thu, 22 Feb 2007 02:56:02 +0000 (02:56 +0000)]
comments

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

12 years agofixed-point preprocessor fix (conj_window)
jm [Thu, 22 Feb 2007 02:55:22 +0000 (02:55 +0000)]
fixed-point preprocessor fix (conj_window)

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

13 years agoYay, it gets even uglier...
jm [Wed, 21 Feb 2007 14:37:36 +0000 (14:37 +0000)]
Yay, it gets even uglier...

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

13 years agoKaiser4 was a bit too extreme. Using Kaiser6 even at q0.
jm [Wed, 21 Feb 2007 13:55:00 +0000 (13:55 +0000)]
Kaiser4 was a bit too extreme. Using Kaiser6 even at q0.

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

13 years agoPreventing symbol clashes in case the resampler is copied
jm [Wed, 21 Feb 2007 13:46:27 +0000 (13:46 +0000)]
Preventing symbol clashes in case the resampler is copied
outside of Speex, but we end up linking with Speex anyway.
This is ugly!

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

13 years agodefined MULT16_32_Q15 for OUTSIDE_SPEEX. Fixed stupid IO stride bug.
jm [Tue, 20 Feb 2007 04:17:27 +0000 (04:17 +0000)]
defined MULT16_32_Q15 for OUTSIDE_SPEEX. Fixed stupid IO stride bug.

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

13 years agoresampling computation (not initialisation yet) is completely in fixed-point.
jm [Mon, 19 Feb 2007 11:28:08 +0000 (11:28 +0000)]
resampling computation (not initialisation yet) is completely in fixed-point.

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

13 years agoUsing a double precision accumulator for quality 9 and 10.
jm [Sun, 18 Feb 2007 13:38:52 +0000 (13:38 +0000)]
Using a double precision accumulator for quality 9 and 10.

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

13 years agoKaiser 12 for really high quality settings
jm [Sun, 18 Feb 2007 13:05:59 +0000 (13:05 +0000)]
Kaiser 12 for really high quality settings

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

13 years agoFixed the window, so it doesn't get shrunk by the "cutoff" factor.
jm [Thu, 15 Feb 2007 03:48:15 +0000 (03:48 +0000)]
Fixed the window, so it doesn't get shrunk by the "cutoff" factor.

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

13 years agooops, fixed segfault
jm [Wed, 14 Feb 2007 13:47:38 +0000 (13:47 +0000)]
oops, fixed segfault

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

13 years agoAdded the get functions, some tweaks to the "magic samples".
jm [Wed, 14 Feb 2007 01:12:30 +0000 (01:12 +0000)]
Added the get functions, some tweaks to the "magic samples".

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

13 years agomore doc
jm [Mon, 12 Feb 2007 15:22:26 +0000 (15:22 +0000)]
more doc

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

13 years agoSome formatting so that Mike can stop killing kittens.
jm [Mon, 12 Feb 2007 15:16:22 +0000 (15:16 +0000)]
Some formatting so that Mike can stop killing kittens.

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

13 years agoupdated example for API change.
jm [Mon, 12 Feb 2007 14:51:32 +0000 (14:51 +0000)]
updated example for API change.

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

13 years agoSeparated the normal (integer frequency) calls from the fractional frequency
jm [Mon, 12 Feb 2007 14:50:06 +0000 (14:50 +0000)]
Separated the normal (integer frequency) calls from the fractional frequency
calls.

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

13 years agoAdded interleave_int() call.
jm [Mon, 12 Feb 2007 14:37:55 +0000 (14:37 +0000)]
Added interleave_int() call.

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

13 years agowindow type changes with quality.
jm [Mon, 12 Feb 2007 14:12:59 +0000 (14:12 +0000)]
window type changes with quality.

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

13 years agoTables for Kaiser orders 4, 6, 8.
jm [Mon, 12 Feb 2007 14:02:32 +0000 (14:02 +0000)]
Tables for Kaiser orders 4, 6, 8.

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

13 years agoNew quality table, need to implement all orders 4,6,8.
jm [Mon, 12 Feb 2007 13:41:59 +0000 (13:41 +0000)]
New quality table, need to implement all orders 4,6,8.

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

13 years agoUsing a Kaiser window of order 10 instead of the Blackman window. Need to make
jm [Mon, 12 Feb 2007 12:50:55 +0000 (12:50 +0000)]
Using a Kaiser window of order 10 instead of the Blackman window. Need to make
the order variable now.

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

13 years agoMaking quality map const. Thanks Lennart.
jm [Tue, 6 Feb 2007 10:56:43 +0000 (10:56 +0000)]
Making quality map const. Thanks Lennart.

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

13 years agodefining M_PI if it's not.
jm [Tue, 6 Feb 2007 01:19:26 +0000 (01:19 +0000)]
defining M_PI if it's not.

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

13 years agoMore API doc
jm [Mon, 5 Feb 2007 21:51:07 +0000 (21:51 +0000)]
More API doc

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

13 years agosome API documentation
jm [Mon, 5 Feb 2007 10:58:55 +0000 (10:58 +0000)]
some API documentation

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

13 years agoBetter (I think) tuning of the filter bandwidth.
jm [Mon, 5 Feb 2007 09:20:33 +0000 (09:20 +0000)]
Better (I think) tuning of the filter bandwidth.

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

13 years agofilter cutoffs are now quality-dependent
jm [Mon, 5 Feb 2007 02:34:29 +0000 (02:34 +0000)]
filter cutoffs are now quality-dependent

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

13 years agofloat<->int conversion with a few less bugs (actually works for the first time)
jm [Sun, 4 Feb 2007 11:55:24 +0000 (11:55 +0000)]
float<->int conversion with a few less bugs (actually works for the first time)

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

13 years agofixed input stride bug.
jm [Sun, 4 Feb 2007 10:48:03 +0000 (10:48 +0000)]
fixed input stride bug.

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

13 years agoper-channel data done right (I think).
jm [Sat, 3 Feb 2007 23:11:37 +0000 (23:11 +0000)]
per-channel data done right (I think).

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

13 years agorelecting resampler through a function pointer.
jm [Sat, 3 Feb 2007 22:06:09 +0000 (22:06 +0000)]
relecting resampler through a function pointer.

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

13 years agosplit the processing into two "backend" functions: one for the direct sinc case
jm [Sat, 3 Feb 2007 13:31:15 +0000 (13:31 +0000)]
split the processing into two "backend" functions: one for the direct sinc case
and one for the interpolated case.

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

13 years agoNew, improved. Now with 100% less memory corruption.
jm [Sat, 3 Feb 2007 12:50:57 +0000 (12:50 +0000)]
New, improved. Now with 100% less memory corruption.

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

13 years agoInitial support for changing the filter length without screwing up the
jm [Sat, 3 Feb 2007 12:38:59 +0000 (12:38 +0000)]
Initial support for changing the filter length without screwing up the
output in the process.

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

13 years agoremembering how much was allocated
jm [Fri, 2 Feb 2007 14:29:34 +0000 (14:29 +0000)]
remembering how much was allocated

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

13 years agooops, removed debug code
jm [Fri, 2 Feb 2007 14:05:06 +0000 (14:05 +0000)]
oops, removed debug code

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

13 years agoinitial support for changing the filter length on the fly...
jm [Fri, 2 Feb 2007 14:03:39 +0000 (14:03 +0000)]
initial support for changing the filter length on the fly...

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

13 years agoAdded definitions for quality settings.
jm [Fri, 2 Feb 2007 10:03:37 +0000 (10:03 +0000)]
Added definitions for quality settings.

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

13 years agomore variable quality stuff
jm [Thu, 1 Feb 2007 22:44:51 +0000 (22:44 +0000)]
more variable quality stuff

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

13 years agoChanged the resampler API again. Introducing a quality setting.
jm [Thu, 1 Feb 2007 14:02:40 +0000 (14:02 +0000)]
Changed the resampler API again. Introducing a quality setting.

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

13 years agooversampling is part of the state.
jm [Thu, 1 Feb 2007 06:44:20 +0000 (06:44 +0000)]
oversampling is part of the state.

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

13 years agosplit the filter update part.
jm [Wed, 31 Jan 2007 06:34:21 +0000 (06:34 +0000)]
split the filter update part.

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

13 years agoSome comments. Switched to Blackham window for now (instead of Hanning)
jm [Mon, 29 Jan 2007 13:18:50 +0000 (13:18 +0000)]
Some comments. Switched to Blackham window for now (instead of Hanning)

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

13 years agoAdded _ctl() calls for the AGC gain limits.
jm [Tue, 23 Jan 2007 12:00:08 +0000 (12:00 +0000)]
Added _ctl() calls for the AGC gain limits.

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

13 years agofixed stupid fixed-point bug. Also defined WORD2INT()
jm [Tue, 23 Jan 2007 10:18:23 +0000 (10:18 +0000)]
fixed stupid fixed-point bug. Also defined WORD2INT()

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

13 years agotaking cutoff frequency into account for the gain (oops!!)
jm [Tue, 23 Jan 2007 04:02:54 +0000 (04:02 +0000)]
taking cutoff frequency into account for the gain (oops!!)

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

13 years agoresampler inner loop in fixed-point
jm [Mon, 22 Jan 2007 15:12:36 +0000 (15:12 +0000)]
resampler inner loop in fixed-point

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

13 years agofixed-point resampler: doing the easy bits first
jm [Mon, 22 Jan 2007 14:56:23 +0000 (14:56 +0000)]
fixed-point resampler: doing the easy bits first

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

13 years agostarting fixed-point version of resampler.
jm [Mon, 22 Jan 2007 14:33:23 +0000 (14:33 +0000)]
starting fixed-point version of resampler.

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

13 years agoremoving the div from the outer loop.
jm [Mon, 22 Jan 2007 13:53:52 +0000 (13:53 +0000)]
removing the div from the outer loop.

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

13 years agoseparated into header, source and test program.
jm [Mon, 22 Jan 2007 04:58:07 +0000 (04:58 +0000)]
separated into header, source and test program.

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

13 years agointerleaved access, fixed short input buf.
jm [Mon, 22 Jan 2007 03:49:56 +0000 (03:49 +0000)]
interleaved access, fixed short input buf.

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

13 years agoimplemented reset
jm [Mon, 22 Jan 2007 00:31:16 +0000 (00:31 +0000)]
implemented reset

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

13 years agochanging the sampling rate should now work
jm [Sun, 21 Jan 2007 21:54:26 +0000 (21:54 +0000)]
changing the sampling rate should now work

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

13 years agoAPI
jm [Sun, 21 Jan 2007 13:40:08 +0000 (13:40 +0000)]
API

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

13 years agoimplemented input/output stride. Not yet tested though.
jm [Sun, 21 Jan 2007 13:29:28 +0000 (13:29 +0000)]
implemented input/output stride. Not yet tested though.

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

13 years agoupdated API as discussed with Lennart and Mikko
jm [Sun, 21 Jan 2007 12:51:25 +0000 (12:51 +0000)]
updated API as discussed with Lennart and Mikko

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

13 years agoImplemented cubic interpolation of the (windowed) sinc, reducing the size
jm [Sun, 21 Jan 2007 05:06:57 +0000 (05:06 +0000)]
Implemented cubic interpolation of the (windowed) sinc, reducing the size
of the table.

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

13 years agoDown-sampling now doing the right thing and using a lower cutoff frequency.
jm [Sat, 20 Jan 2007 11:50:09 +0000 (11:50 +0000)]
Down-sampling now doing the right thing and using a lower cutoff frequency.

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

13 years agointerpolate after accumulation
jm [Sat, 20 Jan 2007 11:06:55 +0000 (11:06 +0000)]
interpolate after accumulation

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

13 years agoNow doing linear interpolation instead of sin(x)/x for large denominators
jm [Sat, 20 Jan 2007 09:51:14 +0000 (09:51 +0000)]
Now doing linear interpolation instead of sin(x)/x for large denominators

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

13 years agoAPI stuff
jm [Fri, 19 Jan 2007 03:37:40 +0000 (03:37 +0000)]
API stuff

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

13 years agoUpdated/added Xcode build files.
arek [Thu, 18 Jan 2007 13:08:02 +0000 (13:08 +0000)]
Updated/added Xcode build files.

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

13 years agoSo doing a lookup is 100x faster than computing sin(x)/x * cos(x/N)... how
jm [Thu, 18 Jan 2007 11:57:03 +0000 (11:57 +0000)]
So doing a lookup is 100x faster than computing sin(x)/x * cos(x/N)... how
surprising! Still need to handle the case where the denominator is too large
to pre-compute everything.

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

13 years agofixed the alignment of the sinc and removed the if() from the main loop.
jm [Thu, 18 Jan 2007 10:38:06 +0000 (10:38 +0000)]
fixed the alignment of the sinc and removed the if() from the main loop.
Upsampling seems to work good.

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