MultiMedia Soft forum

MultiMedia Soft products => Audio playback and audio management components => Topic started by: Mark25 on August 02, 2014, 12:45:09 PM

Title: Audio Waveform Analyzer and auto-scroll during playback
Post by: Mark25 on August 02, 2014, 12:45:09 PM
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.


Title: Re: Audio Waveform Analyzer and auto-scroll during playback
Post by: Administrator on August 02, 2014, 12:47:46 PM
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