NEW! Customizable Skin for Plug-n-Script by Letimix

Official support for: bluecataudio.com
User avatar
KVRer
6 posts since 1 Jul, 2009

Post Tue Mar 03, 2020 7:02 am

This has renewed my interest in plugnscript. Can I "easily make my own custom knobs , sliders and meters with this ?

KVRist

Topic Starter

278 posts since 28 May, 2011

Post Wed Mar 04, 2020 10:58 am

Yes, there's a built in engine for knobs, sliders and meters.

For example if you write
<LMR_TPL_KNOB param_id="..." color="#272727" size="80" /> you'll get a knob of specified color and size.

There are some pre-defined knobs in the "/LetiMix/controls/LMR_Knobs.inc" that you can use and modify (the same with sliders, meters).

If you open "Skin scanner" you'll see what elements are defined in the skin. Here I filtered them to show only "LMR_" knobs that are rendered inside the skin.
custom_items.gif
Hopefully in the next version of skin there'll be a tool to make custom controls even faster.
You do not have the required permissions to view the files attached to this post.

KVRer
1 posts since 20 Apr, 2019

Post Sat Mar 14, 2020 9:13 am

What would it take to incorporate this into all of the Blue Cat Audio plugins? I want to customize the look of the plugins but the KUIML is a bit daunting.

KVRist

Topic Starter

278 posts since 28 May, 2011

Post Mon Mar 16, 2020 2:15 am

Hey, brebo!
I was doing a bit of experimenting with this, and yes, it's possible. Though for big plugins like Axiom it's very difficult, but I plan to make a demo skin for Flanger maybe.

User avatar
KVRAF
4614 posts since 8 Sep, 2004 from Paris (France)

Post Mon Mar 16, 2020 2:28 am

Wow that sounds great! :)

Since the arrival of dynamic KUIML with the KUIML_WIDGET element, we indeed have plans for a "generic" KUIML meta-editor but that's a lot of work.

@ilyaorlov has done a huge job already for Plug'n Script, that's impressive! On complex plug-ins there is indeed much more complexity, but with proper design we could probably implement the appropriate level of customization. The main issue is to keep acceptable performance (you don't want the GUI to load as slowly as a web page!)

KVRist

Topic Starter

278 posts since 28 May, 2011

Post Mon Mar 23, 2020 7:38 am

A new video covers the customization of meters, toolbar and statusbar.
https://youtu.be/N6yj0RrMzEI

KVRist

Topic Starter

278 posts since 28 May, 2011

Post Thu Apr 23, 2020 4:36 am

Cool feature for the upcoming Letimix Skin update: auto-reload your script when you change it.
You do not have the required permissions to view the files attached to this post.

User avatar
KVRAF
4614 posts since 8 Sep, 2004 from Paris (France)

Post Thu Apr 23, 2020 4:55 am

Nice! Did you do it with a timer to check file date?

KVRist

Topic Starter

278 posts since 28 May, 2011

Post Thu Apr 23, 2020 4:57 am

I did it with 0.5 sec timer and loading all content into string and comparing with previous. AngelScript cannot read file date :)

User avatar
KVRAF
4614 posts since 8 Sep, 2004 from Paris (France)

Post Thu Apr 23, 2020 7:43 am

This might become a bit CPU intensive when the skin gets larger!

KVRist

Topic Starter

278 posts since 28 May, 2011

Post Thu Apr 23, 2020 8:35 am

It sure can be, but as long as I test it, it seems ok on my machine, and it's a huge timesaver and workflow improvement. And it's easy to turn off and on when needed. And it also suspends reloading on errors.

KVRist

Topic Starter

278 posts since 28 May, 2011

Post Thu Apr 23, 2020 9:05 am

brebo wrote:
Sat Mar 14, 2020 9:13 am
What would it take to incorporate this into all of the Blue Cat Audio plugins? I want to customize the look of the plugins but the KUIML is a bit daunting.
Actually, I've tried to use this skin for Blue Cat's Gain 3 plugin. You can check it out here:
viewtopic.php?f=52&t=536727&p=7738310#p7738310
You do not have the required permissions to view the files attached to this post.

KVRist

Topic Starter

278 posts since 28 May, 2011

Post Tue Apr 28, 2020 2:18 am

Customizing knobs for the plugin is now just a pleasure. The "Custom controls generator" tool for the next Letimix Skin update + "Auto-reload script" feature to view changes immediately.
You do not have the required permissions to view the files attached to this post.

KVRist

Topic Starter

278 posts since 28 May, 2011

Post Thu Jun 04, 2020 4:57 am

Cool fresh features for Export window:

1) Full-on optimization reduces already small skin size (cause only required files are copied) even further!
no_optim.png
after_optimization.png
in this example skin file flattened and stripped from 422 kb to 229 kb without losing any functionality.

This is done by removing blocks of code not required for export (marked as /* NO_EXPORT */ or <!-- NO_EXPORT -->), detecting and removing unused TEMPLATES and DEFINES, detecting and removing unused classes and functions in scripts, and optionally removing all comments and spaces/newlines (which gives a huge size reduction and makes KUIML code almost obfuscated).

static.png
2) Option to "make body static" means including script custom .kuiml body in main .xml file (instead of dynamically loading it via KUIML_WIDGET). This makes skin load faster and removes possible "resize" after loading main skin (and later loading body subskin). Also good for hosts not supporting VST2 resize.

flatten.png
3) Option to "flatten" skin tries to include other files and scripts into single .xml file, which can lead to a skin consisting of a single file! (Which is practically achievable is you don't use external graphics and fonts).

run_app.gif
4) Option to auto run selected application after successful build. So with a single click you build your plugin and open it in VST Plugin Analyzer or PatchWork.
You do not have the required permissions to view the files attached to this post.

User avatar
KVRAF
4614 posts since 8 Sep, 2004 from Paris (France)

Post Thu Jun 04, 2020 8:22 am

Very nice!

Return to “Blue Cat Audio”