Commit Graph

29 Commits

Author SHA1 Message Date
0ac24d9d9f Factor out similar structure 2022-05-29 15:49:14 +02:00
6c20de04ea Remove unused variable 2022-05-29 15:49:14 +02:00
f8fcb0ab79 Fix vol_old not getting updated 2022-05-29 15:49:14 +02:00
3ff81ad574 Remove unnecessary dependents 2022-05-29 15:29:54 +02:00
1f4f664f58 Remove unused smoothing variable 2022-04-06 14:33:19 +02:00
5d80bf9f57 Fix casing (PCM.hpp) 2022-04-06 14:33:19 +02:00
c07ebb3bd9 Smash together two methods
detectFromSamples and getBeatVals into calculateBeatStatistics.
They didn't make sense individually, I think this makes more sense.
2022-03-19 21:26:48 +01:00
4ff1c459c9 Don't reset members unnecessarily 2022-03-19 21:26:48 +01:00
a7b05c9f96 Construct BeatDetect with a reference, not pointer 2022-03-19 21:26:48 +01:00
964a3a3d59 Move array initialization to declaration 2022-03-19 21:26:48 +01:00
323eef32ec Remove projectM_isnan macro 2022-03-19 21:26:48 +01:00
902fe0fd14 Use std::min instead of conditional branches 2022-03-19 21:26:48 +01:00
a099d1bdb3 Change uses of fmax to std::max 2022-03-19 21:26:48 +01:00
c5b136c7f9 Move some includes from header to implementation 2022-03-19 21:26:48 +01:00
872cb90962 Use std::array::fill for array initialization 2022-03-19 21:26:48 +01:00
720fbccf0c Move member initializations from constructor body 2022-03-19 21:26:48 +01:00
d3aee70916 Remove empty non-virtual destructor 2022-03-19 21:26:48 +01:00
7c13766dc6 Apply formatting 2022-03-19 21:26:48 +01:00
3dc41df328 Change C style arrays to std::array 2022-03-19 21:26:48 +01:00
10faca9abf Cleanup PCM interface (#467)
* rewrite PCM interface
* AutoLeveler
* perf - quick check for no equations
* cleanup use of BeatDetect.beatSensitivity
Co-authored-by: Mischa Spiegelmock <me@mish.dev>
2021-02-20 13:52:17 -08:00
758348f25a Beat sensitivity implemented (#348)
* Beat detect sensitivity fix.

* Default: 1.0

* ReadMe beat sensitivity min/max.

* Beat sensitivity from config or settings isn't initialized.

* Smarter position.

* Make PCMScale (vol_history) also impacted by beat_sensitivity.

* Enhance and clarify Hard Cuts and better separate beat sensitivity.

* Forgot one config.

* Consistency with defaults.

* Even more clear about the default for Beat Sensitivity.
2020-05-15 17:49:28 +03:00
324a5c19f3 getPCMScale() too large? 2020-02-02 12:26:34 -08:00
5fd9bc13ec some feedback improvements 2020-02-01 12:47:18 -08:00
0eec9ed694 comments on frequency ranges 2020-01-26 17:31:06 -08:00
b779be76ee attempt to improve freq responsiveness 2020-01-25 17:26:40 -08:00
d4d74f6d05 Build warnings cleanup 2018-11-17 11:42:28 +01:00
3142b36e79 Blur shaders ported to GLSL
All presets unifoms corrected
Shader rendering fixed
2018-07-23 08:07:14 +02:00
9a8318ee22 Bug #1849729. Adding class DLLEXPORT attributes, removing method-specific ones.
git-svn-id: https://projectm.svn.sourceforge.net/svnroot/projectm/trunk@1249 6778bc44-b910-0410-a7a0-be141de4315d
2009-07-25 11:18:57 +00:00
939b37f3f5 compiles, but at what cost?
git-svn-id: https://projectm.svn.sourceforge.net/svnroot/projectm/personal/carm/represet@1181 6778bc44-b910-0410-a7a0-be141de4315d
2008-09-20 19:28:44 +00:00