For my method: 1) works fine 2) works fine (so long as end > start, if not it's trivial to change) 3) fails, you'd have to use a different method or combine it with another. If you're not looping you could change the detection to something like "b - a > 0.5" to detect a large drop in one frame (which would be the end of the loop unless you have a really extreme curve).
Chris On 2 November 2010 13:29, Alastair Leith <[email protected]> wrote: > I've used those kind of methods too but specifically watching an > interpolation patch, > > What about these cases: > 1) it falls from 1 to zero because it's looping not mirror looping (you > rule out large jumps I know ;-) ); > 2) other start and end values that make ruling out loop-case more > difficult; > 3) a Custom Curve that wobbles (it's derivative goes +ve and -ve a few > times in one cycle). I was looking at some Actionscript interpolation > functions the other day (Robert Penner > tweening<http://www.robertpenner.com/easing/penner_chapter7_tweening.pdf>) > and there were a couple that were complex functions that did overshoot then > return to end value and wobble-up-and-down to end value. > > On 03/11/2010, at 12:16 AM, Chris Wood wrote: > > This is how I'd handle it. It simply detects when the output starts to > fall, so it'll happily work with either loop or mirrored loop, and most > curves / tension settings. It'll detect when any value goes from > rising/stable to falling, so you can use it elsewhere too (I tend to use > other methods in place of interpolation, at that point there's no guarantee > you're going to have a convenient way of determining state based on time). > > Chris > > On 2 November 2010 12:55, George Toledo <[email protected]> wrote: > >> "Forget about all this rigamorole way, extra patches, or getting last >> frames with queues, and just make it perform quick:" >> >> Use the Tolerance control on the Conditional method that I suggested. I >> think it was included for a reason ;) >> >> -GT >> >> >> On Tue, Nov 2, 2010 at 8:34 AM, Boštjan Čadež <[email protected]> wrote: >> >>> >>> The easyest way i can think of doing this would be to use a square wave >>> LFO alongside the interpolation patch. That will basically give you the >>> phase port you describe. Add a watcher after that and you have your bounce >>> pulses. >>> >>> Cheers, >>> fsk >>> >>> >>> On 2. nov. 2010, at 05:56, Keith Lang <[email protected]> wrote: >>> >>> > Wondering if other people ever want this feature before I submit it… >>> > >>> > Basically, I often want to know when an Interpolation patch has just >>> > 'bounced' from one of it's Start or End values, and sometimes, which >>> > direction it's heading in. >>> > This would be useful for triggering events at the end of the >>> > interpolation, loop, etc. >>> > >>> > There's no clean way to know this currently — I don't think we can >>> > assume it will pass through 0. >>> > >>> > So I'm suggesting a Phase boolean output port that changes to 1 when >>> > it's in reverse. >>> > >>> > If I'm missing an existing way, or a better implementation I'd love to >>> hear it. >>> > >>> > >>> > Keith >>> > <Interpolation-request.png> >>> > _______________________________________________ >>> > Do not post admin requests to the list. They will be ignored. >>> > Quartzcomposer-dev mailing list ( >>> [email protected]) >>> > Help/Unsubscribe/Update your Subscription: >>> > >>> http://lists.apple.com/mailman/options/quartzcomposer-dev/fskolog%40gmail.com >>> > >>> > This email sent to [email protected] >>> _______________________________________________ >>> Do not post admin requests to the list. They will be ignored. >>> Quartzcomposer-dev mailing list ([email protected] >>> ) >>> Help/Unsubscribe/Update your Subscription: >>> >>> http://lists.apple.com/mailman/options/quartzcomposer-dev/gtoledo3%40gmail.com >>> >>> This email sent to [email protected] >>> >> >> >> >> -- >> George Toledo >> [email protected] >> www.georgetoledo.com >> >> The information contained in this E-mail and any attachments may be >> confidential. >> If you have received this E-mail in error, please notify us immediately by >> telephone or return E-mail. >> You should not use or disclose the contents of this E-mail or any of the >> attachments for any purpose or to any persons. >> >> >> _______________________________________________ >> Do not post admin requests to the list. They will be ignored. >> Quartzcomposer-dev mailing list ([email protected]) >> Help/Unsubscribe/Update your Subscription: >> >> http://lists.apple.com/mailman/options/quartzcomposer-dev/psonice%40gmail.com >> >> This email sent to [email protected] >> > > <Detect Interpolation End.qtz>_______________________________________________ > > Do not post admin requests to the list. They will be ignored. > Quartzcomposer-dev mailing list ([email protected]) > Help/Unsubscribe/Update your Subscription: > > http://lists.apple.com/mailman/options/quartzcomposer-dev/qc.student.au%40gmail.com > > This email sent to [email protected] > > >
_______________________________________________ Do not post admin requests to the list. They will be ignored. Quartzcomposer-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/quartzcomposer-dev/archive%40mail-archive.com This email sent to [email protected]

