BlaiMelendezCatalan / BAT

Other
60 stars 7 forks source link

Zooming on selections #15

Open ruohoruotsi opened 5 years ago

ruohoruotsi commented 5 years ago

Hola Blai! This is a great tool, I've set it up without any issues, but as I'm annotating long media (> 10minutes) I'm studying this code: https://github.com/BlaiMelendezCatalan/BAT/blob/951703a121411f60df74c8a1469e05ba9164d080/annotation_tool/js/annotator/src/wavesurfer.regions.js, so I wonder if there is any documentation/method to ZOOM in/out on selections for more precise editing??

I think alternatively, I may have to pre-segment my audio files to fixed sized that can be drawn & precisely annotated (without zooming). This is course is not ideal.

So My question is:

  1. Am I looking in the right area of the code above?
  2. Do you have any hints on your modifications that may complicate me supporting this? http://wavesurfer-js.org/example/zoom/

Thanks again! Ciao!