developmentseed / bioacoustics-frontend

Frontend code for the Google Bioacoustics project that's used by A2O Search
https://search.acousticobservatory.org/
MIT License
2 stars 0 forks source link

Clip improvements #68

Open oliverroick opened 1 year ago

oliverroick commented 1 year ago

I see some behavior too:

ecoecho-mouse-issues

Originally posted by @geohacker in https://github.com/developmentseed/bioacoustics-frontend/issues/52#issuecomment-1582849170

oliverroick commented 1 year ago

@geohacker

sometimes it's unclear if i should scroll

Do you mean whether you can/should scroll to pan the spectrogram or zoom?

@LanesGood Let's discuss how and if we want to tackle these.

LanesGood commented 1 year ago

The wavesurfer plugins have options like "autocenter" and "autoscroll" which I believe we should take advantage of as much as possible. Ideally if a user is playing the clip, the playhead cursor is visible in the window.

LanesGood commented 1 year ago

I also agree that when a user enters clip mode, the clipping window should automatically appear in the center of the current audio viewport (if there is no clip already set).

LanesGood commented 1 year ago

Additionally, with #67 in place it would be ideal to center the clip once dragging is complete.