SynthMaker

trigger to add/remove item? +resize question.

Archive · 2008 11 old posts

From the original SynthMaker forum (2004–2014), with its members’ names and dates.

posh ·

whatup. ive got a question, which im pretty sure its not possible without making several ui´s then using a selection system using the paged panel trick, hooking it up to the mgui, but hey. youre all wizards so it might just work nonetheless, so here we go:

is there a way to build an ui module which has one knob, and two switches, and when pushing switch A it will add another knob to the left/right of this first knob, and when pushing switch two (edit: switch b then heh) it will remove it?

im trying to build a remote control thing for all my midi controllers and it would be awesome if there were an easy way to define how many controls my remote control would have, either by this way or by using a selector switch, which is why iw ant to do this as opposed to have one ui per selection and sending them to the master ui (the plugin window then).

this ofcourse also means that i can have as many controllers as the window size allows me to, which brings me to my second question: is there a way to make a plugin window (when exported then ofcourse) that you can add a resize element to, either by resizing the actual window or by a selector switch and/or an edit box?

if not, both of those goes to the feature requests then: a module that copies a module and place it beside this first selected module (define by preferences), and a module that allows window resize when exported to plugin (define inside plugin window).

rl ·

- hmm... you could prepare a number of knobs outside the visible range and move them in on request.

- resizable panels are not possible.

TomC ·

posh wrote: is there a way to build an ui module which has one knob, and two switches, and when pushing switch A it will add another knob to the left/right of this first knob, and when pushing switch two (edit: switch b then heh) it will remove it?

No, because no one would know how to wire it to the rest of your schematics. The only usable solution is to define everything beforehand and use a selector to route whatever you want to see to the main UI.

Tom

Andrew J ·

As TomC says, you can't dynamically add or remove controls (or modules) to your schematic. However, you can define a number of controls and only display some of them in your GUI (noting that the full number of outputs remain).

Example:

posh ·

dammit, thats what i figured was the only option. i was thinking that perhaps some kind of OS command, i mean you have a file manager and hwatnots already so i was hoping for a wizard hack.

then those goes for requests then. about the wiring part of this module then (if one add/remove module would exist), in the preferences of the module you select the module you want to copy, then it pastes it with the same wiring scheme and everything, same settings aswell.

like i said, it goes for a request then. this could be used for some major cool custom remote control ui plugins then 😀 😍

oddson ·

Maybe I'm not getting the full question... but you could have an arbitrary number of predefined controls with their V connection interrupted and the coordinates only set once the user as requested to 'define' them. Then use the routing matrix (or some float-based equivalent) to allow the outputs to be routed to the desired destination.

But the number of controls would be limited by how many modules you put into the schematic and this would be the upper limit.

infuzion ·

posh wrote: ...is there a way to make a plugin window...by resizing the actual window or by a selector switch and/or an edit box?

Resizing GUIs are only available with 3.0VST spec (or VST3.1?). SM is 2.4

kirkagur ·

infuzion wrote: posh wrote: ...is there a way to make a plugin window...by resizing the actual window or by a selector switch and/or an edit box?

Resizing GUIs are only available with 3.0VST spec (or VST3.1?). SM is 2.4

I am not sure about that.

Moog modular (vst 2.4) can resize the window. vanguard (vst 2.4) can resize the window.

so why SM plugs cant?

Acrobat ·

kirkagur wrote: so why SM plugs cant?

there's already a thread for GUI resize: GUI Resize

By the way, for the other question, we CAN create a X number of controls, you just have to set the maximum number as the size of the relative arrays and use arrays with a LOOP primitive. (also a VST array, of course) ---mmh.. I could arrange an example, but there' already one inside the STEP LFO component, check that and if something is not clear I can answer how it is done... it's a really good example I used as a base many times... 😉 Be careful using the LOOP primitive as it tends to crash the app and that's not SM working bad, it is much more probable you have setted the wrong connections...

posh ·

havent checked it yet, but i can almost positively say that i will not understand it at all. heh.

Acrobat wrote: kirkagur wrote: so why SM plugs cant?

there's already a thread for GUI resize: GUI Resize

By the way, for the other question, we CAN create a X number of controls, you just have to set the maximum number as the size of the relative arrays and use arrays with a LOOP primitive. (also a VST array, of course) ---mmh.. I could arrange an example, but there' already one inside the STEP LFO component, check that and if something is not clear I can answer how it is done... it's a really good example I used as a base many times... 😉 Be careful using the LOOP primitive as it tends to crash the app and that's not SM working bad, it is much more probable you have setted the wrong connections...

Acrobat ·

I'll arrange somethin as soon as I can.. 😉

Wrote something here? To have a post removed or your name hidden, write to [email protected].

Before your first post

A few rules keep this a friendly place. You agree to them once.

Shown next to what you post, here and in the app. It doesn’t have to be your real name: 3–24 lower-case letters, digits or _ (capitals become lower case, spaces become _).

    Then your post goes up straight away.

    Delete this reply?

    Open it in SynthMaker?

    It goes on the track you’re editing there, in place of that track’s sound, and into My sounds. Your other tracks stay as they are.

    Want to keep that track’s sound? Start a new song in SynthMaker first (Song › New song), then open this.

    Report this reply?

    Only the developer reads reports. The person isn’t told who reported them.

    What’s wrong with it?

    Block this person?

    You won’t see their posts and replies here any more. They aren’t told, and you can unblock them at any time.

    People you’ve blocked

    Their posts and replies are hidden from you. Unblock someone to see them again.

    The community rules

    A few rules keep this a friendly place. Everyone agrees to them once, before their first post.