I am seriously new to Python and my first project is quite ambitious :D
I'm trying to create an audio player using a QWebView and the HTML5 Audio API.
I want to use Phonon to actually play the media, but I'd like to be able to use the HTML5 Audio API to make an equalizer, like the one in Winamp.
I can get Phonon to play an audio file no problem, but is there a way to connect the audio output to my JavaScript so that I can play around with the different channels etc.?
Is it even the best way? I mean, would doing it this way limit the formats available to my player to those supported by WebKit, or would I still be able to play any format Phonon is able to play? (I'm assuming here, that Phonon would stream a raw/decoded version of the audio to my JavaScript, which I could then use via the Audio API)
If this isn't possible I could make a simple JavaScript wrapper around a Phonon AudioOutput object I suppose?
Any thoughts?