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
Modules and Arrays Question
5 posts
• Page 1 of 1
Modules and Arrays Question
Hi,
Is there anyway to display modules using an array order?
i mean...
lets supose i have 5 modules (it could be fx modules, delay, chorus etc etc)
and i would create an array named "modules" [0] [1] [2] [3] [4], that would then be represented "normaly"
in this order...
0
1
2
3
4
suposing, each module display have its own number... is there a way of doing this in ruby, and perhaps
morph with other thing i allready seen like the so called fx chainer wich uses arrays to set the audio order..
but i would like to do similar, with graphics... displays, not bitmaps, but modules display...
any info would be apreciated
regards
Is there anyway to display modules using an array order?
i mean...
lets supose i have 5 modules (it could be fx modules, delay, chorus etc etc)
and i would create an array named "modules" [0] [1] [2] [3] [4], that would then be represented "normaly"
in this order...
0
1
2
3
4
suposing, each module display have its own number... is there a way of doing this in ruby, and perhaps
morph with other thing i allready seen like the so called fx chainer wich uses arrays to set the audio order..
but i would like to do similar, with graphics... displays, not bitmaps, but modules display...
any info would be apreciated
regards
- Ricciardo
- Posts: 51
- Joined: Wed Sep 11, 2013 10:19 am
Re: Modules and Arrays Question
You may use multiplexer to select between multiple displays. Basically the same problem has been discused in this topic. Check out the example in there.
- KG_is_back
- Posts: 1196
- Joined: Tue Oct 22, 2013 5:43 pm
- Location: Slovakia
Re: Modules and Arrays Question
I think you miss understood what i meant...
the multiplexer is designed to switch between multiple displays showing only 1 at the time...
what i want is diferentt, i want to display every module at same time, but in a certain order... depeding
the way the array would be indexed or changed
basicly... you want simple tabs, with multiplexer to hide and show when selected...
i want do drag and drop fx between inserts, this is made using an array... i allready have the chainfx code to do it
and it works... but to make it the way i want... i would like to do this also with "displays" not only audio...
i want to grab modules, up and down... in the fx rack...
so if have 5 slots (array) each slot have 5 possibilities... this is interesting... perhaps the multiplexer could work
but still... i dont know how to split... the data into each multiplexer
i give you an example...
the code looks like this:
0
1
3
2
4
or it could have a complete different order... it could be
1
0
2
4
3
it doesnt matter, basicly, each line is a fx slot, and the number is the type of "module"/fx selected for that slot/insert.. each slot, have 5 possibilities, and logicaly, when 1 is in the slot 0, it cant be anywhere else...
this have to be made with an array, there isnt otherway... but i dont have the knoledge to code this in ruby
i guess i will have to do it "mecanicaly" with primitives...
if i could split the array for each line, and assign it for 5 different multiplexers, it would work i think...
but still, i think this can be done faster and much more eficiently in Ruby... but i dont know how to code it!
but thanks anyway, for the help
the multiplexer is designed to switch between multiple displays showing only 1 at the time...
what i want is diferentt, i want to display every module at same time, but in a certain order... depeding
the way the array would be indexed or changed
basicly... you want simple tabs, with multiplexer to hide and show when selected...
i want do drag and drop fx between inserts, this is made using an array... i allready have the chainfx code to do it
and it works... but to make it the way i want... i would like to do this also with "displays" not only audio...
i want to grab modules, up and down... in the fx rack...
so if have 5 slots (array) each slot have 5 possibilities... this is interesting... perhaps the multiplexer could work
but still... i dont know how to split... the data into each multiplexer
i give you an example...
the code looks like this:
0
1
3
2
4
or it could have a complete different order... it could be
1
0
2
4
3
it doesnt matter, basicly, each line is a fx slot, and the number is the type of "module"/fx selected for that slot/insert.. each slot, have 5 possibilities, and logicaly, when 1 is in the slot 0, it cant be anywhere else...
this have to be made with an array, there isnt otherway... but i dont have the knoledge to code this in ruby
i guess i will have to do it "mecanicaly" with primitives...
if i could split the array for each line, and assign it for 5 different multiplexers, it would work i think...
but still, i think this can be done faster and much more eficiently in Ruby... but i dont know how to code it!
but thanks anyway, for the help
- Ricciardo
- Posts: 51
- Joined: Wed Sep 11, 2013 10:19 am
Re: Modules and Arrays Question
never mind i allready figured out !!!!!!
- Ricciardo
- Posts: 51
- Joined: Wed Sep 11, 2013 10:19 am
Re: Modules and Arrays Question
Ah, now I get it. Module GUI primitive provides the size of the modules view and also lets you specify its position.
Assuming they will be aligned horizontally the x position of the module will be the sum of widths of modules left form his position.
Assuming they will be aligned horizontally the x position of the module will be the sum of widths of modules left form his position.
- Attachments
-
- module rearranger.fsm
- (124.57 KiB) Downloaded 723 times
- KG_is_back
- Posts: 1196
- Joined: Tue Oct 22, 2013 5:43 pm
- Location: Slovakia
5 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 97 guests