Stream Router.

For general discussion related FlowStone
joejoe
Posts: 23
Joined: Mon Oct 21, 2013 2:28 am

Stream Router.

Post 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?
User avatar
CoreStylerz
Posts: 327
Joined: Sun Jan 22, 2012 2:19 am
Location: italy
Contact:

Re: Stream Router.

Post by CoreStylerz »

You have the stream comparators >,=>,<,<= search stream on the search bar.
Need my support for app development, website or custom scripts?
PM me if you are interested.
Experienced Java, J2EE, PHP, Javascript, Angular, Cloud Solutions developer.
tester
Posts: 1786
Joined: Wed Jan 18, 2012 10:52 pm
Location: Poland, internet

Re: Stream Router.

Post 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.
Need to take a break? I have something right for you.
Feel free to donate. Thank you for your contribution.
User avatar
nix
Posts: 817
Joined: Tue Jul 13, 2010 10:51 am

Re: Stream Router.

Post by nix »

routers.fsm
(2.38 KiB) Downloaded 1057 times


Here you are Joe, hope this is what u need.
If you have any questions-shoot
joejoe
Posts: 23
Joined: Mon Oct 21, 2013 2:28 am

Re: Stream Router.

Post by joejoe »

Nix,

Yes those mods are exactly what I need thank you so much!

streamboolin was the main thing I was missing. doh :roll:
joejoe
Posts: 23
Joined: Mon Oct 21, 2013 2:28 am

Re: Stream Router.

Post 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.
User avatar
nix
Posts: 817
Joined: Tue Jul 13, 2010 10:51 am

Re: Stream Router.

Post by nix »

multiplexer.fsm
(1.11 KiB) Downloaded 1052 times

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
joejoe
Posts: 23
Joined: Mon Oct 21, 2013 2:28 am

Re: Stream Router.

Post by joejoe »

Thanks Nick that seems to work!
User avatar
Nubeat7
Posts: 1347
Joined: Sat Apr 14, 2012 9:59 am
Location: Vienna
Contact:

Re: Stream Router.

Post 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.
Attachments
routers.fsm
(1.12 KiB) Downloaded 1059 times
User avatar
nix
Posts: 817
Joined: Tue Jul 13, 2010 10:51 am

Re: Stream Router.

Post 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.
Post Reply