Hi.
I want to send a osc messege when a one of many cursors is at the 70 percent of the curve.
I find the cursor_time_percent value , but I can’t figure out how to make de if statement.
Can you give me a simple example.
Thank´s
Andrés
Hi,
You can make an if statement by using this syntax (not easy to read, I agree…). Just replace a standards argument of IanniX message by:
{ (cursor_time_percent > 70)?(cursor_xPos):('suppress') }
This example will send cursor x position when time percent is greater that 70%.
Hi Guillaume!!
I couldn’t figure out that by myself!!!
By the way, I changed the 70 for a 0.7 to get it working…
{ (cursor_time_percent > 0.7)?(cursor_xPos):(‘suppress’) }
Thank´s
Andrés
© IanniX Association
Qu'est-ce que IanniX ? | Téléchargement | Showcase | Forum | Recherche | À propos
Cookie | Durée | Description |
---|---|---|
cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |