Page 1 of 3
Stream Router.
Posted: Thu Oct 31, 2013 12:07 am
by joejoe
I need a stream router.
In reaktor you have a router that you use with a comparator(i.e. >,<,>=,=<, etc). to send the signal to two possible routes.
There doesn't seem to be one in FS. Further more if I use the DSP I wont be able to input Boolean.
Do I have to build a router?
Re: Stream Router.
Posted: Thu Oct 31, 2013 12:41 am
by CoreStylerz
You have the stream comparators >,=>,<,<= search stream on the search bar.
Re: Stream Router.
Posted: Thu Oct 31, 2013 12:56 am
by tester
I think the question was about inputs/outputs, boolean ins paralel to signal ins. Or?
Anyway, if so, I'm not sure if this is handled through automation routines (and thus - preset system) or requires additional named ins open on front of the module.
Re: Stream Router.
Posted: Thu Oct 31, 2013 1:17 am
by nix
Here you are Joe, hope this is what u need.
If you have any questions-shoot
Re: Stream Router.
Posted: Thu Oct 31, 2013 1:37 am
by joejoe
Nix,
Yes those mods are exactly what I need thank you so much!
streamboolin was the main thing I was missing. doh

Re: Stream Router.
Posted: Thu Oct 31, 2013 1:50 am
by joejoe
Actually I misspoke. I need a bool input and stream input and two stream outs one for a false condition and one for a true condition. I still don't fully get this DSP code with if statements.
Re: Stream Router.
Posted: Thu Oct 31, 2013 2:21 am
by nix
I guess this is called a multiplexer.
No problems to try and do some more alterations if it isn't the mod u need.
I think with the if, it's a bool.
either true or false.
If true it will deliver the &ed value
Re: Stream Router.
Posted: Thu Oct 31, 2013 3:53 am
by joejoe
Thanks Nick that seems to work!
Re: Stream Router.
Posted: Thu Oct 31, 2013 11:29 pm
by Nubeat7
the router could be done simpler putting all into "or" statements ("|") to avoid all the extra variables and the adding at the end, just take care to put the whole if statement in braces to work correct.
Re: Stream Router.
Posted: Thu Oct 31, 2013 11:36 pm
by nix
thanks for that NuBeat 8D
will change the code in my synth to this neater logic.
I originally was using the integer indexed router
to modulate a formant filter.
ps- You're welcome Joe, hope the environment gels with you.
The 2 floats in the multiplexer can be deleted,
just didn't notice they got left in.