Commit Graph

155 Commits

Author SHA1 Message Date
Chris Cannam
0f4a9e1612 Refuse to accept NaNs in MovingMedian, replacing them with zeros (and a warning) instead. (Must push something, to maintain filter length) 2015-02-23 10:56:31 +00:00
Chris Cannam
51bf5125ea Minor build tweak 2015-01-28 21:01:25 +00:00
Chris Cannam
edf9ea90f6 iOS Makefile 2014-12-09 09:22:19 +00:00
Chris Cannam
b3d47e1375 Use Accelerate header; select old vvfabf only if OSX is actually a target (as well as if it's an old version) 2014-12-08 10:23:33 +00:00
Chris Cannam
8c90e3a5e1 Fix small memory leak 2014-10-16 21:36:39 +01:00
Chris Cannam
6f361078f9 Reorder args to with_gain functions to match bqvec; docs; build fixes 2014-09-05 09:02:49 +01:00
Chris Cannam
7ad3bcd729 Some small fixes suggested by Coverity Scan 2014-09-03 17:11:07 +01:00
Chris Cannam
8bcd90fab0 Copyrights 2014-05-29 18:00:22 +01:00
Chris Cannam
5042b20930 Print out ratios in debug mode 2014-05-03 17:12:51 +01:00
Chris Cannam
05e14a6a7d Pull out ms buffer onto the heap (was being used after end of block in which it was allocated on the stack) 2013-05-15 10:55:11 +01:00
Chris Cannam
6aa75133d6 Avoid an alloca. Allocation is borderline acceptable here, this is very much an edge case 2013-05-15 10:36:10 +01:00
Chris Cannam
97fb6da962 Use the appropriate type for this 2013-05-15 10:35:30 +01:00
Chris Cannam
8bbf6b8c0a Win32 build fixes 2013-05-15 10:35:18 +01:00
Chris Cannam
3ed839f702 Add JNIEXPORT/JNICALL to implementations, provide setMaxProcessSize (previously overlooked) 2012-11-19 10:40:39 +00:00
Chris Cannam
82d1f570da Enforce no-null-args to FFTs; avoid corresponding potential crash in formant preservation code 2012-10-28 10:23:42 +00:00
Chris Cannam
4b2e617f48 vvfabf on OS/X < 10.7 2012-10-14 16:43:28 +01:00
Chris Cannam
405c8c47e9 Comment and include guard 2012-10-14 12:57:16 +01:00
Chris Cannam
f43288911d Introduce study/process/retrieve with n and offset (easier to handle in Java).
Also restore threading option, since threading is not necessarily disabled in
the backend
2012-09-10 09:29:48 +01:00
Chris Cannam
0e2b395ed2 Android build fixes 2012-09-09 18:27:30 +01:00
Chris Cannam
16a68c617d OS/X build fixes 2012-09-09 18:11:04 +01:00
Chris Cannam
93c38b50a0 Update to new combined build 2012-09-09 16:57:42 +01:00
Chris Cannam
4ecb1fa6f1 Minor and mostly immaterial bits 2011-12-09 18:18:32 +00:00
Chris Cannam
fc0c3b6716 Fix non-working test 2011-12-04 17:09:58 +00:00
Chris Cannam
ecbbd73957 Add MemoryBarrier for MinGW; freqPeak is unused 2011-12-03 13:14:14 +00:00
Chris Cannam
c26dc1dc88 * Add centre-focus option (mid/side processing)
* Simplify RingBuffer and add explicit memory locks
* Fix hang with certain unfortunate combinations of parameters
* Bump version to 1.7
2011-11-25 11:11:59 +00:00
Chris Cannam
9c52352c24 Fix crash in optimised build with gcc-4.6 2011-10-02 21:13:15 +01:00
Chris Cannam
3640595744 * Add forgotten file 2011-03-19 12:49:32 +00:00
Chris Cannam
c45acda473 * Fix failure to remember that we have constructed an interpolator
window already (#25).  Also avoid using alloca for substantial buffers
* Lose FFT::getFloatTimeBuffer and getDoubleTimeBuffer -- it's too
unclear when it's safe to use them and it's safer to control sizes externally.
In RB with smoothing on, these buffers were incorrectly being used for window-si
zed calculations (larger than FFT-sized).
* Fix some incorrect buffer resize sizes
* Build fixes for OS/X
2011-03-19 12:41:38 +00:00
Chris Cannam
0b8c1bd90b * Pull across from main repo: Fix silent channel of output when processing with band-limited transients option; include libresample support. Also update copyright dates. 2011-01-07 21:46:36 +00:00
Chris Cannam
99ba629361 * More work on framing, interpolation and scaling for longer window than FFT size.
This adds the --smoothing option to the command line tool and SmoothingOn/Off
  options to the API, introducing a double-length window with presum FFT and
  time-domain smoothing.  Behaviour elsewhere _should_ be unchanged.
2010-05-29 22:07:54 +01:00
Chris Cannam
49cf25d724 * Further work on handling distinct analysis and synthesis window and FFT sizes 2010-05-25 21:49:05 +01:00
Chris Cannam
3ed58ba356 * Separate out analysis and synthesis window sizes from FFT size.
This is an internal change only, so far -- results should be
  unchanged from 1.5.0.
2010-05-16 10:44:38 +01:00
Chris Cannam
8b3a5e4979 * Fix some confusions between _WIN32 (any compiler/runtime on that platform)
and __MSVC__ (VC only, not e.g. mingw32)
2010-05-04 11:14:26 +01:00
Chris Cannam
23b9aa9c51 * Detection function fix (was losing crispness in transients) 2010-04-30 22:29:37 +01:00
Chris Cannam
b9d2bbdf49 * tidy 2010-03-24 12:35:21 +00:00
Chris Cannam
87dc720243 Update from main repo.
* Add a more reliable transient detection mode, and make the mode
   selectable using OptionDetectorXXX flags -- the new method is
   the default
 * Band-limit transient detectors to avoid being distracted by
   inaudible garbage
 * Add a key-frame mapping facility for variable stretch ratio
   management during offline stretches
2010-03-24 09:44:51 +00:00
Chris Cannam
45a7ec1868 * Fixes for gcc-4.4 (thanks Alexis Ballier) 2009-09-28 09:45:23 +00:00
Chris Cannam
090ad6c19a * remove some incomplete bits 2009-09-17 20:12:40 +00:00
Chris Cannam
8359f038d4 * fix comment 2009-09-17 13:12:07 +00:00
Chris Cannam
18d1e1381c * Some new files omitted from prior commit 2009-09-17 13:08:33 +00:00
Chris Cannam
abf577ee9d * Some code rearrangement
* Threading fixes (corrections to condition usage)
* Avoid a potential hang when faced with some peculiar stretch factors
* More modular calls out to vectorizable functions
* Solaris build fixes
* Bump version number
2009-09-17 13:01:21 +00:00
Chris Cannam
aa5f708467 * Update versions etc for forthcoming 1.3 bugfix release 2009-03-01 21:57:15 +00:00
Chris Cannam
00ff759247 * Avoid virtual method hiding warnings
* Avoid potential deadlock in thread join when processing has been abandoned
2009-02-26 22:26:02 +00:00
Chris Cannam
c5a293da33 * fix bug in initial state of accumulator; fix compiler warnings 2009-01-28 11:19:00 +00:00
Chris Cannam
0da1cfd87a * update from personal repo (including some significant fixes) 2008-11-26 22:31:55 +00:00
Chris Cannam
4d875a5ef4 * Warn and recover if time or pitch ratio is zero (or smaller) 2008-10-13 19:13:21 +00:00
Chris Cannam
02c1d67034 * fix possible crash in resampler 2008-08-06 22:00:18 +00:00
Chris Cannam
af45aa1ef4 * add cstdlib include (for antisocial compilers) 2008-07-10 12:13:08 +00:00
Chris Cannam
aef181c3ed ... 2008-07-10 11:09:26 +00:00
Chris Cannam
dd45a34e48 * build fix for OS/X, dammit 2008-07-10 11:09:01 +00:00