Raising and falling edge triggers (counters)
Posted: Mon Feb 22, 2021 11:02 am
I have searched the forum as I'm sure this has been asked before.
How can I detect a change in a value (up or down) say from CC data. I'm looking for away to convert that change into a trigger (or counter), e.g. to change Goto Next for my next video file.
I have one other little funny, as I can detect voltage change at my end I thought I would convert that to a trigger and send it to Magic via a CC, however I always have to send it twice no matter if I have a few ms or 10 seconds between sending the trigger, it is a short trigger and I know it's dropping to 0 before sending again. If it's a longer trigger it seams OK, but that fact I have to always send it twice to retrigger in Magic has got me, If it triggered even now and then I could understand that being a timing issue, but it's ever other time without fail.
I'm also a little confused with the beta new "y" variable, I thought I would have been able to use something like if(x != y,1,0) to detect a CC change in value.
Cheers
How can I detect a change in a value (up or down) say from CC data. I'm looking for away to convert that change into a trigger (or counter), e.g. to change Goto Next for my next video file.
I have one other little funny, as I can detect voltage change at my end I thought I would convert that to a trigger and send it to Magic via a CC, however I always have to send it twice no matter if I have a few ms or 10 seconds between sending the trigger, it is a short trigger and I know it's dropping to 0 before sending again. If it's a longer trigger it seams OK, but that fact I have to always send it twice to retrigger in Magic has got me, If it triggered even now and then I could understand that being a timing issue, but it's ever other time without fail.
I'm also a little confused with the beta new "y" variable, I thought I would have been able to use something like if(x != y,1,0) to detect a CC change in value.
Cheers