[Documentation] Phonon

Georg Grabler ggrabler at gmail.com
Thu Jan 15 12:45:51 GMT 2009


Hello List ... once again :-)

I now got it working the way I wanted it (basically). Just that I can't test
it, since I can't seem to get the gstreamer backend working, and xine won't
support crossfading.

Is there anything else currently than gstreamer and xine? I'm currently
using phonon 4.2.96. Is there anything I'd need to get it working properly?
Does it need some special configuration?

Also I found another bug in JuK which I try to fix next, when an item is
selected in the playlist, it screws up the next / previews buttons, so
probably somewhere in the playlist handling (current trunk).

Kind regards,
Georg

On Mon, Jan 12, 2009 at 9:18 AM, Matthias Kretz <kretz at kde.org> wrote:

> Hi,
>
> On Saturday 10 January 2009 16:47:27 Georg Grabler wrote:
> > I didn't know what crossfading is exactly, and I'm currently messing the
> > first time with multimedia / sound at all. I think though, that google
> > would have had a proper answer to what crossfading is.
>
> It's as simple as fading one track out while fading another one in. The
> interesting part about it is to keep the resulting sound power constant
> which
> requires a special fade curve. But Phonon::VolumeFaderEffect already
> provides
> that curve for you. So if you get the timing of the faders right you have a
> perfect crossfade.
>
> > On Fri, Jan 9, 2009 at 10:16 PM, Michael Pyne <mpyne at purinchu.net>
> wrote:
> > > On Friday 09 January 2009, Georg Grabler wrote:
> > > > 2.) Can I crossfade between MediaObjects in the Queue (as an
> example)?
> > > > Like having 1 file playing, at aboutToFinish i set another file
> > > > (mediasource)
> > > > in
> > > > the queue, and set the transition time to -5 (or any other value
> which
> > > > seems to fit nicely). Wouldn't this mean, that I'd always need to
> have
> > > > two
> > > > mediafiles in the queue, since aboutToFinish is too short before the
> > > > end
> > > > of
> > > > the track to make sense for crossfading (at the current behaviour I
> > > > experience), and that the transition time would be a "global" value.
>
> aboutToFinish is defined as being early enough to enqueue another
> MediaSource
> so that the transition still works. So if the transition time is negative
> aboutToFinish is emitted that much earlier.
>
> > > setTransitionTime with a negative value should do crossfading according
> > > to the API docs (I'm pretty sure there was no setTransitionTime when
> > > crossfading was first added to JuK but I could be wrong). However the
> > > docs warn this may not work reliably with every backend as well....
>
> setTransitionTime has been there for a long time but isn't implemented for
> phonon-xine, and possibly never will be.
>
>
> --
> ________________________________________________________
> Matthias Kretz (Germany)                            <><
> http://Vir.homelinux.org/
>
> _______________________________________________
> kde-multimedia mailing list
> kde-multimedia at kde.org
> https://mail.kde.org/mailman/listinfo/kde-multimedia
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-multimedia/attachments/20090115/a369ecf3/attachment.htm>
-------------- next part --------------
_______________________________________________
kde-multimedia mailing list
kde-multimedia at kde.org
https://mail.kde.org/mailman/listinfo/kde-multimedia


More information about the kde-multimedia mailing list