displaying values
1) Is it possible to get an individual value from a data outlet or array and display it via a caption or text field inlet?
2) Is there any way to capture an internal vst parameter's display value (not the raw 0-1) to display in a control panel or use as comma text for a combobox, etc.? (and if not, would this even be a possible feature?)
Thanks!
2) Is there any way to capture an internal vst parameter's display value (not the raw 0-1) to display in a control panel or use as comma text for a combobox, etc.? (and if not, would this even be a possible feature?)
Thanks!
here are some examples,
the main module is the integer (or float) to strings module to convert values to text
for array you can use the get array value module and select the correct index
for vst you have to create your conversion, here i've 20 grains in my plugin, so i multiply by 20, you can also use the change scale ( from 0-1) sub patch
feel free to have a look also to the patching tutorial pdf in the download section

the main module is the integer (or float) to strings module to convert values to text
for array you can use the get array value module and select the correct index
for vst you have to create your conversion, here i've 20 grains in my plugin, so i multiply by 20, you can also use the change scale ( from 0-1) sub patch
feel free to have a look also to the patching tutorial pdf in the download section

Great, thanks! I wasn't familiar with the 'int2str' module yet.
I guess there's no way to extract the non-numerical display values of a particular plugin though, huh? (the ones that only show up in the settings panel for non-GUI plugins.)
Thanks for the great tutorial BTW. I started using it the first day, and it's already saved me a lot of grief!
I guess there's no way to extract the non-numerical display values of a particular plugin though, huh? (the ones that only show up in the settings panel for non-GUI plugins.)
Thanks for the great tutorial BTW. I started using it the first day, and it's already saved me a lot of grief!
Glad that you appreciate the tutorials 
there's many way to create plug-ins , so different answers possible, sometimes, it's possible to deal with array. Have you a precise example..?I guess there's no way to extract the non-numerical display values of a particular plugin though, huh? (the ones that only show up in the settings panel for non-GUI plugins.)
Yes, it's mostly some Piz midi plugins (midiProbability, midiConverter3, etc.) which have lots of selector type parameters (and unfortunately use a different scale than the midi note fader... Is there any way to to customize it's range btw?)). I plan to be working more with the mda stuff as well.
I confirm, nay-seven did a great job on tutorials!
Olivier Sens
www.brainmodular.com
www.brainmodular.com
@credo : here an example from the user percuson it's a layout for the piz midi delay plug-in
Download
Great, thanks! I can definitely learn a thing or two from that patch.
Just to confirm though - there's no way to "read" or "extract" a parameter's display values directly from the plugin itself?
Just to confirm though - there's no way to "read" or "extract" a parameter's display values directly from the plugin itself?
-
woodslanding
- Member
- Posts: 1327
- Contact:
No there is no way to do that--plugins do not divulge that information to the host.
You can recreate it, which I have done for important parameters on certain vsts.
You can recreate it, which I have done for important parameters on certain vsts.
Custom Ryzen 5900x MATX build, Win10, Fireface UFX, touchscreen
Custom 2 manual midi keyboard
Usine, Kontakt, Reaktor, Synthmaster, Byome, Arturia, Soundtoys, Unify
Custom 2 manual midi keyboard
Usine, Kontakt, Reaktor, Synthmaster, Byome, Arturia, Soundtoys, Unify
One of the reasons for wondering about this is because I'm trying to add a fader to the center note value of the midiInvertNotes plugin, and even though there's only 128 possibilities, they aren't evenly distributed inside the plugin (or something?) and there's no way I can adjust it accurately without seeing what's displayed in the settings panel (e.g. fader value 127 might be G8 at one time and F8 or F#8 the next).
So if it's not possible to display those internal plugin values outside of the setting panel, is there any ways to select them more accurately?
So if it's not possible to display those internal plugin values outside of the setting panel, is there any ways to select them more accurately?
-
woodslanding
- Member
- Posts: 1327
- Contact:
Well, I wrote this and then looked at my vst parameter display in usine.....
http://www.sensomusic.com/forums/upload ... Detail.jpg
Usine does indeed seem to know what the internal vst units are---right?
So I would +1 for being able to display this info in usine somewhere besidesjust the module details panel.
http://www.sensomusic.com/forums/upload ... Detail.jpg
Usine does indeed seem to know what the internal vst units are---right?
So I would +1 for being able to display this info in usine somewhere besidesjust the module details panel.
Custom Ryzen 5900x MATX build, Win10, Fireface UFX, touchscreen
Custom 2 manual midi keyboard
Usine, Kontakt, Reaktor, Synthmaster, Byome, Arturia, Soundtoys, Unify
Custom 2 manual midi keyboard
Usine, Kontakt, Reaktor, Synthmaster, Byome, Arturia, Soundtoys, Unify
-
martignasse
- Site Admin
- Posts: 611
- Location: Lyon, FRANCE
- Contact:
maybe it seems but in fact, nowoodslanding wrote:Usine does indeed seem to know what the internal vst units are---right?
what you see in the settings for the params values is just a text string provided or not by the plugin
there is no rules about what the string should/must contain, so no guaranties off anything, this is literally the vst 2.4 spec
the actual behavior of usine for param value in the settings is :
if the plugin provide a string for the value param, we show it
if not, we show the 0 to 1 value
apart from comparing the settings param value (if the string provide some kind of scale or unit infos) and the real param value over time, i see no other way to deduce some extra info.
Martin FLEURENT - Usine Developer - SDK maintainer
-
martignasse
- Site Admin
- Posts: 611
- Location: Lyon, FRANCE
- Contact:
well, like i said above, it's what we do in the setting panel... if the plug provide some, and there is no guaranties at allCREDO wrote:Just to confirm though - there's no way to "read" or "extract" a parameter's display values directly from the plugin itself?
the choice made was to not expose it,
-because we can't make this behavior simple and generic enough
-because providing a string for each param in real time at patch level is just power killer
-because we have to deal with multi-platform too
-because use case are finally rather rare or specific
hope you understand our motivation
Martin FLEURENT - Usine Developer - SDK maintainer
-
woodslanding
- Member
- Posts: 1327
- Contact:
I'd love to have it.... but I can see where it's a power killer. Just trying to work with the param outputs/inputs takes a lot of cpu.
Too bad, I would love to have it as an input to the caption field on a usine fader. Few vsts have a touch friendly interface.....
I've created a bank of 8 faders that can be used to control any of the first 32 parameters of any of the vsts in my mixer. Since most are reaktor or kontakt instruments, I can choose to put all the params I'm interested in into the first 32 slots, but a lot of vsts put crucial parameters in early slots anyway..... And I'm hoping it's cheaper on cpu to send array[32]s around than array[1000]s.....
Then I can assign a param to a fader with a two mouse clicks while I'm playing (once HH is able to update the paramname output, that is....)
The text string to go with the value would be nice..... in a perfect world
c
Too bad, I would love to have it as an input to the caption field on a usine fader. Few vsts have a touch friendly interface.....
I've created a bank of 8 faders that can be used to control any of the first 32 parameters of any of the vsts in my mixer. Since most are reaktor or kontakt instruments, I can choose to put all the params I'm interested in into the first 32 slots, but a lot of vsts put crucial parameters in early slots anyway..... And I'm hoping it's cheaper on cpu to send array[32]s around than array[1000]s.....
Then I can assign a param to a fader with a two mouse clicks while I'm playing (once HH is able to update the paramname output, that is....)
The text string to go with the value would be nice..... in a perfect world
c
Custom Ryzen 5900x MATX build, Win10, Fireface UFX, touchscreen
Custom 2 manual midi keyboard
Usine, Kontakt, Reaktor, Synthmaster, Byome, Arturia, Soundtoys, Unify
Custom 2 manual midi keyboard
Usine, Kontakt, Reaktor, Synthmaster, Byome, Arturia, Soundtoys, Unify
Thanks for the further clarification Martin.
The main reason this came up for me was while adding controls to some non-GUI plugins I noticed inconsistencies between fader values and what's displayed in the settings (and as the only reference point, was pulling my hair out looking for ways to compensate!), but I eventually noticed the values were actually tracking correctly internally despite what was displayed.
In the process I came across a better example of the issue though, and am still not clear whether it falls under what you've described: With a GUI plugin, the settings panel tracks values perfectly when adjusted in the GUI, but not when adjusted by a fader (though like I said, the internal values are still correct).
Is it possible there's something buggy about how Usine is rendering the string, or is this still just the nature of the vst 2.4 'beast'?

