Pad selectors(or "radio" selectors)

Post any examples or modules that you want to share here
User avatar
Nubeat7
Posts: 1347
Joined: Sat Apr 14, 2012 9:59 am
Location: Vienna
Contact:

Re: Pad selectors(or "radio" selectors)

Post by Nubeat7 »

well, the preview in the properties is a great feature, i always forget about this.. :)
djbrynte
Posts: 613
Joined: Mon Jun 22, 2009 10:51 am
Contact:

Re: Pad selectors(or "radio" selectors)

Post by djbrynte »

great work!
billv
Posts: 1165
Joined: Tue Aug 31, 2010 3:34 pm
Location: Australia
Contact:

Re: Pad selectors(or "radio" selectors)

Post by billv »

Note Small Bug :
(.to_f) needs to be removed twice in code..
output 'altVal', @altValue[@sel].to_f
the conversion to float in the alt_value output prevents string/int output ...
User avatar
Nubeat7
Posts: 1347
Joined: Sat Apr 14, 2012 9:59 am
Location: Vienna
Contact:

Re: Pad selectors(or "radio" selectors)

Post by Nubeat7 »

yes, thats a question of what you need as alternative outputs, i took .to_f because i thought that this would be a common use for it, but sure if you need string you don't need to add anything and you can get rid of the ".to_f" also if you need int but if you need floats you need to add ".to_f" maybe you could just comment it, so it just nneds to be uncommented when floats are needed...

it also depends if you are using the ruby value, then it will always be sent as string if you don't convert it, while if you use green outs, the outs would convert it, then you dont need to add anything..

alternative to make it userproof you could make a selector in the properties and output with cases...
User avatar
Nubeat7
Posts: 1347
Joined: Sat Apr 14, 2012 9:59 am
Location: Vienna
Contact:

Re: Pad selectors(or "radio" selectors)

Post by Nubeat7 »

just like this..
Attachments
Pad Selectors_nubeat2.fsm
(84.4 KiB) Downloaded 1074 times
billv
Posts: 1165
Joined: Tue Aug 31, 2010 3:34 pm
Location: Australia
Contact:

Re: Pad selectors(or "radio" selectors)

Post by billv »

Nubeat7 wrote:make it userproof you could make a selector in the properties and output with cases

yeh,much more practical...Nice.. :)
billv
Posts: 1165
Joined: Tue Aug 31, 2010 3:34 pm
Location: Australia
Contact:

Re: Pad selectors(or "radio" selectors)

Post by billv »

taking nubeat7's mod a little further, and a bit closer to Trog's example that
inspired the initial idea, here's one with rows and columns..
Pad Selectors_BV_RowsandColums.fsm
(99.57 KiB) Downloaded 1088 times
Last edited by billv on Sun Dec 07, 2014 1:21 pm, edited 1 time in total.
RJHollins
Posts: 1573
Joined: Thu Mar 08, 2012 7:58 pm

Re: Pad selectors(or "radio" selectors)

Post by RJHollins »

fantastic billv !
8-)
billv
Posts: 1165
Joined: Tue Aug 31, 2010 3:34 pm
Location: Australia
Contact:

Re: Pad selectors(or "radio" selectors)

Post by billv »

Thanks RJ.
I found also by changing the order of just two lines of code, instead of incrementing
on the Y axis, can do the X axis as well. The whole module just "flips" around... :lol: :D
So I re-uploaded it...you can set the new "Direction" parameter in properties.
Cleaned up the code a bit....
User avatar
Walter Sommerfeld
Posts: 250
Joined: Wed Jul 14, 2010 6:00 pm
Location: HH - Made in Germany
Contact:

Re: Pad selectors(or "radio" selectors)

Post by Walter Sommerfeld »

Hi billv,

awesome part this RowsandColums.fsm...!

Can u change it 4 me so i can (de-)select multiple pads while dragging ?

cheers,
Walter
Post Reply