Need timing/logic help for slideshow patch

laserpilot's picture

I have been wrestling with this problem for what feels like days and it seems like it must be simpler than it appears.

I am working on a patch that just takes photos from a folder and transitions between every photo in the folder automatically, just like a slideshow patch. I've got that part down with some interpolation and things, but it's a little too automated.

One issue is that I can't have it pause on one photo, it just keeps rolling through the composition. Ideally the process should go like this:

Receive an "advance" bang/click/message Photo transitions to next one with specified timing Photo sits there until next "advance" message

I can stop it from transitioning with the stop watch object and an external timebase on the interpolation, but I end up hitting it right in the middle of a transition and can't reliably stop it when a full photo is up. I've tried various javascript statements to catch it at the right spot, but interpolation seems to zip past the range I'm trying to catch it in so none of my logic appears to work correctly.

The attached patch demonstrates how everything is right now: 1. Receives a bang 2. Starts the first stop watch 3. Transition interpolation runs from 0.-1. 4. Precisely when the transition reaches 1, start the interpolation meant for pausing on the full photo and stop the other stop watch 5. Pause for 3 seconds 6. Repeat

Any ideas? I think somewhere in step 4 is where I'm getting screwed up..anyone else have a slideshow patch around?

Keynote extensions

Raconteur's picture

Hi all,

The path of discovery of QC was actually initiated by a desire to extend Keynote. I see that all of the Keynote transitions and Smart Builds (SB) are made in QC, and my group has a need to enhance that functionality, especially the SBs.

Does anyone know how to do this? All I have found online is a note saying that Keynote does not have a plug-in architecture so adding transitions is difficult (if not impossible).

Even if I have to hack an existing SB, that would be fine. The problem there is all of them are in compiled NIBs.

To the point, what I would like to do first off, is take the Turntable SB and tilt it 90 degrees so that it presents more like a Ferris Wheel than a Lazy Susan.

ANY input on this GREATLY appreciated!