I am very new to Python and my first project is pretty ambitious: D
I am trying to create an audio player using QWebView and HTML5 Audio API.
I want to use Phonon to play media files, but I would like to use the HTML5 Audio API to create an equalizer, for example, in Winamp.
I can get Phonon to play the audio file without any problems, but is there any way to connect the audio output to my JavaScript so that I can play with different channels, etc.
Is this even the best way? I mean, what can I do to limit the formats available to my player to those supported by WebKit, or can I still play any format that Phonon can play? (I assume here that Phonon will pass the raw / decoded version of the sound to my JavaScript, which I could use through the Audio API)
If this is not possible, I can make a simple JavaScript wrapper around the Phonon AudioOutput object, I suppose?
Any thoughts?
python html5-audio webkit phonon
jakalofnaar
source share