Ruby - Select from 'Number Pool'
Posted: Sun Jan 19, 2014 4:14 am
Hi GANG ... working a a brain twister ... I've been scanning the forums, and experimenting with various RUBY commands.
Here's what I need to do.
I have a 'pool' of available numbers. These are MIDI Channel numbers [1 - 16] that are fed into 'pull-down' menus for User selection [16 of them].
The 'condition' is that a 'channel number' can only be used once [no duplicates].
From each of the 16 pull down, all channels can [potentially] be selected ... however, once a channel is ... that channel is not available to the remaining selectors.
Thus we'd have some type of 'pool' of available numbers to select from.
This needs to be 'dynamic', so that as various selectors set a channel, the 'list' is modified in realtime.
If a selector channel is changed, the available 'pool' is updated.
Each selector can only 'see' what channels are available.
-----
The idea of this is much like NuBeats 'FX Chain' selector [i think].
I mention RUBY, as it seems a logical choice to handle something like this. I'm not sure I'd know how to do this using PRIMS anyways
I'm trying to put a test schematic together, and hope I can put something decent to show ...
In the meantime, If the wheel has been already invented, or, you're so bored that this would be so simple to do ... I'd would appreciate
... back to the experimenting Lab
Here's what I need to do.
I have a 'pool' of available numbers. These are MIDI Channel numbers [1 - 16] that are fed into 'pull-down' menus for User selection [16 of them].
The 'condition' is that a 'channel number' can only be used once [no duplicates].
From each of the 16 pull down, all channels can [potentially] be selected ... however, once a channel is ... that channel is not available to the remaining selectors.
Thus we'd have some type of 'pool' of available numbers to select from.
This needs to be 'dynamic', so that as various selectors set a channel, the 'list' is modified in realtime.
If a selector channel is changed, the available 'pool' is updated.
Each selector can only 'see' what channels are available.
-----
The idea of this is much like NuBeats 'FX Chain' selector [i think].
I mention RUBY, as it seems a logical choice to handle something like this. I'm not sure I'd know how to do this using PRIMS anyways
I'm trying to put a test schematic together, and hope I can put something decent to show ...
In the meantime, If the wheel has been already invented, or, you're so bored that this would be so simple to do ... I'd would appreciate
... back to the experimenting Lab