If you have a problem or need to report a bug please email : support@dsprobotics.com
There are 3 sections to this support area:
DOWNLOADS: access to product manuals, support files and drivers
HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects
USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here
NEW REGISTRATIONS - please contact us if you wish to register on the forum
Ruby - Just calc on trigger
3 posts
• Page 1 of 1
Ruby - Just calc on trigger
Hello!
I have a simple question to ruby but i did not find anything that was useable.
I want to execute some lines in ruby only if a Trigger in incoming like that:
i think it is simple - but i do not get it
Regards
I have a simple question to ruby but i did not find anything that was useable.
I want to execute some lines in ruby only if a Trigger in incoming like that:
i think it is simple - but i do not get it
Regards
100% accuracy is the guarantee to your success. The value alters if you combine it with musical creativity.
-
chackl - Posts: 233
- Joined: Tue Aug 17, 2010 8:46 pm
- Location: Austria / Salzburg
Re: Ruby - Just calc on trigger
- Code: Select all
def event(i, v, t)
output(@ins[0]+@ins[1]) if (i == 2)
end
-
MyCo - Posts: 718
- Joined: Tue Jul 13, 2010 12:33 pm
- Location: Germany
Re: Ruby - Just calc on trigger
Thanks it worked!!!
100% accuracy is the guarantee to your success. The value alters if you combine it with musical creativity.
-
chackl - Posts: 233
- Joined: Tue Aug 17, 2010 8:46 pm
- Location: Austria / Salzburg
3 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 0 guests