21 Commits

Author SHA1 Message Date
Rémi Verschelde fe15975a21 BPMDetect: Make conversion from size_t to int explicit
Fixes warning C4267 on MSVC.

This assumes that `beats.size()` should never overflow `int` - if that
could happen, the API should likely be changed to handle it gracefully.
2020-04-28 10:48:47 +02:00
Olli eef1220d72 BPMDetect: Change correlation loop 'sum' variable type from double to float, because double causes big performance penalty for autovectorized code. 2018-12-02 22:33:55 +02:00
Olli a1c400eb2c Fix issue CVE-2018-17096: Replace assert with runtime exception 2018-10-28 15:32:58 +02: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
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 e765f8146f Removed Subversion $Id$, $Date$ etc autoupdate tags 2018-05-10 21:51:49 +03: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 d7d0a5c0f9 Implemented parallel computation using OpenMP pragmas 2015-02-21 21:24:29 +00:00
oparviai 0462e450a6 Adjustments in beat detection 2012-08-30 19:45:25 +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 16f0a95a30 Relaxed peak detection low limit from 1e-6 to 1e-9 to improve detections 2010-08-24 15:53:56 +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 c17eb6821a Cleaned code with Lint 2009-02-21 16:00:14 +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 12e7cf78f3 Edited keyword properties 2008-12-25 17:54:41 +00:00
oparviai eb4c84fb14 Moved "BPMDetect" routines from SoundStretch application into SoundTouch library 2008-12-25 12:20:01 +00:00