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
oparviainen
9e02d9b04f Added minimum size check for WAV header block lengh values 2018-08-12 20:24:37 +03:00
oparviainen
107f2c5d20 Replaced illegal-number-of-channel assertions with run-time exception 2018-08-12 20:00:56 +03:00
Olli
4b6060adfe Merge branch 'update-vs-extra-dist' into 'master'
Update Visual Studio files on EXTRA_DIST

See merge request soundtouch/soundtouch!3
2018-08-08 17:58:56 +00:00
Olli
1f7f681f9d Merge branch 'add-interpolate-h-to-noinst-headers' into 'master'
Add Interpolate*.h to noinst_HEADERS

See merge request soundtouch/soundtouch!4
2018-08-08 17:57:50 +00:00
Olli
81cf74cf4c Merge branch 'misc-typos' into 'master'
MIsc. source comment typos

See merge request soundtouch/soundtouch!5
2018-08-08 17:55:28 +00:00
oparviainen
f71db0d2c3 Added <cfloat> header file, resolved compiler warnings 2018-08-08 19:53:14 +03:00
luz.paz
0093b63141 MIsc. source comment typos
Found via `codespell -q 3`
2018-07-27 12:26:56 -04:00
Isamu Mogi
6ee56b1c17 Add Interpolate*.h to noinst_HEADERS
This fixes following error on `make distcheck`

```
Making all in SoundTouch
  CXX      AAFilter.lo
  CXX      FIRFilter.lo
  CXX      FIFOSampleBuffer.lo
  CXX      RateTransposer.lo
../../../../source/SoundTouch/RateTransposer.cpp:39:10: fatal error: 'InterpolateLinear.h' file not found
         ^~~~~~~~~~~~~~~~~~~~~
1 error generated.
```
2018-06-02 15:55:07 +09:00
Isamu Mogi
6b6c36d3e1 Update Visual Studio files on EXTRA_DIST
This fixes following error on `make dist`:

