Ruby frustration

For general discussion related FlowStone
Post Reply
matti
Posts: 55
Joined: Fri Sep 24, 2010 12:06 pm

Ruby frustration

Post by matti »

Got to vent a bit..
The way Ruby timing works is veeery un-intuitive. Everything get's processed at the same time-slice, even though you trigger them to happen after each other. For example, if two ruby modules receive a trigger from the same trigger button they get processed at the "same time", hence making any parameter exchange between them useless. I've been building modular processing nodes (i can just pile them up x100) and this "feature" has been driving me nuts :twisted:

There is of course workarounds.. involving time-delayd outputs etc.


If there is better ways to do this, let me know. Like writing stuff up as classes?
User avatar
Nubeat7
Posts: 1347
Joined: Sat Apr 14, 2012 9:59 am
Location: Vienna
Contact:

Re: Ruby frustration

Post by Nubeat7 »

matti wrote:..if two ruby modules receive a trigger from the same trigger button they get processed at the "same time"..

sure when you have on source, but there is a triggerordering in the same order you connected the the modules( what was connected first get served first)

there are several ways to take control over your triggers, but without schematic it is difficult to tell
User avatar
trogluddite
Posts: 1730
Joined: Fri Oct 22, 2010 12:46 am
Location: Yorkshire, UK

Re: Ruby frustration

Post by trogluddite »

Yes, would be good to see the schematic.
Another potential problem is that "green" and "Ruby" are on different CPU threads - so when you convert between Green<->Ruby, the timing can't be guaranteed. Passing data between Ruby blocks will be more stable using the 'Ruby Value' (white V) connectors and links.
All schematics/modules I post are free for all to use - but a credit is always polite!
Don't stagnate, mutate to create!
Post Reply