Hi Guys,
I've been working on making custom buttons work as radio buttons
and just got it to work last night.
It's to select an LFO type and associated parameters.
Not tied into any code to do useful stuff yet!
But the buttons work, so hopefully this will save some time
and you can make something cool with it.
EDIT: I created a simplified version for the sake of readability and use in your own templates.
This one cannot reference multi LFO parameters across many container Tabs.
The original is here too in case you need that complexity.
cheers~
Jay
LFO template with custom radio selectors
LFO template with custom radio selectors
Last edited by analog604 on 02 Jan 2012 17:54, edited 1 time in total.
Dashboard gear control templates: User 112 Idx :: LModIt Lite :: SVG image converter for Lemur Canvas
-
- Newbie
- Posts: 18
- Joined: 13 Dec 2011 15:27
- Location: The Netherlands
- Contact:
Re: LFO template with custom radio selectors
hello again!could you provide some more information on how this works? I understand the principle of what it should do but i dont understand how i go about assigning the destination to anything. What I tried doing was creating a additional slider with the hope i could set the destination to control this. Though this did not work, could you please explain what I need do. thanks! Olly
Re: LFO template with custom radio selectors
[EDIT: created a simplified version, see above. It includes a slider and knob that also change button selection state, but not the other way around. Will someone be kind enough to show us how the radio buttons will also update the slider and knob?]
The global variable radiostate contains the button types a value.
0=no LFO selected.
1-6 LFO type (can be expanded)
Just add an action script to your own sliders/buttons if the radio selection is not enough and have it execute on change of x :
buttonradiostate=range(x,0,6); // 6 buttons, 7 states including off.
updatebuttonstate() which will update the buttons.
Hope this helps a bit..
The global variable radiostate contains the button types a value.
0=no LFO selected.
1-6 LFO type (can be expanded)
Just add an action script to your own sliders/buttons if the radio selection is not enough and have it execute on change of x :
buttonradiostate=range(x,0,6); // 6 buttons, 7 states including off.
updatebuttonstate() which will update the buttons.
Hope this helps a bit..
Dashboard gear control templates: User 112 Idx :: LModIt Lite :: SVG image converter for Lemur Canvas
Re: LFO template with custom radio selectors
note to thread watchers, I updated code for simplified version see above. cheers~
Dashboard gear control templates: User 112 Idx :: LModIt Lite :: SVG image converter for Lemur Canvas