Add files via upload

This commit is contained in:
DJ2LS 2021-09-06 19:15:17 +02:00 committed by GitHub
parent e19e9b34c6
commit 3d29a48687
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -386,16 +386,16 @@ function Spectrum(id, options) {
this.centerHz = (options && options.centerHz) ? options.centerHz : 0;
this.spanHz = (options && options.spanHz) ? options.spanHz : 0;
this.wf_size = (options && options.wf_size) ? options.wf_size : 0;
this.wf_rows = (options && options.wf_rows) ? options.wf_rows : 512;
this.spectrumPercent = (options && options.spectrumPercent) ? options.spectrumPercent : 0;
this.spectrumPercentStep = (options && options.spectrumPercentStep) ? options.spectrumPercentStep : 5;
this.averaging = (options && options.averaging) ? options.averaging : 10;
this.wf_rows = (options && options.wf_rows) ? options.wf_rows : 2048;
this.spectrumPercent = (options && options.spectrumPercent) ? options.spectrumPercent : 25;
this.spectrumPercentStep = (options && options.spectrumPercentStep) ? options.spectrumPercentStep : 0;
this.averaging = (options && options.averaging) ? options.averaging : 0;
this.maxHold = (options && options.maxHold) ? options.maxHold : false;
// Setup state
this.paused = false;
this.fullscreen = false;
this.min_db = 30;
this.min_db = 0;
this.max_db = 50;
this.spectrumHeight = 0;