From 9527fcd65ff6eee767f1e48191ed17164e04dd66 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Sun, 14 Feb 2016 15:14:06 +0100 Subject: [PATCH] tweak spectrum color schema --- gtk2_ardour/export_report.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk2_ardour/export_report.cc b/gtk2_ardour/export_report.cc index 81b9422272..efc9fe9b5b 100644 --- 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 ();