diff --git a/config_webrx.py b/config_webrx.py index ea693c1..ab9e7fd 100644 --- a/config_webrx.py +++ b/config_webrx.py @@ -69,7 +69,8 @@ sdrhu_public_listing = False # ==== DSP/RX settings ==== dsp_plugin="csdr" fft_fps=9 -fft_size=4096 +fft_size=16384 # averaging only works on fft_size=16384 for some reason +fft_averages=50 samp_rate = 250000 center_freq = 145525000 @@ -146,9 +147,9 @@ iq_server_port = 4951 #TCP port for ncat to listen on. It will send I/Q data ove #access_log = "~/openwebrx_access.log" -waterfall_colors = "[0x000000ff,0x2e6893ff, 0x69a5d0ff, 0x214b69ff, 0x9dc4e0ff, 0xfff775ff, 0xff8a8aff, 0xb20000ff]" -waterfall_min_level = -115 #in dB -waterfall_max_level = 0 +waterfall_colors = "[0x000000ff,0x0000ffff,0x00ffffff,0x00ff00ff,0xffff00ff,0xff0000ff,0xff00ffff,0xffffffff]" +waterfall_min_level = -85 #in dB +waterfall_max_level = -20 #A guide is available to help you set these values: https://github.com/simonyiszk/openwebrx/wiki/Calibrating-waterfall-display-levels #Warning! The settings below are very experimental. diff --git a/htdocs/openwebrx.js b/htdocs/openwebrx.js index 7c9ab96..fd4833a 100644 --- a/htdocs/openwebrx.js +++ b/htdocs/openwebrx.js @@ -1018,7 +1018,7 @@ function canvas_mousewheel(evt) zoom_max_level_hps=33; //Hz/pixel -zoom_levels_count=5; +zoom_levels_count=14; function get_zoom_coeff_from_hps(hps) { @@ -1040,8 +1040,10 @@ function mkzoomlevels() zoom_levels=[1]; maxc=get_zoom_coeff_from_hps(zoom_max_level_hps); if(maxc<1) return; + // logarithmic interpolation + zoom_ratio = Math.pow(maxc, 1/zoom_levels_count); for(i=1;i