fix the mathbox / 3d spectrum
This commit is contained in:
parent
fbe43a1715
commit
3c5aa89469
@ -1182,6 +1182,10 @@ function on_ws_recv(evt)
|
|||||||
fft_compression = config.fft_compression;
|
fft_compression = config.fft_compression;
|
||||||
divlog( "FFT stream is "+ ((fft_compression=="adpcm")?"compressed":"uncompressed")+"." )
|
divlog( "FFT stream is "+ ((fft_compression=="adpcm")?"compressed":"uncompressed")+"." )
|
||||||
max_clients_num = config.max_clients;
|
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();
|
waterfall_init();
|
||||||
audio_preinit();
|
audio_preinit();
|
||||||
|
|
||||||
|
@ -83,7 +83,8 @@ class OpenWebRxClient(object):
|
|||||||
config_keys = ["waterfall_colors", "waterfall_min_level", "waterfall_max_level",
|
config_keys = ["waterfall_colors", "waterfall_min_level", "waterfall_max_level",
|
||||||
"waterfall_auto_level_margin", "lfo_offset", "samp_rate", "fft_size", "fft_fps",
|
"waterfall_auto_level_margin", "lfo_offset", "samp_rate", "fft_size", "fft_fps",
|
||||||
"audio_compression", "fft_compression", "max_clients", "start_mod",
|
"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):
|
def __init__(self, conn):
|
||||||
self.conn = conn
|
self.conn = conn
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user