Commit Graph

103 Commits

Author SHA1 Message Date
David Sansome 94a3c7f816 Draw over the last segment of nyancat's polyline as well as drawing the current segment to slightly smooth the gaps between segments. 2011-12-01 17:38:14 +00:00
David Sansome 0d2dd452e2 Double buffer nyanalayzer cat drawing - trying to draw a pixmap into itself produces weird artifacts in Qt 4.8 2011-12-01 17:29:27 +00: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 409d3b0184 Rename the nyancat analyzer to "Nyanalyzer cat" 2011-07-20 20:33:11 +01:00
David Sansome 7d6aa42ba3 Shift the rainbow back into the right place again 2011-06-23 22:49:33 +00:00
David Sansome b2418fd3ee Oops, remove some debug output 2011-06-23 22:49:23 +00:00
David Sansome 05e6ee8440 Cache the last rainbow frame so it can be used again in the next frame. Makes the painting much kinder on the CPU, but has the side effect of requiring the line segments to have integer spacings. 2011-06-23 20:36:38 +00:00
David Sansome decc769ebb Precalculate the band scale constants and apply them once when adding new values, instead of every time the polyline is drawn 2011-06-23 20:36:30 +00:00
David Sansome aa20b6b3e2 Don't shift the rainbow data along when the widget is being repainted as a result of an expose event 2011-06-23 20:36:14 +00:00
David Sansome a81c5fdf90 Center the rainbow a bit better 2011-06-23 20:36:05 +00:00
Tyler Rhodes 5792c114e8 Update nyan rainbow scaling and painting.
This is the last time, promise :)
2011-06-23 15:14:39 +00:00
Tyler Rhodes 663e5916dd Make nyan rainbow movements centered. (can move up and down, as opposed to just down). 2011-06-23 13:55:53 +00:00
Tyler Rhodes 612260cc9d Prettify nyan.
Add dark blue background and adjust rainbow placement.
2011-06-23 13:21:08 +00:00
John Maguire 623acc8bd1 Fix compile error on Clang. 2011-06-23 12:34:30 +00:00
John Maguire 3567032795 Fix compile error on Mac.
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMX,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,XMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMKdo,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,odKMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMWkkl';KKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKK;'lkkWMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMK  ,KKKKKKK0000000000000000000000000000000000KKKKKKK,  KMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMK  ,KKKKK00000000000000Olld00000olk000000000000KKKKK,  KMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMK  ,KK00000xddO00000000Oxxk00000kxO000000000000000KK,  KMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMK  ,KK00000xooO00000000000000000dooooO000OkkO00000KK,  KMNkkkkKMMMMMMMMMM
MMMMMMMMMMMMMMMMMK  ,KK00000000000000000000000kxx.....odk0Oood00000KK,  kKd....;KKNMMMMMMM
MMMMMMMMMMMMMMMMMK  ,KK00000000000000000000000,  ldddd  '0000000000KK,    .dddd:  dMMMMMMM
MMk.........,MMMMK  ,KK000000000000000kod00000,  lddddll;.'00000000KK,  :lldddd:  dMMMMMMM
MMd  ,,,,,   llNMK  ,KK000000000000000Oxx00000,  lddddddl,,:;;;;;;:::;,,odddddd:  dMMMMMMM
MMd  ;;cdd;..  ldl  ,KK00000000kxO000000000000,  lddddddddo..........cddddddddd:  dMMMMMMM
MMx    .ooddl       ,KK00000000olk0000000OOOkk,  lddddddddddddddddddddddddddddd:  oNNMMMMM
MMMMK     :dddd.    ,KK00000000000000000Oll,  ;ddddddddddddddddddddddddddddddddddd.  KMMMM
MMMMWkk:  ..'ddc:;  ,KK00kook00000000000Okk:  ;dddddddKXx.'dddddddddddddKXx..odddd.  KMMMM
MMMMMMM0::.  ;;;;,  ,KK00kddO00000000000000c  ;ddddddddd:  dddddddd:;ldddd:  ldddd.  KMMMM
MMMMMMMMMMo,,,,     ,KK000000000000OkkO0000c  ;ddxxxxx'...'dddddddd'.cdd'....oxxxx'  KMMMM
MMMMMMMMMMMMMMM.    ,KK000000000000Olld0000c  ;ddkOOOOxddddddddddddddddddddddkOOOO'  KMMMM
MMMMMMMMMMMMMMMNN0  ,KKKKK00dllO0000OOO0000c  ;ddkOOOOxd: .ddddd'  ldddd. .ddkOOOO'  KMMMM
MMMMMMMMMMMMMMMMMK  ,KKKKKKKkxxO00000000000xcc,..dxxxxdd:  .....   .....  .ddxxo''cddNMMMM
MMMMMMMMMMMMMMMdl:  .:lKKKKKKKKKKKKKKKKKKKKKKKd::,,lddddl,,,,,,,,,,,,,,,,,:dd;,;llKMMMMMMM
MMMMMMMMMMMMWKK'.......kkkkkkkkkkkkkkkkkkkkkkkkkk. ,lllllllllllllllllllllllll..cMMMMMMMMMM
MMMMMMMMMMMMK  lddddddl                                                      KMMMMMMMMMMMM
MMMMMMMMMMMMK  ldddd:.   ,KK'  :lll:  'KKKKKKKKKKKK'  :lll:  'KK,  ;llll  'KKWMMMMMMMMMMMM
MMMMMMMMMMMMK  .,,,,.  llkMM,  ',,,,llkMMMMMMMMMMMMkll,,,,'  ,MMkll;,,,,clkMMMMMMMMMMMMMMM
MMMMMMMMMMMMN:::::::::lMMMMMd::::::lMMMMMMMMMMMMMMMMMMl::::::dMMMMMl::::NMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
2011-06-23 11:28:57 +00:00
David Sansome db26c788f4 Tweak nyan cat's values a bit to make him more interesting 2011-06-23 00:22:56 +00: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 a827379e88 Fix some clang warnings. 2010-08-25 21:14:37 +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 2e03a2f093 *Fix device lister shutdown on mac
*Remove a bunch of debug
*Fix a windows translation
2010-08-23 10:26:00 +00:00
John Maguire 59233f5192 Disable FFT when no analyzer in use. 2010-08-20 12:14:43 +00:00
John Maguire 3b6fda9627 Yay Qt! 2010-08-18 19:28:07 +00:00
John Maguire 2db2354e0b Move spectrum before volume element.
Tweak new analyzer.
2010-08-18 19:12:28 +00:00
John Maguire 9ca0870268 Fix slowdown of block analyzer. 2010-08-18 18:40:52 +00:00
John Maguire 459a134201 Remove FHT and use gstreamer's FFT for all analyzers. 2010-08-18 18:21:30 +00:00
John Maguire 7147dec69f Missing files! ^&%^#@ SVN. 2010-08-18 16:26:36 +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 40bb827fcd Make all the source files a single cmake target again. 2010-06-08 22:39:31 +00:00
David Sansome 1aee5e4667 Split all the source files up into seven new directories. 2010-05-10 21:50:31 +00:00
David Sansome 3a52920671 Remember to pass timer events back down to the baseclass. Fixes issue #258 2010-04-29 15:54:32 +00:00
David Sansome d5a3c74043 Make analyzers use QBasicTimer instead of QTimer 2010-04-27 21:40:28 +00:00
David Sansome 124ca3fe64 Lock all analyzers to 25fps, should reduce CPU usage quite a bit 2010-04-19 14:24:11 +00:00
David Sansome d5eb2297d2 Move the audio engines to their own directory 2010-04-04 17:50:11 +00:00
David Sansome bea2709186 Update the debian copyright file 2010-03-23 23:30:52 +00:00
David Sansome fa00ee971d Add license headers to all our source files 2010-03-23 23:11:46 +00:00
David Sansome ad3c77cb5a Fix compilation errors on ubuntu 2010-03-22 13:49:08 +00:00
David Sansome a2c5bebd25 Remove unused includes. Fixes issue #84 2010-03-21 18:13:22 +00:00
David Sansome 24541609d7 Fixed some RGB parameters out of range warnings 2010-03-21 17:28:54 +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 530d58b4cf Add some more strings for translation 2010-03-21 15:00:36 +00:00
David Sansome e1c44cdc77 Add options for choosing or disabling the analyzer.
Fixes issue #75.
2010-03-20 22:45:54 +00:00
David Sansome b0cad6cee9 Make the playback settings work properly 2010-02-03 16:51:56 +00:00
David Sansome 5b0496bf8f Move everything to trunk 2009-12-24 19:16:07 +00:00