1
0
mirror of https://github.com/RPCS3/soundtouch.git synced 2024-11-08 20:12:27 +01:00
Commit Graph

228 Commits

Author SHA1 Message Date
oparviai
32dcebc1d7 release memory upon destroying instance 2015-02-22 15:16:48 +00:00
oparviai
c36e2fa958 mmx variable initialization patch 2015-02-22 15:10:38 +00:00
oparviai
3e9cc3fd4b bugfix 2015-02-22 15:07:12 +00:00
oparviai
123e3299fe Enable openmp for Visual C++ x64 build 2015-02-22 13:34:51 +00:00
oparviai
6935032a52 Added openmp configuration for gnu buid 2015-02-22 08:19:09 +00:00
oparviai
d7d0a5c0f9 Implemented parallel computation using OpenMP pragmas 2015-02-21 21:24:29 +00:00
oparviai
126d1ac41d Eliminated alloca() call that caused compatibility woes 2014-10-08 15:26:57 +00:00
oparviai
bfc89b45a9 Added support for WAV file 'fact' chunk 2014-10-05 16:20:24 +00:00
oparviai
0715880b1f Fixed c++ function name mangling issue in SoundTouch.dll compilation 2014-04-06 18:06:50 +00:00
oparviai
099a6240eb Added x64 compilation to Visual Studio project files 2014-04-06 18:03:48 +00:00
oparviai
e23bd6d093 Replaced custom 'BOOL' type with C++ 'bool' 2014-04-06 15:57:21 +00:00
oparviai
f68f8e9e09 Repaired Android makefile by adding the new Interpolate...cpp files. 2014-04-05 18:37:59 +00:00
oparviai
33638a2243 Fixed GNU compilation 2014-01-07 19:41:23 +00:00
oparviai
1f6391a9ca Performance improvement in calcCrossCorr function - maintain accumulating normalization calculation instead of recalculating normalization factor on each round. 2014-01-07 18:25:40 +00:00
oparviai
afdfb293f6 Apple compatibility fixes 2014-01-07 18:24:28 +00:00
oparviai
746a90d610 Fixed integer overflow bug in integer versions of cross-correlation routines. 2014-01-06 19:40:40 +00:00
oparviai
a61c28e36a Increased Antialias filter length from 32 to 64 2014-01-06 19:19:38 +00:00
oparviai
026ebe3841 Implemented integer version of linear interpolator 2014-01-06 19:16:02 +00:00
oparviai
f16b062219 Enabled keyword extension 2014-01-06 18:41:42 +00:00
oparviai
a09135884a Implemented separate Cubic, Linear and Shannon interpolation algorithms. 2014-01-06 18:40:23 +00:00
oparviai
abfeb3fcc9 Restructured RateTransposer to allow hosting alternative resampling algorithms. 2014-01-05 21:40:22 +00:00
oparviai
8174f6bc10 cleanup previous 2014-01-05 17:22:53 +00:00
oparviai
510a94e990 Fixed small sinc() calculation bug that caused AA filter attenuation be around -10dB instead of <-50dB. 2014-01-05 17:19:19 +00:00
oparviai
510ac08657 Bugfix in RateTransposerFloat::transposeMono 2014-01-05 15:57:10 +00:00
oparviai
70d7518295 Bugfix in Android jni interface 2013-06-15 11:44:11 +00:00
oparviai
55aa6f15e9 Bugfix and cleanups 2013-06-14 17:34:33 +00:00
oparviai
8c65661b91 Added support for multi-channel audio 2013-06-12 15:24:44 +00:00
oparviai
7a0a940953 Fine tuning of Android compilation 2012-12-28 19:55:23 +00:00
oparviai
4d8825ef6d Removed piece of dead code 2012-12-28 19:52:47 +00:00
oparviai
9b902ef3b7 Added files for Android example compilation 2012-12-28 14:49:08 +00:00
oparviai
c3f4ff9532 Fixed pointer aligning for mingw64 compilation 2012-11-08 18:53:01 +00:00
oparviai
91305a5806 Fixed #include files for mingw64 compilation 2012-11-08 18:44:37 +00:00
oparviai
b8454127af Fixed 8bit file processing in integer version 2012-09-01 08:03:26 +00:00
oparviai
85b12af596 Fixed 8bit file processing in integer version 2012-09-01 07:57:22 +00:00
oparviai
6a57544b2a Eliminate compiler warning 2012-09-01 07:43:51 +00:00
oparviai
122b08b2ca Fixed 8bit file processing 2012-09-01 07:43:14 +00:00
oparviai
0462e450a6 Adjustments in beat detection 2012-08-30 19:45:25 +00:00
oparviai
b4e22218e6 Added utility function to get elapsed duration i.e. how much so far has been read from the WAV file 2012-08-30 16:30:13 +00:00
oparviai
6fc0dd1867 Increased "climbcount" to improve peak detection 2012-08-30 16:28:27 +00:00
oparviai
e5a0079b6a Eliminated some compiler warnings 2012-08-30 15:07:14 +00:00
oparviai
31b9e8f98a Changed 'long' types to 'int's 2012-08-23 20:36:28 +00:00
oparviai
f7ad193e4d Added wav file support for 24/32 bit samples, as far as data is read into floating point variables. 2012-08-22 20:33:50 +00:00
oparviai
657d07b5e6 Improved flush() for better output stream duration accuracy 2012-06-13 19:29:53 +00:00
oparviai
52510ecbc7 Updated version to 1.7.0 2012-04-04 19:47:28 +00:00
oparviai
60af2a96f9 Fix integer overflow error in getLengthMS 2012-04-04 19:21:42 +00:00
oparviai
67a202aee8 minor patches 2012-04-01 20:00:09 +00:00
oparviai
557bf9d6e4 Time stretch routine improvements:
- improved sound quality
- streamlined code
2012-04-01 19:49:30 +00:00
oparviai
1f6a68a6a3 CPUID routine bugfix: replaced inline assembly routine not working with all environment with __cpuid compiler intrinsic. 2012-04-01 17:01:42 +00:00
oparviai
f047ab0815 Untabify TDStretch.h 2012-04-01 16:57:32 +00:00
oparviai
86e50693b5 Added resource.h 2012-04-01 16:54:08 +00:00
oparviai
32b3084ef7 Added U for unsigned numeric constant 2011-12-31 09:54:02 +00:00
oparviai
d64e9ae0d3 Improved BPM detection routine to better spot harmonics for the strongest beat pattern. 2011-12-30 20:33:46 +00:00
oparviai
ad164d96db Added a compile-time switch to disable throwing c++ exceptions 2011-09-02 18:56:11 +00:00
oparviai
9db805d439 Added configure flags to disable x86 optimizations 2011-07-17 11:17:57 +00:00
oparviai
1b73f0a77e Removed linker -strip option from SoundStretch gcc compilation 2011-07-17 10:59:56 +00:00
oparviai
2ea719ad39 #define compatibility patches 2011-07-17 10:58:40 +00:00
oparviai
629a1bbc14 Repaired int-to-string conversion in exception message formatting 2011-07-17 10:40:27 +00:00
oparviai
6b2befd571 Fixed #ifdefs 2011-07-16 12:27:51 +00:00
oparviai
6a297adf2e Cleaned comments 2011-07-16 12:27:28 +00:00
oparviai
3b35f34ab8 Update copyright year 2011-07-16 08:55:23 +00:00
oparviai
8f20fed87c x64bit compilation support 2011-07-16 08:46:37 +00:00
oparviai
ccbe5a50e2 Updated "Release" build setting in VC++ project files. 2011-07-16 08:25:15 +00:00
oparviai
f49cc1934a Updated SoundTouch.dll version info 2011-07-16 08:11:56 +00:00
oparviai
814cd63bc2 Added _CRT_SECURE_NO_WARNINGS to SoundTouchDll project file to disable MS warnings about stdio functions 2011-07-16 08:10:46 +00:00
oparviai
663ed53f86 Replaced assert macros for supported bits-per-sample with runtime exceptions 2011-07-16 08:00:30 +00:00
oparviai
92dceef76f Added _CRT_SECURE_NO_WARNINGS to SoundStretch project file to disable MS warnings about stdio functions 2011-07-16 07:59:28 +00:00
oparviai
1043811c6b Added support for writing bpm analysis debug file 2011-07-13 08:07:14 +00:00
oparviai
d002b52f2a use more specifically named global #defines 2011-02-13 19:13:57 +00:00
oparviai
d024492262 Added API to query for nominal input/output sample batch sizes 2011-01-16 13:00:33 +00:00
oparviai
33334d8dab Minor redundant code cleanup 2011-01-16 12:59:19 +00:00
oparviai
91565bcb77 Removed #include "resource.h" 2010-12-12 19:34:10 +00:00
oparviai
4403a657d4 updated SoundTouchDLL project file & version information 2010-12-12 19:13:39 +00:00
oparviai
8116c7bd42 Replaced proprietary strcpy_s with ansi-compatible strncpy 2010-12-12 19:12:12 +00:00
oparviai
4c223f5a79 Removed #include "resource.h" 2010-12-12 18:29:19 +00:00
oparviai
ff455bb5a6 Added soundtouch_getVersionString2() 2010-12-12 18:28:49 +00:00
oparviai
ab0d353f6f Changed fileno() to _fileno() to eliminate compiler warning 2010-12-12 18:15:06 +00:00
oparviai
16f0a95a30 Relaxed peak detection low limit from 1e-6 to 1e-9 to improve detections 2010-08-24 15:53:56 +00:00
oparviai
cba79d510f Updated cpuid logic for X86_64 2010-04-23 10:31:02 +00:00
oparviai
c045c24e80 Retired 3DNow! optimizations as obsolete 2010-01-24 12:40:30 +00:00
oparviai
ff06c88fd5 Added automatic cutoff threshold adaptation to beat detection routine to better adapt BPM calculation to different types of music 2010-01-06 18:59:23 +00:00
oparviai
4c885873df Changed sum counting to gcc compatible syntax 2009-12-28 20:32:57 +00:00
oparviai
81b7d8a6ff Updated (c) year to -2009 2009-12-28 20:32:10 +00:00
oparviai
b99198c1fe SoundTouch release 1.5.0 - updated version info and change log 2009-12-28 20:10:14 +00:00
oparviai
b9a89735a3 Updated automatic parameter adjustment logic to reduce tone wobbling at large tempo changes. 2009-12-28 19:27:04 +00:00
oparviai
7560501414 Bugfix: Fixed variable initialization to avoid segment fault possibility due to negative array indexing in quick seek algorithm in presence of worst-case correlations. 2009-11-09 17:27:50 +00:00
oparviai
1e11629a8f Bugfix: FIR filter went too far in processing buffer - this is incorrect although it didn't cause any change to the outcome. 2009-10-31 14:53:23 +00:00
oparviai
df36315991 Bugfix: Added a check against zero processing samples into rate transposing routines 2009-10-31 14:37:24 +00:00
oparviai
6c1867263c Fixed a typo bug 2009-05-19 04:57:30 +00:00
oparviai
7ddf78f073 Added '-speech' parameter for SoundStretch utility 2009-05-17 16:48:30 +00:00
oparviai
fb966425c4 Couple of improvements:
- Added normalization to correlation calculation
- Heuristic that weights center of the processing window
2009-05-17 11:35:13 +00:00
oparviai
dc4004e0c3 Added switch PREVENT_CLICK_AT_RATE_CROSSOVER to prevent click artifact at crossing the nominal pitch from either side 2009-05-17 11:30:57 +00:00
oparviai
f1a9f40da0 Check for empty buffer 2009-02-27 17:24:42 +00:00
oparviai
47659b0810 Fixed ambiguities in Solaris compilation 2009-02-25 17:13:51 +00:00
oparviai
4b591cdb12 Added Delphi/Pascal wrapper for SoundTouch dll library 2009-02-24 14:32:44 +00:00
oparviai
56185e3446 Set svn keyword expansion 2009-02-23 08:33:13 +00:00
oparviai
5a4a41cac6 Added Dynamic-Link-Library (DLL) function wrapper for SoundTouch routines 2009-02-23 08:29:03 +00:00
oparviai
c17eb6821a Cleaned code with Lint 2009-02-21 16:00:14 +00:00
oparviai
8f880269e0 Fix for x86-64 support: Removed pop/push instructions from the cpu detection algorithm. 2009-02-13 16:22:48 +00:00
oparviai
28aaff6c99 Fixed buffer overflow bug in BPMDetect.cpp & changed version to 1.4.1 2009-02-12 17:22:06 +00:00
oparviai
9eb650cd1e Eliminate compiler warning 2009-01-25 16:30:53 +00:00
oparviai
04d39cb02e Clarify license version 2009-01-25 16:30:33 +00:00
oparviai
5202bb31fc Updated VS6.0 processor pack link 2009-01-25 14:13:39 +00:00
oparviai
9d7952e56e Added automatic sequence/seek window length parameter calculation 2009-01-25 13:43:54 +00:00
oparviai
f7a0143374 Name semantics 2009-01-25 13:41:18 +00:00
oparviai
327906e23b Changed x86 optimization flagging for non-win & non-linux x86 support 2009-01-11 11:36:36 +00:00
oparviai
9aaf4210af Added typecast to pow() 2009-01-11 11:35:44 +00:00
oparviai
40efe9cbef Repaired 'const' keyword usage 2009-01-11 11:34:24 +00:00
oparviai
d9c9cbb7bd Updated changed directories 2008-12-25 18:12:41 +00:00
oparviai
12e7cf78f3 Edited keyword properties 2008-12-25 17:54:41 +00:00
oparviai
26bbd80873 Moved SoundStretch from "source/example" to "source" directory 2008-12-25 17:00:23 +00:00
oparviai
0e2ee653db Repaired Linux compilation 2008-12-25 16:33:39 +00:00
oparviai
c7bbaa4dbe Allow using standard input/output pipes for processing 2008-12-25 12:38:45 +00:00
oparviai
eb4c84fb14 Moved "BPMDetect" routines from SoundStretch application into SoundTouch library 2008-12-25 12:20:01 +00:00
oparviai
59d58734b4 Repaired "integer" build 2008-12-13 19:52:22 +00:00
oparviai
f04021bb96 Improved beat detection routine so that it detects true base beat, even if Nth harmonic multiple sub-beat would appear slightly higher than the true base. 2008-12-13 18:43:55 +00:00
oparviai
e768283832 Changed algorithm parameters, slightly better sounding 2008-08-03 18:47:08 +00:00
oparviai
f7f1e2298b Fix in "setParameters": Negative function parameters values now mean "use the previous value". Earlier the function declaration used hardcoded default values for default parameters, and for this reason customized algorithm settings didn't work correctly. 2008-08-03 18:19:40 +00:00
richardash1981
d3d8ceb45d Add a missing C++ standard library include. Needed to compile using GCC 4.3.1 and non-GCC C++ compilers where the standard library headers don't include each other. 2008-06-27 15:04:31 +00:00
oparviai
9a273df119 Added :: before pow to resolve namespace ambiguity 2008-05-09 04:48:34 +00:00
oparviai
da6bd9641c Added "const" keyword to a static constant array 2008-05-04 07:55:29 +00:00
oparviai
77fab80d08 Edited automake scripts 2008-02-17 15:16:17 +00:00
oparviai
138d4b5eab Updated version / year info 2008-02-17 14:56:04 +00:00
oparviai
3ed4049f3e Fixes in Automake files & removed CR+LFs 2008-02-17 14:20:52 +00:00
oparviai
dbf41511af Fixed 'const' function parameter mismatches 2008-02-17 13:42:45 +00:00
oparviai
365531fa15 Fixed uninitialized tempo variable bug 2008-02-17 13:15:45 +00:00
oparviai
b0b5bf8232 Bugfix: Use 'ulong' datatype for pointer typecast for 64bit compatibility 2008-02-10 16:36:25 +00:00
oparviai
e69813f645 Activated SVN keyword expansion 2008-02-10 16:26:55 +00:00
oparviai
2b64de964c Initial commit as per SoundTouch v1.3.1 2008-02-10 16:24:28 +00:00