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
Selector Example
1 post
• Page 1 of 1
Selector Example
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.
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 2503 times
-
admin - Site Admin
- Posts: 231
- Joined: Tue May 11, 2010 6:30 pm
1 post
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 8 guests