diff --git a/config_webrx.py b/config_webrx.py index e50e7b9..ea693c1 100644 --- a/config_webrx.py +++ b/config_webrx.py @@ -117,9 +117,9 @@ To use a HackRF, compile the HackRF host tools from its "stdout" branch: #format_conversion="csdr convert_s16_f | csdr gain_ff 30" # >> /dev/urandom test signal source -samp_rate = 2400000 -start_rtl_command="cat /dev/urandom | (pv -qL `python -c 'print int({samp_rate} * 2.2)'` 2>&1)".format(rf_gain=rf_gain, center_freq=center_freq, samp_rate=samp_rate) -format_conversion="csdr convert_u8_f" +#samp_rate = 2400000 +#start_rtl_command="cat /dev/urandom | (pv -qL `python -c 'print int({samp_rate} * 2.2)'` 2>&1)".format(rf_gain=rf_gain, center_freq=center_freq, samp_rate=samp_rate) +#format_conversion="csdr convert_u8_f" # >> Pre-recorded raw I/Q file as signal source # You will have to correctly specify: samp_rate, center_freq, format_conversion in order to correctly play an I/Q file. diff --git a/htdocs/gfx/openwebrx-3d-spectrum.png b/htdocs/gfx/openwebrx-3d-spectrum.png new file mode 100644 index 0000000..06ad495 Binary files /dev/null and b/htdocs/gfx/openwebrx-3d-spectrum.png differ diff --git a/htdocs/index.wrx b/htdocs/index.wrx index b45754c..be0d43c 100644 --- a/htdocs/index.wrx +++ b/htdocs/index.wrx @@ -107,7 +107,7 @@
-
+
0 dB
diff --git a/htdocs/openwebrx.js b/htdocs/openwebrx.js index 3c2c105..642b121 100644 --- a/htdocs/openwebrx.js +++ b/htdocs/openwebrx.js @@ -1925,16 +1925,16 @@ function mathbox_init() mathbox_container.appendChild((mathbox_element=three.renderer.domElement)); view = mathbox .set({ - scale: 720, + scale: 1080, focus: 3, }) .camera({ proxy: true, - position: [2, 1, 3], + position: [-2, 1, 3], }) .cartesian({ - range: [[0, 1], [0, 1], [0, 1]], - scale: [1, 2/3, 1], + range: [[-1, 1], [0, 1], [0, 1]], + scale: [2, 2/3, 1], }); view.axis({ @@ -1946,6 +1946,7 @@ function mathbox_init() axis: 2, width: 3, color: "#fff", + //offset: [0, 0, 0], }); view.axis({ axis: 3,