Support

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

Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright

anti-rush blocker, timers, overload

For general discussion related FlowStone

anti-rush blocker, timers, overload

Postby tester » Fri Dec 27, 2013 8:19 pm

As suspected - ruby crashes application in automation mode, if it receives too many triggers at once in certain looped wiring. Solution - temporal trigger blocking. Simple module like below. But there is one small problem.

While it works perfect during automation mode - after you stop playback - you need to wait over 10 seconds (on my machine) - before the "antirush" unblocks output. It appears, that too many triggers at once are queued to the timer, and this overloads the wiring.

So - can this be done differently? Some time measurement based perhaps instead of firing the timer?
Attachments
antirush.fsm
(435 Bytes) Downloaded 876 times
Need to take a break? I have something right for you.
Feel free to donate. Thank you for your contribution.
tester
 
Posts: 1786
Joined: Wed Jan 18, 2012 10:52 pm
Location: Poland, internet

Re: anti-rush blocker, timers, overload

Postby tester » Fri Dec 27, 2013 9:14 pm

Inside the schematic - antirush3 seems to work almost as it should be. It blocks triggers during automation, it isn't overloading the timer, but...

It's interesting. When the "test plugin" is in no-automation mode (Reaper) - everything works fine. But when "plugin" has automation on array element - then even at slow clicking and "no playing" mode - very often (each 5th or so) pass-through trigger is missing... antirush v2 inside the schematic - seems to suffer from the same issue.

Any ideas how to approach it?
Attachments
antirush-1.fsm
(1.57 KiB) Downloaded 876 times
Need to take a break? I have something right for you.
Feel free to donate. Thank you for your contribution.
tester
 
Posts: 1786
Joined: Wed Jan 18, 2012 10:52 pm
Location: Poland, internet

Re: anti-rush blocker, timers, overload

Postby tester » Fri Dec 27, 2013 9:42 pm

4 antirush solutions. I see no way without some sort of timer or ticker.
Now it's time to check whether are there other places to place it...
Attachments
antirush-2.fsm
(1.64 KiB) Downloaded 851 times
Need to take a break? I have something right for you.
Feel free to donate. Thank you for your contribution.
tester
 
Posts: 1786
Joined: Wed Jan 18, 2012 10:52 pm
Location: Poland, internet

Re: anti-rush blocker, timers, overload

Postby tester » Fri Dec 27, 2013 10:03 pm

Is there a way whether changed values are coming from DAWs automation? I mean - some sort of bool indicator, when values are not changied manually, but are driven by DAW automation.
Need to take a break? I have something right for you.
Feel free to donate. Thank you for your contribution.
tester
 
Posts: 1786
Joined: Wed Jan 18, 2012 10:52 pm
Location: Poland, internet

Re: anti-rush blocker, timers, overload

Postby Nubeat7 » Fri Dec 27, 2013 10:09 pm

tester wrote:ruby crashes application in automation mode, if it receives too many triggers at once in certain looped wiring


maybe i dont understand what you are talking about but this starts to confuse me, it looks like you are talking about a fictional problem, trojakEW couldn`t examplified any ruby crashes, and for what you are talking, a normal redraw limiter should solve it,

the preset module from the stockknob is build that it prevents triggerloops, automated data (from host) which comes out from presetparameter to knob -> from knob to presetparameter input, this triggerloop is locked with the interaction boolean and 2 triggerswitches.

when automated data comes from presetparameter primitiv, the knob is updated with a redraw limiter which shouldn`t be a problem for ruby (i never had), so where should this triggeroverload happen when you build it like this?
User avatar
Nubeat7
 
Posts: 1347
Joined: Sat Apr 14, 2012 9:59 am
Location: Vienna

Re: anti-rush blocker, timers, overload

Postby Nubeat7 » Fri Dec 27, 2013 10:10 pm

tester wrote:Is there a way whether changed values are coming from DAWs automation? I mean - some sort of bool indicator, when values are not changied manually, but are driven by DAW automation.


would be nice but not that i know..
User avatar
Nubeat7
 
Posts: 1347
Joined: Sat Apr 14, 2012 9:59 am
Location: Vienna

Re: anti-rush blocker, timers, overload

Postby tester » Fri Dec 27, 2013 10:27 pm

When I use automation with my multifunction editbox, where values are looped back due to undo/redo system and refreshing routine (so that view match output) - on automation - it crashes. But it also crashes on automation when I blocked triggers within the editbox module, and had on output - simple text viewer, to see how the array is refreshing (forgot about redraw limiter here - maybe this caused second part of the problem).

Anyway I'm checking for some sort of universal option for limiting amount of triggers per second, that will work for both - flood of triggers coming from automation, and manual updates (user clicking, external field, and so on).

So it's a "case in progress" so to speak. But I think I found a way. I probably can combine antirush 1 with antirush 4 (limit triggers per second + blocking if triggers happen too often; first part should act as an anti-flood the timer).

*

The thing is - how to block undoredo during automation cycle.
Need to take a break? I have something right for you.
Feel free to donate. Thank you for your contribution.
tester
 
Posts: 1786
Joined: Wed Jan 18, 2012 10:52 pm
Location: Poland, internet

Re: anti-rush blocker, timers, overload

Postby tester » Fri Dec 27, 2013 11:09 pm

It appears, that "antirush 2" from template can be arranged here, to make it work fine. But I noticed interesting thing regarding Reaper. After plugin is loaded - everything works normal. After automation is set for whatever node - things work "almost normal" (sometimes some global triggers fail to pass through), but when all automation envelopes are removed - plugin's node is not released. So I'm marking this thing to investigate it somewhere in the future.
Need to take a break? I have something right for you.
Feel free to donate. Thank you for your contribution.
tester
 
Posts: 1786
Joined: Wed Jan 18, 2012 10:52 pm
Location: Poland, internet


Return to General

Who is online

Users browsing this forum: Google [Bot] and 72 guests