Optional
delta5
Optional
exponentialWhether to zoom into the waveform using a consistent exponential factor instead of a linear scale.
Exponential zooming ensures the zoom steps feel uniform regardless of scale.
When disabled, the zooming is linear and influenced by the scale
parameter.
false
Optional
iterations?: numberNumber of steps required to zoom from the initial zoom level to maxZoom
.
20
Optional
maxOptional
scale?: numberThe amount of zoom per wheel step, e.g. 0.5 means a 50% magnification per scroll
0.5
Generated using TypeDoc
The amount the wheel or trackpad needs to be moved before zooming the waveform. Set this value to 0 to have totally fluid zooming (this has a high CPU cost).