[Qt-interest] Waveform of audio tracks

Ross Bencina rossb-lists at audiomulch.com
Mon Jul 26 17:12:58 CEST 2010


This came up on the PortAudio list the other day too:

From: RJ Ryan
To: Portaudio Mailing List
Sent: Thursday, July 22, 2010 5:16 PM
Subject: Re: [Portaudio] Recommendation for Qt waveform widget?


Hi Raymond,


You can check out the Waveform viewer in Mixxx (http://mixxx.org).


Here is a pointer to the source to get you started:
http://bazaar.launchpad.net/~mixxxdevelopers/mixxx/trunk/files/head:/mixxx/src/waveform/
http://bazaar.launchpad.net/~mixxxdevelopers/mixxx/trunk/annotate/head:/mixxx/src/widget/wglwaveformviewer.cpp


We use a QGLWidget to render it, though we've had terrible cross-platform 
performance issues with Qt 3d graphics. Take a look and see what you think.


Best,
RJ Ryan


----- Original Message ----- 
From: "Brad Howes" <howes at ll.mit.edu>
To: "Vijay Kansal" <vijaykansal3 at gmail.com>
Cc: <qt-interest at trolltech.com>
Sent: Tuesday, July 27, 2010 12:39 AM
Subject: Re: [Qt-interest] Waveform of audio tracks


On Jul 24, 2010, at 5:37 AM, Vijay Kansal wrote:

> 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)?

Nothing like learning from others. Read the source and see how it is done:

    http://audacity.sourceforge.net

Brad

-- 
Brad Howes
Group 42
MIT Lincoln Laboratory • 244 Wood St. • Lexington, MA 02173
Phone: 781.981.5292 • Fax: 781.981.3495 • Secretary: 781.981.7420






_______________________________________________
Qt-interest mailing list
Qt-interest at trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-interest 




More information about the Qt-interest-old mailing list