projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e2299b
)
tweak spectrum color schema
author
Robin Gareus
<robin@gareus.org>
Sun, 14 Feb 2016 14:14:06 +0000
(15:14 +0100)
committer
Robin Gareus
<robin@gareus.org>
Sun, 14 Feb 2016 14:14:06 +0000
(15:14 +0100)
gtk2_ardour/export_report.cc
patch
|
blob
|
history
diff --git
a/gtk2_ardour/export_report.cc
b/gtk2_ardour/export_report.cc
index 81b94222720be660c21562445d7c71ac5ad12c98..efc9fe9b5bc48af8f1c873260755dbea8e6faa37 100644
(file)
--- a/
gtk2_ardour/export_report.cc
+++ b/
gtk2_ardour/export_report.cc
@@
-584,7
+584,7
@@
ExportReport::ExportReport (Session* session, StatusPtr s)
for (size_t x = 0 ; x < width; ++x) {
for (size_t y = 0 ; y < height; ++y) {
const float pk = p->spectrum[x][y];
- ArdourCanvas::Color c = ArdourCanvas::hsva_to_color (252 - 260 * pk, .9,
.3 + pk * .4
);
+ ArdourCanvas::Color c = ArdourCanvas::hsva_to_color (252 - 260 * pk, .9,
sqrt(pk)
);
ArdourCanvas::set_source_rgba (cr, c);
cr->rectangle (m_l + x - .5, y - .5, 1, 1);
cr->fill ();