Hello!
I’ve tried to make simple password check in Field op, that trigger one sound if password is right and another sound if wrong. I used evaluate DAT with simple scripts:
“1 if ((op(‘password1’)[0,0] == op(‘rightPassword’)[0,0]) & (op(‘pressEnter’)[0,0] == 1)) else 0” and “1 if ((op(‘password1’)[0,0] != op(‘rightPassword’)[0,0]) & (op(‘pressEnter’)[0,0] == 1)) else 0”.
Then i convert DAT to CHOP to triggering sound.
When i put wrong password everything is OK and it’s triggering wrong sound, but when i put right password it triggering both wrong and right sounds. In DAT’s its looks like everything works correct, but If look at trail CHOP you can see, that it’s short pulse (1 sample) accruing in wrong CHOP’s and longer pulse accrues in right CHOP. Sure, i can filter out this short pulse, but i would like to realized why it happening and how to make it right…
I’ve also tried to use CHOP execute DAT, that start script when pressing “ENTER” button, but result is absolutely same. It doesn’t look like a bug because it also happening in both experimental and normal releases.
Please, check attached file.
Very appreciate any help! Thank you!
password_test.1.toe (5.87 KB)