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

Req: Hold & Release conversion from DSP 2 ruby

For general discussion related FlowStone

Req: Hold & Release conversion from DSP 2 ruby

Postby Walter Sommerfeld » Thu May 11, 2017 7:02 pm

Hi,

again i need some help...
Thanks in advance!
Walter

i need this DSP Code (blue=stream) converted into (green=Float) ruby:

Code: Select all
streamin In;
streamin Hold;
streamin Release;
streamout Out;

float mem;
float abs;
float countdown;

abs = max(In, 0 - In);

countdown = max(countdown, Hold&(abs > mem));

mem = max(mem, abs);
Out = mem;
mem = mem - Release&(countdown <= 0);
countdown = countdown - 1;
User avatar
Walter Sommerfeld
 
Posts: 249
Joined: Wed Jul 14, 2010 6:00 pm
Location: HH - Made in Germany

Return to General

Who is online

Users browsing this forum: No registered users and 32 guests