<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"><html><head><meta name="qrichtext" content="1" /><style type="text/css">p, li { white-space: pre-wrap; }</style></head><body style=" font-family:'Consolas'; font-size:11pt; font-weight:400; font-style:normal;">On Friday 09 January 2009, Georg Grabler wrote:<br>
> 2.) Can I crossfade between MediaObjects in the Queue (as an example)? Like<br>
> having 1 file playing, at aboutToFinish i set another file (mediasource) in<br>
> the queue, and set the transition time to -5 (or any other value which<br>
> seems to fit nicely). Wouldn't this mean, that I'd always need to have two<br>
> mediafiles in the queue, since aboutToFinish is too short before the end of<br>
> the track to make sense for crossfading (at the current behaviour I<br>
> experience), and that the transition time would be a "global" value.<br>
><br>
> How would the crossfade in Phonon work anyway? JuK currently fades out one<br>
> track, and fades in the other one at the same time. I don't like that, but<br>
> I think it's as the JuK developer and maintainer intended it to be like<br>
> this.<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>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....<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>As far as fading out a track while fading one in, that's the "cross" in crossfade.  I'm not sure how else it is supposed to be, as the fading in this case is done since you're playing two songs simultaneously, for however brief a time.<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>Regards,<br>
 - Michael Pyne</p></body></html>