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

Add timeline #61

Closed LanesGood closed 1 year ago

LanesGood commented 1 year ago

Contributes to #56

This currently sets a timeInterval of 0.5 seconds, and a primary label on every second. This looks unreadable on longer audio files, but is the only way I've found to display a 0.5 second tick mark, or even 1 second label, on shorter clips. Playing with the max zoom and the minPxPerSecond can achieve different results if desired.

I used the timeline docs and plugin code to determine the options here.

image