File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -110,11 +110,11 @@ GraphSpectrumCalc.dataLoadPSD = function(analyserZoomY) {
110110 const flightSamples = this . _getFlightSamplesFreq ( false ) ;
111111
112112 let pointsPerSegment = 512 ;
113- const multipiler = Math . floor ( 1 / analyserZoomY ) ; // 0. ... 10
114- if ( multipiler == 0 ) {
113+ const multiplier = Math . floor ( 1 / analyserZoomY ) ; // 0. ... 10
114+ if ( multiplier == 0 ) {
115115 pointsPerSegment = 256 ;
116- } else if ( multipiler > 1 ) {
117- pointsPerSegment *= 2 ** Math . floor ( multipiler / 2 ) ;
116+ } else if ( multiplier > 1 ) {
117+ pointsPerSegment *= 2 ** Math . floor ( multiplier / 2 ) ;
118118 }
119119 pointsPerSegment = Math . min ( pointsPerSegment , flightSamples . samples . length ) ;
120120 const overlapCount = Math . floor ( pointsPerSegment / 2 ) ;
You can’t perform that action at this time.
0 commit comments