Commit Graph

10 Commits

Author SHA1 Message Date
c6be80a491 GitHub Actions: Update local package lists before installing dependencies. 2023-01-17 18:58:03 +01:00
eb95939419 Clamp preset progress between 0.0 and 1.0 2023-01-07 15:52:51 +01:00
bf8a4b4f29 Improve timer precision by using std::chrono::high_resolution_clock.
Also removes the need to use the OS-specific time APIs.
2022-03-28 11:47:25 +02:00
0a4cf9fa49 Added getters and setters for all settings values and renamed some members.
Some members and functions were named in different ways, now the naming scheme is a bit more unified. Also changed some types to size_t where negative values don't make sense.
2021-08-23 18:37:57 +02: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
a03f2d0d80 There was a bug that existed in open GL ES 2.0 implementations and random textures (#239)
* There was a bug that existed in open GL ES 2.0 implementations
where glTexImage2D could not convert GL_RGB formed textures into GL_RGBA
while generating the noise textures.   The GL error
was GL_INVALID_OPERATION(0x502)
This probably made the noise textures blank.
So a new class was added that has the alpha channel for the values.

* Added a fudge for render farming milkdrop where we control the time and the ticks.

* User defined time: Got rid of testing code

* Attempt to fix WIN32 compile - it doesnt use or need the ability to control the time

* Got rid of debug - got rid of minor warning

* projectM.hpp - type in ifdef
projectM_SDL_main.cpp - there is code added to make the initial random number dependent on the time of day, making
the sequence of visualizers more unexpected.  But the posix command time does not exist in Win32 land, so we disable it.
2019-10-01 10:01:45 +03:00
3142b36e79 Blur shaders ported to GLSL
All presets unifoms corrected
Shader rendering fixed
2018-07-23 08:07:14 +02:00
b12ca1e02d Remove more unused headers
git-svn-id: https://projectm.svn.sourceforge.net/svnroot/projectm/trunk@1374 6778bc44-b910-0410-a7a0-be141de4315d
2012-01-05 16:25:13 +00:00
da6dd94653 trying to decouple things properly
git-svn-id: https://projectm.svn.sourceforge.net/svnroot/projectm/personal/carm/represet@1179 6778bc44-b910-0410-a7a0-be141de4315d
2008-09-20 19:05:57 +00:00
aa87726bb2 renamed projectM-engin libprojectM
git-svn-id: https://projectm.svn.sourceforge.net/svnroot/projectm/trunk@1116 6778bc44-b910-0410-a7a0-be141de4315d
2008-07-22 01:08:53 +00:00