peaks.js icon indicating copy to clipboard operation
peaks.js copied to clipboard

Fixed position on zoomed waveform

Open Christilut opened this issue 4 years ago • 4 comments

My goal is to create a waveform display similar to what DJ apps have and Peaks.js is almost ideal for this. The overview synced with the zoomed waveform is great. It would be really great if I can somehow get the zoomed waveform to be in a fixed position at the center and let the waveform itself move. The zoomed waveform indicator would always point to the current position in time.

Picture for reference: image

The zoomed waveform indicator would not move at all. The waveform would move below it. The overview waveform behaves as normal.

I'm ready to do my best for a PR but I'd love some pointers!

Christilut avatar Dec 19 '20 17:12 Christilut

I can see that some refactoring would be needed to add this feature... The main things that would need to change are:

chrisn avatar Dec 19 '20 17:12 chrisn

Is there still the possibility of implementing this? I'm coming over from wavesurfer and having the fixed playhead feels more natural.

jtag05 avatar Aug 09 '23 15:08 jtag05

Welcome! Yes, I'm interested to implement this, but can't give any promises when.

chrisn avatar Aug 09 '23 20:08 chrisn

Commenting to indicate interest in this feature with caveat that I do not have enough free time to contribute code rn

oenu avatar May 27 '24 19:05 oenu