Jump to content

Looking Ahead In Event Chops?


irm

Recommended Posts

I have a channel that is either 0 or 1. I'd like to derive another channel that, during any period where the input's value is 1, returns the frame number at which the input channel next changes back to zero. So I'm looking for behavior like some sort of event CHOP but with the ability to look one event ahead.

I'm not very familiar with CHOPs, so I don't even know whether this is possible. Any suggestions or ideas would be very welcome.

Thanks,

Ian

Link to comment
Share on other sites

Can you just figure out the event changes and shift the resulting data?

25757[/snapback]

The events occur at varying times and for varying periods, so this would mean shifting the channel a different amount for each period where the input value is 1.

Do you mean it's possible to do this by accessing a list of events, eg. querying what frame number an event CHOP's fourth event occurs on? If so, great, this would solve the problem, but I don't know how to perform such a query; could you explain?

If you mean finding a procedural solution or shifting the channel by hand, unfortunately these are not possible because the function is to be applied to a large amount of arbitrary data.

Thanks for your reply.

Link to comment
Share on other sites

If I understood you right, this should work as expected. If you want to look further ahead, change the post add value in the math1 chop.

Hope this gets you started

Achim

25770[/snapback]

Achim, that's perfect! It was the Split CHOP that solved the part I was stuck on. Thanks very much!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...