QTGZF5KRDIDHUHFMBLO4Z4AOT4EDENKF3Q3VWXE27IE4EZLZZWIAC if (state.zoomPlugin && typeof state.zoomPlugin === "object" && "zoom" in state.zoomPlugin) {(state.zoomPlugin as { zoom: (factor: number) => void }).zoom(1.5);
if (state.wavesurfer) {try {// Use a small increment for smoother zooming (25 pixels per second)state.wavesurfer.zoom(25);} catch (error) {console.error('Error zooming in:', error);}
if (state.zoomPlugin && typeof state.zoomPlugin === "object" && "zoom" in state.zoomPlugin) {(state.zoomPlugin as { zoom: (factor: number) => void }).zoom(0.75);
if (state.wavesurfer) {try {// Use negative increment to zoom outstate.wavesurfer.zoom(-15);} catch (error) {console.error('Error zooming out:', error);}