Re: Frequency of Audio Track
I can't help you with this, but what you want is the amplitude of the sound, not the frequency. To obtain the frequency, you would need to run the sound file through a Fourier Transform, and I doubt that's what you want to do.
Re: Frequency of Audio Track
okay
But, how can I then obtain the amplitude of my audio file using AudioOutput object (or any other class object)?
Secondy,am i using the correct way of plotting waveforms of audio tracks - plotting amplitudes of sound against time by plotting lines by Qpainter object on a widget at different times.
Thanks
Re: Frequency of Audio Track
You can't get access to audio or video data through Phonon, it's only for playback. You can use the QtMultimedia module though.
Re: Frequency of Audio Track
Check out QwtPlot, it might make life easier
Re: Frequency of Audio Track
There's also a spectrum analyser example in latest qt demo. Check that out. :)