```
make[6]: *** No rule to make target `SoundTouch.dsp', needed by `distdir-am'.  Stop.
```
2018-06-02 15:53:05 +09:00
Olli
007481d711 BPM algorithm work - improved beat analysis routine and added individual beat detection 2018-05-16 18:58:19 +03:00
Olli
47f74e83ef Merged typo correction patch 2018-05-12 18:40:56 +03:00
Olli
c4154b063f Corrected typos in source code comments 2018-05-12 18:39:43 +03:00
Olli
3f2ad229bb Migrated MS Visual Studio build scripts to VS2015 2018-05-10 23:54:07 +03:00
Olli
3feea728d5 Minor updates. Removed obsoleted files. 2018-05-10 21:57:49 +03:00
Olli
e765f8146f Removed Subversion $Id$, $Date$ etc autoupdate tags 2018-05-10 21:51:49 +03:00
oparviai
30b017d112 SoundTouchDLL: adapt gcc compilation settings for x86/x64/arm platforms 2017-11-30 18:07:41 +00:00
oparviai
20e4bf0b04 Added BPM functions to Pascal interface of SoundTouch DLL 2017-11-26 09:10:41 +00:00
oparviai
ec9ba968f5 Added BPMDetect functions to SoundTouchDll API 2017-11-10 16:38:36 +00:00
oparviai
407f516e0d GNU compilation of SoundTouchDll that has easy function importing interfaces for java, mono etc 2017-11-03 20:08:10 +00:00
oparviai
05a3403137 Refactored C# interface & example 2017-10-30 16:53:17 +00:00
oparviai
80281c8e1b Disable anti-alias filter if SOUNDTOUCH_PREVENT_CLICK_AT_RATE_CROSSOVER is defined 2017-09-07 17:04:02 +00:00
oparviai
5f8720dae6 Added & to catch() clause to handle exception as reference 2017-08-29 16:10:45 +00:00
oparviai
6e8d58cbcc Added sanity checks against illegal input audio stream parameters e.g. wildly excessive samplerate 2017-08-27 15:23:28 +00:00
oparviai
bbeab39f0a Version SoundTouch 2.0 2017-07-30 09:35:00 +00:00
oparviai
bd0a806285 Updated documentation 2017-07-25 14:26:50 +00:00
oparviai
59e6726118 Added C# example application that processes mp3 files with SoundTouch 2017-07-25 12:40:11 +00:00
oparviai
92bfdd1e8d Fixed a bug introduced in r245 that caused small constant time offset in the output vs. input stream 2017-04-07 19:01:22 +00:00
oparviai
c31fca9c9f Added int16/short sample version of putSamples()/receiveSamples() functions to SoundTouch.dll API 2017-03-05 16:36:35 +00:00
oparviai
6f82bdebdb Modify 'maxnorm' value insider critical section when using OpenMP with integer samples 2017-03-05 13:56:03 +00:00
oparviai
5d9bc2fdf3 Adjusted algorithm parameters for reducing reverberation artifact at tempo slowdown 2017-01-08 16:56:20 +00:00
oparviai
1049304b5d Fixed issue that clipped brief sequence of audio from beginning of the input audio 2017-01-08 16:27:02 +00:00
oparviai
e302cd7123 Fix to issue that started audio track with brief sequence of silence 2016-10-20 16:30:11 +00:00
oparviai
753848865d Added function to get duration ratio between the original input and processed output tracks. 2016-10-15 19:34:59 +00:00
oparviai
ac03757ec8 Added functions to get initial processing latency, and clarified reporting input/output batch sizes 2016-10-15 18:55:12 +00:00
oparviai
f574c92dcf Bugfix: Incorrect Pi value from 5th decimal onwards ... 2016-01-12 17:26:21 +00:00
oparviai
882f248a0c bugfix: flush() didn't properly flush final samples from the pipeline on 2nd time, in case that soundtouch object instance were recycled and used for processing a 2nd audio stream. 2016-01-10 10:31:35 +00:00
oparviai
9287800b65 Improved beat detection algorithm accuracy and made it better adaptable for real-time beat changes. 2016-01-05 20:59:57 +00:00
oparviai
e1c7cffbcd - Fixed incorrect maximally-small float variable initialization to use -FLT_MAX instead of FLT_MIN. This glitch may have caused possible negative index access when using best overlap quick seek algorithm
- version to 1.9.3(pre)
2016-01-05 20:42:45 +00:00
oparviai
81cb7a3406 Update Android doc 2015-11-11 21:47:19 +00:00
oparviai
089edd12f4 updated comments 2015-11-05 17:46:08 +00:00
oparviai
18a230a54c - Fix in GNU package management issues.
- version 1.9.2
2015-09-20 07:38:32 +00:00
oparviai
db04025351 - Redesigned quickseek algorithm for improved sound quality in quickseek mode
- Adaptive integer divider scaling for improved sound quality when using integer processing
- Version 1.9.1-pre
2015-08-08 21:00:15 +00:00
oparviai
c9507ff7f1 - Improved SoundTouch::flush() so that it produces exactly accurate number of output samples.
- Changed 'float' variables into 'double' for more precise calculation of input-vs-output samples.
2015-07-26 14:45:48 +00:00
oparviai
2cbd68c32b Change year 2015-05-18 17:32:21 +00:00
oparviai
76f76ffb84 - Update documentation
- Updated version numbers to 1.9
- Disable OpenMP by default, to be enabled by developer
2015-05-18 15:28:41 +00:00
oparviai
4bc115df86 Floating point patch in PeakFinder 2015-05-18 15:22:02 +00:00
oparviai
d44723ea57 - OpenMP parallel processing disabled by default; can be enabled in compile-time
- Android: Workaround for threading issue to enable OpenMP parallel processing in Android
2015-05-15 10:22:36 +00:00
oparviai
92973bc18e Developed more refined Android example application that also works in ARM & X86 platforms. 2015-05-15 00:07:10 +00:00
oparviai
1040bd1d28 - Added X86 & MIPS library versions to Android
- Added Android example application framework
2015-05-14 20:03:56 +00:00
oparviai
708f1d7e0b Revised autoconf/automake scripts for easier adding of custom CXXFLAGS 2015-05-01 07:55:47 +00:00
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