SynthMaker

One last question about nogui parameters

Archive · 2006 13 old posts

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

jobro ·

How do I display the value, and update it automaticaly?

stefan ·

jobro wrote: How do I display the value, and update it automaticaly?

If you don't have a gui you don't display the parameters, that's up to the host to do. The host will provide a GUI and presentation of the data.

Am I not following you? I'm afraid I don't understand the question fully, since you ask for how to display stuff even though you don't want a gui (without gui, there's nowhere to display anything).

luisi ·

maybe do you mean the Display value and Display units of VST parameter cmt??

jobro ·

Yeah I've connected the knob value to the display value connection, but the vaue is printed once and remains the same no matter how I change it. Is it possible btw to round the data from the knob down to just a few decimals?

sambean ·

You need a redraw in there, this is necessary when you modify a GUI. Most high level GUI elements have them built in..

To add one to the label module, put a 'redraw View' inside the label module. Connect the (V) out of the MGUI to the (V) in of the redraw. Connect the string input of the label to the redraw trigger. Now, whenever the value changes the view will redraw...

Sam

stefan ·

sambean wrote: You need a redraw in there, this is necessary when you modify a GUI. Most high level GUI elements have them built in..

To add one to the label module, put a 'redraw View' inside the label module. Connect the (V) out of the MGUI to the (V) in of the redraw. Connect the string input of the label to the redraw trigger. Now, whenever the value changes the view will redraw...

Sam

I don't think he means on the GUI, but the "Display Value" input on the VST Parameter component which should tell the host what to display.

luisi ·

jobro wrote: Yeah I've connected the knob value to the display value connection, but the vaue is printed once and remains the same no matter how I change it. Is it possible btw to round the data from the knob down to just a few decimals?

you need a string cmp between the F out and S in, to do the conversion,

yes you can do any trasformation on the string before sending it to VST Parameters

luisi ·

a string data I mean

dreamkeeper ·

Connect the Current value output of VSTparameter to its Display value input. You can do conversions inbetween. Works fine here, tested in energyXT.

Connecting the knob's output only seems not to work, dunno why. Got it working one time and then it didn't again, hmmm...

HTH, werner

GaryG ·

jobro wrote: Is it possible btw to round the data from the knob down to just a few decimals?

there is a string format component that let's you reformat a float or integer.

though i'm not sure what the format of the 'format' input is...

it seems a little strange, you have to connect your input to the 'format' pin rather than the 'value' one for anything to come out the other end.

maybe just my haunted setup though...

.g

jobro ·

How do I set up the format string?

dreamkeeper ·

For anyone interested, after some tests I found this to be the absolute minimum required for a working non-GUI plug-in - a simple fader in this case:

Although I have to say that, looking at a 833KB dll for this, I don't really understand why anyone would want to make plug-ins without GUI in SM, but that's just me.

dreamkeeper ·

jobro wrote: How do I set up the format string?

Hm, let's see... maybe, just maybe it's in the Wiki? *click* *click* Yeah! There it is... D'oh!

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.