diff --git a/htdocs/openwebrx.js b/htdocs/openwebrx.js index 113fc64..cf9f678 100644 --- a/htdocs/openwebrx.js +++ b/htdocs/openwebrx.js @@ -1182,6 +1182,10 @@ function on_ws_recv(evt) fft_compression = config.fft_compression; divlog( "FFT stream is "+ ((fft_compression=="adpcm")?"compressed":"uncompressed")+"." ) max_clients_num = config.max_clients; + mathbox_waterfall_colors = config.mathbox_waterfall_colors; + mathbox_waterfall_frequency_resolution = config.mathbox_waterfall_frequency_resolution; + mathbox_waterfall_history_length = config.mathbox_waterfall_history_length; + waterfall_init(); audio_preinit(); diff --git a/owrx/controllers.py b/owrx/controllers.py index 7d7f63a..366eb3a 100644 --- a/owrx/controllers.py +++ b/owrx/controllers.py @@ -83,7 +83,8 @@ class OpenWebRxClient(object): config_keys = ["waterfall_colors", "waterfall_min_level", "waterfall_max_level", "waterfall_auto_level_margin", "lfo_offset", "samp_rate", "fft_size", "fft_fps", "audio_compression", "fft_compression", "max_clients", "start_mod", - "client_audio_buffer_size", "start_freq", "center_freq"] + "client_audio_buffer_size", "start_freq", "center_freq", "mathbox_waterfall_colors", + "mathbox_waterfall_history_length", "mathbox_waterfall_frequency_resolution"] def __init__(self, conn): self.conn = conn