mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
first working fft
This commit is contained in:
parent
ad018e9a31
commit
27cd7493ee
|
@ -395,13 +395,13 @@ function Spectrum(id, options) {
|
|||
// Setup state
|
||||
this.paused = false;
|
||||
this.fullscreen = false;
|
||||
this.min_db = -30;
|
||||
this.max_db = 50;
|
||||
this.min_db = 20;
|
||||
this.max_db = 80;
|
||||
this.spectrumHeight = 0;
|
||||
|
||||
// Colors
|
||||
this.colorindex = 0;
|
||||
this.colormap = colormaps[2];
|
||||
this.colormap = colormaps[2];
|
||||
|
||||
// Create main canvas and adjust dimensions to match actual
|
||||
this.canvas = document.getElementById(id);
|
||||
|
|
Loading…
Reference in a new issue