Audio Waveform Analyzer and auto-scroll during playback

Started by Mark25, August 02, 2014, 12:45:09 PM

Previous topic - Next topic

Mark25

I'm evaluating your Audio Waveform Analyzer for .NET control for one of our products. I'm pleased to say that the control meets all of our requirements but I would like to know if is it possible, during playback, to auto-scroll (panning) the waveform while it is zoomed in, just like the WaveformScroller does. Essentially, I want the panning feature of the WaveformScroller in the WaveformAnalyzer.



Administrator

Hi Mark25,

the waveform analyzer main window doesn't have an automatic auto-scroll feature but it could be easily implemented by leveraging the combination of GetDisplayRange and SetDisplayRange methods: if for example you should be using a timer for updating the current playback position, you may check if the current playback position is still within the range returned by the GetDisplayRange method: if it shouldn't, you may arrange the displayed range through the SetDisplayRange method: in this way the vertical line displaying the playback position would be always within a visible range.

Hope this helps  :)

Kind Regards

Severino Delaurenti