Commit Graph

54 Commits

Author SHA1 Message Date
Chris Cannam
3ddc35f7ae Resampler code pulled back in from bqresample, with safer api 2020-10-21 15:05:14 +01:00
Chris Cannam
be843f3da7 Avoid an input increment of zero (= sigfpe) when given a very long stretch factor 2020-09-15 15:23:33 +01:00
Chris Cannam
e2b62687d6 Rejig includes for alloca in particular - more logic in sysutils, remove from individual files (include sysutils instead), also indent includes in sysutils for a bit more clarity 2020-01-16 11:28:47 +00:00
Chris Cannam
bfb69779af Dates 2020-01-16 10:20:23 +00:00
Chris Cannam
bbf45fa887 Copyright dates 2018-03-07 13:10:19 +00:00
Chris Cannam
5eb13cb947 Fixes to reset calls, thanks to Justin Frankel 2017-09-26 09:51:22 +01:00
Chris Cannam
24560ba3ec Copyright dates 2015-07-09 15:26:08 +01:00
Chris Cannam
6f86b96391 Win32/64 build fixes 2015-06-29 14:50:33 +01:00
Chris Cannam
8c90e3a5e1 Fix small memory leak 2014-10-16 21:36:39 +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
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
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
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
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
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
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
057481ea41 * Work around a patent (also producing better results, in many cases)
* Add aligned allocation functions in sysutils
2008-07-08 15:00:22 +00:00
Chris Cannam
d6d4af1539 * Add warning if -c option and something conflicting with it are both given
* Fixes for mingw32 compile
* Fix a couple of compiler warnings
2008-07-07 18:54:18 +00:00
Chris Cannam
f894f7c66f * update from personal repo 2008-07-04 19:31:23 +00:00
Chris Cannam
86462dbd9f * Fix under/overruns in ladspa plugin 2008-07-04 14:19:32 +00:00
Chris Cannam
59a160eb3f * whoops! initialise m_silentAudioCurve 2008-07-02 22:20:56 +00:00
Chris Cannam
7b3b93efe8 ... 2008-07-02 21:28:23 +00:00
Chris Cannam
1e2cae8e2d * Add library API version to headers
* Add phase reset on silence (doesn't appear to make much difference)
* Fix mistake in LRDF file
2008-07-02 21:20:22 +00:00
Chris Cannam
6b277bd8dd * Add OptionPitchHighConsistency 2008-07-01 20:49:24 +00:00
Chris Cannam
7e7e998ce5 * Avoid using STL map in process()!
* Exceptions in resampler
2008-07-01 14:54:31 +00:00
Chris Cannam
c70480bb3c * Update for newer take on the C wrapper API
* Add library versioning and DESTDIR support
2008-07-01 10:25:17 +00:00
Chris Cannam
160143461d * C API version 2008-06-09 20:46:37 +00:00
Chris Cannam
1d41c952e8 Update from personal repository.
* Added an initial "formant preservation" option when pitch shifting
 * Real-time pitch shifting now uses a faster method by default, with
   less variation in CPU usage
 * The code is more amenable to compiler auto-vectorization (through
   e.g. gcc --ftree-vectorize).
2008-05-22 16:54:27 +00:00
Chris Cannam
92b63b086a * More documentative bits 2007-12-10 22:20:07 +00:00
Chris Cannam
a94f3f3357 * Documentation 2007-12-10 16:29:52 +00:00
Chris Cannam
d4ff782668 * Share dblbuf with FFT object to avoid a copy; fix reset(); add spectral
difference audio curve; some tidying; add FLOAT_ONLY FFT option
2007-12-10 15:47:06 +00:00
Chris Cannam
ceec06a697 * Named conditions; one data condition per channel 2007-11-26 21:51:05 +00:00
Chris Cannam
d58531e2ca * Timed waits -- avoid unfortunate worst cases 2007-11-26 21:08:15 +00:00
Chris Cannam
065cc29e5c * Add OptionThreadingAlways 2007-11-26 11:50:29 +00:00
Chris Cannam
48d640f696 * fix a threading issue 2007-11-26 11:00:47 +00:00
Chris Cannam
fe9dc561ef * Fix outbuf size issues, and other misc troubles 2007-11-21 21:48:16 +00:00
Chris Cannam
d2fe49c20c * Sort out resynthesis gain; add crispness parameter to pitch shifter plugin 2007-11-21 19:57:49 +00:00
Chris Cannam
7c4fcd85da * Improvements to offline phase reset point detection
* Better support for higher sample rates
* Save and restore FFTW wisdom (needs work still)
* More tidying, options and argument overhauls
2007-11-20 20:17:13 +00:00
Chris Cannam
e9cb6dbc37 * More rationalisation -- lock becomes phase reset in most cases
* Update Vamp plugin parameters and outputs
2007-11-19 20:13:39 +00:00
Chris Cannam
f327e0c415 * Rationalise naming: block -> window or chunk 2007-11-18 21:38:18 +00:00