Welcome to %s forums

BrainModular Users Forum

Login Register

Radio buttons

I need help on a Patch
Post Reply
woodslanding
Member
Posts: 1327
Contact:

Unread post by woodslanding » 28 Oct 2008, 07:12

Has anybody implemented radio buttons in Usine. Seems like a good one for the add-ons.

I've done it in reaktor. Being lazy, I thought I'd see if it's been done already before I dive into it.

Also haven't figured out how to get a pair of buttons to increment and decrement a fader.

-e
Custom Ryzen 5900x MATX build, Win10, Fireface UFX, touchscreen
Custom 2 manual midi keyboard
Usine, Kontakt, Reaktor, Synthmaster, Byome, Arturia, Soundtoys, Unify

bsork
Site Admin
Posts: 1334
Location: Asker, Norway
Contact:

Unread post by bsork » 28 Oct 2008, 08:43

I don't think any has created radio buttons in Usine. What would be the practical difference between a set of radio buttons and the list boxes (not counting the dropdown combo box)?

Incr/decr of a value with buttons (or any other sort of trigger) can be done in several ways. Here's one:

Modules:
Fader : 1
Buttons : 2
PassEventFlow: 2
A+B : 1 (set B=1)
A-B : 1 (set B=1)

Connections:
Fader -> A+B.A
Fader -> A-B.A
A+B.out -> PassEventFlow[1].in
A-B.out -> PassEventFlow[2].in
PassEventFlow[1].out -> Fader
PassEventFlow[2].out -> Fader
Button[1] -> PassEventFlow[1].pass
Button[2] -> PassEventFlow[2].pass

It takes more time to write in words than to do for real!
Bjørn S

woodslanding
Member
Posts: 1327
Contact:

Unread post by woodslanding » 28 Oct 2008, 17:59

Ahh, I hadn't discovered 'passEventFlow

Thanks!

As for radio buttons-- I want to actually have a SET of lists, only one of which is visible at a time--so I need the logic behind readio buttons....

I want to have any adjustment of value in one of the controls on a channel make that channel's program change list visible (and the other channels' lists invisible.) I don't want to use up screen space for 8 lists..... but it's not practical to select presets from the touchscreen fader version of a combo box--I need to see more than one name at a time.

I'd like to have a similar list to select presets from the conductor. But then I really run into the issue of having to edit the list every time I add a preset to the conductor

-- And it looks like in this case, I can't copy and paste into the list??? Is there a way to copy the conductor preset list?

What I really need is an array pin input to a list (and corresponding output on the conductor object and on VSTs) so I could just dynamically populate the list. Then I wouldn't need to set visibility on a bunch of lists.

but that gets back to a previousr request.... which it sounds like Senso is working on :)

-e
Custom Ryzen 5900x MATX build, Win10, Fireface UFX, touchscreen
Custom 2 manual midi keyboard
Usine, Kontakt, Reaktor, Synthmaster, Byome, Arturia, Soundtoys, Unify

woodslanding
Member
Posts: 1327
Contact:

Unread post by woodslanding » 28 Oct 2008, 19:44

OOPS. Just went back and realized there is no combobox input for conductor at all, like on VSTs--just a text output. No way to select presets by name, except the floating windows.

I guess I'll figure out how to make that work. If I could get the 'show' button to show/hide the conductor lite window instead of the big conductor, that would work okay for me.

-e
Custom Ryzen 5900x MATX build, Win10, Fireface UFX, touchscreen
Custom 2 manual midi keyboard
Usine, Kontakt, Reaktor, Synthmaster, Byome, Arturia, Soundtoys, Unify

grego mondo
Member
Posts: 466
Location: 22110 Rostrenen
Contact:

Unread post by grego mondo » 28 Oct 2008, 21:21

Sorry but what is a Radio Button ?
How does this react ?
En attendant cordialement l'apocalypse ... 100% Usine !!
https://lesformesdufond.kaz.bzh/grego-mondo/
PC i7 2.6Ghz - Win11 / RME Fireface UFX
Tubas / Serpent / Music Box
Interfaces Midi / OSC / DMX

bsork
Site Admin
Posts: 1334
Location: Asker, Norway
Contact:

Unread post by bsork » 28 Oct 2008, 22:21

grego mondo wrote:Sorry but what is a Radio Button ?
How does this react ?
Check http://en.wikipedia.org/wiki/Radio_button for an explanation. As you can see, radio buttons as they are normally defined act quite like the list boxes in Usine, the main difference except for cosmetics is that I've never seen a scrollable radio button list.
---
@woodslanding: Aside from the problem of updating the lists, you can do some programming on the visible parameter of the boxes you're using so that only the current one is shown.
Bjørn S

woodslanding
Member
Posts: 1327
Contact:

Unread post by woodslanding » 29 Oct 2008, 18:11

I've got a solution. I'm controlling a listbox from my source, and using its output to make my lists visible and invisible. It's working. I'd just thought to use the change from visible to invisible itself to change other lists' visibility, but that set up an endless loop, and blew poor usine's mind....

thanks!
-e
Custom Ryzen 5900x MATX build, Win10, Fireface UFX, touchscreen
Custom 2 manual midi keyboard
Usine, Kontakt, Reaktor, Synthmaster, Byome, Arturia, Soundtoys, Unify

martignasse
Site Admin
Posts: 611
Location: Lyon, FRANCE
Contact:

Unread post by martignasse » 29 Oct 2008, 20:23

hello,
I'm controlling a listbox from my source, and using its output to make my lists visible and invisible. It's working.
when you say 'from my source', what kind of signal is it ? the sound signal ?
I'd just thought to use the change from visible to invisible itself to change other lists' visibility, but that set up an endless loop
can you post a screenshot, it's hard to visualize. But there is surely a solution for you're problem.

Maybe i have something interesting for you, i have made a tabbed panel, with the logic to manage a group of three radio button.

it's in the 'other' add ons section, and here is the thread :
http://www.sensomusic.com/forums/viewto ... 5991#p5991
Martin FLEURENT - Usine Developer - SDK maintainer

woodslanding
Member
Posts: 1327
Contact:

Unread post by woodslanding » 30 Oct 2008, 09:33

Cool, thanks martin!

I am trying to set it up my lists so whenever I adjust the value of a control, the preset list for the affected vst is displayed.
I'm using 'has changed' modules..... it's working well for buttons and switches, but I'm not getting any results from faders.

Anyway, the flexibility in layout is really great--the usine setup is shaping up very well.

cheers!
-e
Custom Ryzen 5900x MATX build, Win10, Fireface UFX, touchscreen
Custom 2 manual midi keyboard
Usine, Kontakt, Reaktor, Synthmaster, Byome, Arturia, Soundtoys, Unify

Post Reply

Who is online

Users browsing this forum: No registered users and 234 guests