Commit Graph

31 Commits

Author SHA1 Message Date
luz.paz fb93ae4b02 Fix misc. source comment typos
Typos found via `codespell`
2019-08-21 23:43:16 -04:00
narunlifescience b77cb613e2 combine nyancatanalyzer & rainbowdashanalyzer(eliminate duplicated code)
update

minor modifications

format

add seperate classes for nyancat & dash

format

minor correction

restore previous name Nyanalyzer cat
2015-11-23 11:39:42 -06:00
Ivan Leontiev 651289ea26 Add condition against nullptr dereferencing to AnalyzerContainer::TogglePsychedelicColors() 2015-08-18 23:21:34 +00:00
Mark Furneaux 8e2795c6a2 More readable toggle 2015-07-02 08:10:08 -04:00
Mark Furneaux c102bf7fe6 Add "Psychedelic Colour" mode to all analyzers
(Well, except Nyanalyzer and Rainbow dash because they are already colourful enough.)

I have added functionality for any 2D analyzer to change any part of its colour palatte with the frequency content of the music, in the same way that Moodbars do.
I find this gives the analyzer a sort of "third dimention".
This is built into Analyzer::Base, so all analyzers can use it and override it as they please. I have thus added support for Block, Boom, Turbine, Sonogram, and Bar, however Boom and Block seem to look the best in my opinion.
This is of course all optional and is toggled by a checkbox in the context menu for the analyzer, disabled by default.
I have not been able to measure any increase in CPU activity with this enabled, even at 60fps.
2015-07-01 11:48:03 -04:00
Krzysztof Sobiecki dc669eb603 Fix cpplint.py errors, fix copyright notices in src/analyzers, move src/core/fht* to src/analyzers 2014-11-29 20:07:01 +01:00
Mark Furneaux 663b7430d8 Add new analyzer "Rainbow Dash"
As requested in SuperUltraCriticalShowstopper request #2685
I have built an analyzer based on Rainbow Dash
...oh god, what have I done...

This will either make some people happy, or is absolute garbage.
2014-05-22 10:33:21 -04:00
Mark Furneaux 542dbe8d12 Make framerate notification less nasty
Now uses a virtual function in Analyser::Base to notify any
analyser which whishes to listen
2014-05-13 16:43:46 -04:00
Mark Furneaux 6a882370a6 Fix block analyzer framerate
Block analyzer uses an internal variable m_step to determine how
long to hold a bar up. This is dependant on framerate, however it is
only set on creation or resize of the analyzer. This patch changes
this value whenever the framerate is changed, preventing the analyzer
from appearing wildly fast or extremely slow until a restart.
2014-05-12 18:15:00 -04:00
John Maguire bebd781fdf Reformat all non-3rd-party C/C++/Objective-C++.
Command line:
find src ext -regex '.*\.\(h\|cpp\|mm\)' -exec clang-format -i
 -style='{BasedOnStyle: Google, DerivePointerBinding: false}' {} \;
2014-02-07 16:34:20 +01:00
John Maguire 71893e4847 Use nullptr instead of NULL everywhere. 2014-02-06 17:29:59 +01:00
Vasily Fomin b1c488ffea Make wheel events on the analyzer change the volume. Fixes issue 3761 2013-07-27 16:13:07 +10:00
Arnaud Bienner bb5eaabadb Make analyzers' framerate constant values private members of AnalyzerContainer.
Looks cleaner like this
2012-03-22 20:03:17 +01:00
Arnaud Bienner 8d0920073b Revert "Prevent block analyzer to be initialized in very high framerate mode. This is strangely slowing it"
This reverts commit 6098e298fd.
2011-11-01 02:04:42 +01:00
David Sansome dad22297d1 Add a nyan cat analyzer.
Nyan nyan nyan nyan.
2011-06-22 23:25:08 +00:00
Arnaud Bienner 6098e298fd Prevent block analyzer to be initialized in very high framerate mode. This is strangely slowing it 2011-06-18 15:00:59 +00:00
David Sansome 3eedc916ad Add a new logging system 2011-04-22 16:50:29 +00:00
Arnaud Bienner 34f8c124f5 Modif analyzers' framerate to make code cleaner. Adding 'very high' framerate 2011-03-05 18:53:48 +00:00
Arnaud Bienner ea391c2b7d Adding a menu to allow user to change analyzers' framerate 2011-03-04 00:38:15 +00:00
David Sansome ed1a25693c Add missing licenses to debian/copyright, and add copyright information to each source file 2010-11-20 13:27:10 +00:00
John Maguire c801ce1a2d Rollback analyzer changes. 2010-08-28 18:48:16 +00:00
John Maguire 372e196be4 * Add a half working gl block analyzer.
* Use a native search widget for the playlist search on Mac.
2010-08-25 20:59:08 +00:00
John Maguire 59233f5192 Disable FFT when no analyzer in use. 2010-08-20 12:14:43 +00:00
John Maguire 03274b0831 Add new analyzer API and example using gstreamer spectrum element. 2010-08-18 16:09:45 +00:00
David Sansome 2b17a8ee1f Revert r1344 (the timer tracing), it didn't help 2010-06-25 22:04:24 +00:00
David Sansome cc6413ab0e Add tracing to every timer event, might help track down CPU usage... 2010-06-25 08:46:03 +00:00
David Sansome 79f283f34d Add the "visualisations" action to the analyzer menu, and make double clicking the analyzer open it. Fixes issue #421 2010-06-23 15:52:56 +00:00
David Sansome fa00ee971d Add license headers to all our source files 2010-03-23 23:11:46 +00:00
David Sansome d09eaac67a Fix up the other 2D analyzers 2010-03-21 17:22:05 +00:00
David Sansome 2e1023457c Show the analyzer popup menu on a left click as well as a right click 2010-03-21 16:20:27 +00:00
David Sansome e1c44cdc77 Add options for choosing or disabling the analyzer.
Fixes issue #75.
2010-03-20 22:45:54 +00:00