Tweaks to frequency spectrum and sound ellipse in visualizer (#464)
* use visualizer_spectrum_log_scale_{x,y} to control log scaling
* change sound ellipse character to the circle instead of the bar
* oops, should be determined by x-axis scaling
* rebase to upstream
* use values from Config directly
* fix that weird first-column screen-wrapping issue when drawing
* rebase to upstream
---------
Co-authored-by: whooie <wchooie@gmail.com>
Co-authored-by: Andrzej Rybczak <arybczak@users.noreply.github.com>
This commit is contained in:
@@ -278,6 +278,8 @@ bool Configuration::read(const std::vector<std::string> &config_paths, bool igno
|
||||
lowerBoundCheck<double>(result, Config.visualizer_spectrum_hz_min+1);
|
||||
return result;
|
||||
});
|
||||
p.add("visualizer_spectrum_log_scale_x", &visualizer_spectrum_log_scale_x, "yes", yes_no);
|
||||
p.add("visualizer_spectrum_log_scale_y", &visualizer_spectrum_log_scale_y, "yes", yes_no);
|
||||
p.add("visualizer_color", &visualizer_colors,
|
||||
"blue, cyan, green, yellow, magenta, red", list_of<NC::FormattedColor>);
|
||||
p.add("system_encoding", &system_encoding, "", [](std::string encoding) {
|
||||
|
||||
Reference in New Issue
Block a user