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

how an empty node can produce a value?

For general discussion related FlowStone

Re: how an empty node can produce a value?

Postby Nubeat7 » Wed Sep 18, 2013 12:45 pm

make a float variable for ph and use this instead of the input, then add an offset input for the phase control
like in mycos example you posted here:
viewtopic.php?f=2&t=1686

like this you dont reassign any input:
Code: Select all
streamin freq;
streamin morph;
streamin offset;
streamout out;

float delta;
float ramp=0;

ramp = ramp+freq*0.5+offset-delta;
ramp = ramp-(ramp>=1&1);
out = 2*((ramp<=morph)&(ramp/morph)+(ramp>morph)&(1-(ramp-morph)/(1-morph)))-1;

delta = offset;
User avatar
Nubeat7
 
Posts: 1347
Joined: Sat Apr 14, 2012 9:59 am
Location: Vienna

Previous

Return to General

Who is online

Users browsing this forum: No registered users and 73 guests