On Fri, July 6, 2007 11:44, Matthew Allum wrote: > I dont *think* so - the audio stuff is there really just as a utility > API to provide simple audio playback without needing to mess directly > with gstreamer. > > To do stuff like this (as its audio only), you are probably better off > using gstreamer directly as its quite specialised.
I've studied the GStreamer docs a bit, and I think that I'll need to create a custom pipeline which inserts a GstTee between the playbin and the audiosink (perhaps with a audioconvert element to make sure that the samples are in a standard format...2 channel 16 bit samples would be nice). Then I *think* samples can be pulled from the GstTee at will... If I can do that, I can create a ClutterTimeline which pulls audio data at regular intervals from the GstTee, sends it to the goom library, gets image data back and then push that to a ClutterTexture. That's the idea...having to wrap my head around the entire GStreamer thing will take some time and effort though. If it turns out to add little overhead the GstTee could perhaps even be added to ClutterGstAudio's default pipeline... > You could alternatively maybe use the clutter video sink on audio only > streams but I dont think this would buy you much compared to the above. > > Audio visualisation would be very cool btw, something I've wanted to > have a shot at. I hope you intend to share code :) Of course, if/when I have something that works :) PS No need to CC me, I'm subscribed... -- David Härdeman -- To unsubscribe send a mail to [EMAIL PROTECTED]
