real time axis + lineare freq => very slow
animation frame + optimization
improve perf
constants
canvas
time axis
linear interpolation
pause/resume + time grid
get rid of global ctx
legend
local x
separate drawSonogram
more local vars