beatdetektor
beatdetektor copied to clipboard
reset maa_quality_avg
Saw this while trying to port it to TS. :)
Oh and parseInt
defaults to radix 8, is that what you intended for draft_int
?
386: const draft_int = parseInt(draft_float / 10.0);
I think the intention of this line was to set draft_int
to draft_float / 10
and floor the value?
The correct way would be to use Math.floor() or Math.round().