[Qt-interest] Frequency of Audio Tracks

Vijay Kansal vijaykansal3 at gmail.com
Sat Jul 24 19:29:17 CEST 2010


Hi,
I want to develop an audio editor using Qt.
For this, I need to plot a waveform of the music track which I think should
be a plot of frequency of sound versus time(please correct me if I am
wrong).

Currently, I have been using Phonon::AudioOutput class object as an audio
sink and connected it with my Phonon::MediaObject class object to play the
audio file.

Now, to draw the waveform I need to know the frequeny of audio track at
every second (,or so) from this AudioOutput object so that I can draw a line
(using QPainter) of length proportional to sound frequency at different
times and hence, obtain my waveform.

So, please help me on how to obtain frequency of audio tracks at different
times.
Thanks


-- 
vijay
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100724/bcc4368b/attachment.html 


More information about the Qt-interest-old mailing list