[Qt-interest] Waveform of audio tracks

Sean Harmer sean.harmer at maps-technology.com
Sat Jul 24 12:21:18 CEST 2010


Hi,

On 24/07/2010 10:37, Vijay Kansal wrote:
> Hi,
> I want to create an audio editor,
> in which i have to create a widget that shows waveforms of audio tracks.
> For this, i think i should use Qpainter to draw lines proportional to
> audio amplitude.
> Problems:How to get the ampliude of my audio track.
> Secondly, on which widget shall i paste the waveform (lines produced by
> Qpainter object  )
> Is there any way of producing ths waveform (may be any built-in widget
> of QT or so)?
> Thanks.

See this labs blog entry which does pretty much what you are after:

http://labs.trolltech.com/blogs/2010/05/18/qtmultimedia-in-action-a-spectrum-analyser/

Cheers,

Sean



More information about the Qt-interest-old mailing list