The main reason this came up for me was while adding controls to some non-GUI plugins I noticed inconsistencies between fader values and what's displayed in the settings (and as the only reference point, was pulling my hair out looking for ways to compensate!), but I eventually noticed the values were actually tracking correctly internally despite what was displayed.
In the process I came across a better example of the issue though, and am still not clear whether it falls under what you've described: With a GUI plugin, the settings panel tracks values perfectly when adjusted in the GUI, but not when adjusted by a fader (though like I said, the internal values are still correct).
Is it possible there's something buggy about how Usine is rendering the string, or is this still just the nature of the vst 2.4 'beast'?

-
martignasse
- Site Admin
- Posts: 611
- Location: Lyon, FRANCE
- Contact:
hey, good findCREDO wrote:In the process I came across a better example of the issue though, and am still not clear whether it falls under what you've described: With a GUI plugin, the settings panel tracks values perfectly when adjusted in the GUI, but not when adjusted by a fader (though like I said, the internal values are still correct).
this case confirm what you supposed in your bug report,
sorry if it was closed shortly, but we tend to be very suspicious about the way some plugs follow the vst specifications and it's easy to loose precious time because of that.
but now it's more clear, it look like a problem on my side, i'll reopen the [report #31] to put my investigations result.
thanks again
Martin FLEURENT - Usine Developer - SDK maintainer
Who is online
Users browsing this forum: No registered users and 126 guests
