Selector Example

A wide range of example files that you can load up in FlowStone
Post Reply
User avatar
admin
Site Admin
Posts: 231
Joined: Tue May 11, 2010 6:30 pm

Selector Example

Post by admin »

This example shows how to use the selector module.

First to make the equivalent of:

If x = 1 then y = 2
Else
If x = 2 then y = 5
Etc..

In this part the input integer (eg. x) controlled by a slider select one of 10 possible outputs.

In the second part we use the Selector to select from two different audio oscillators:

0 = No Sound
1 = OSC 1
2 = OSC 2
3= OSC 1+2

Remember the ‘select’ module works for almost all data types, Floats, Integers, Bools, Audio, graphics etc.
Attachments
Selector.fsm
Selector Module
(32 KiB) Downloaded 2794 times
Post Reply